Searched refs:rsize (Results 1 - 25 of 38) sorted by relevance

12

/haiku-buildtools/gcc/gmp/mpf/
H A Dmul.c60 mp_size_t rsize; local
65 rsize = usize + vsize;
66 tp = TMP_ALLOC_LIMBS (rsize);
72 rsize -= adj;
74 if (rsize > prec)
76 tp += rsize - prec;
77 rsize = prec;
80 MPN_COPY (rp, tp, rsize);
82 r->_mp_size = sign_product >= 0 ? rsize : -rsize;
[all...]
H A Dsqrt_ui.c62 mp_size_t rsize, zeros; local
78 rsize = zeros + 1 + U2;
80 tp = TMP_ALLOC_LIMBS (rsize);
89 rsize -= (uhigh == 0);
93 mpn_sqrtrem (r->_mp_d, NULL, tp, rsize);
H A Ddiv.c50 mp_size_t usize, vsize, rsize, prospective_rsize, tsize, zeros; local
81 rsize = prec + 1; /* desired quot */
83 zeros = rsize - prospective_rsize; /* padding u to give rsize */
115 ASSERT (usize-vsize+1 == rsize);
119 high_zero = (rp[rsize-1] == 0);
120 rsize -= high_zero;
123 SIZ(r) = sign_quotient >= 0 ? rsize : -rsize;
H A Dui_div.c33 mp_size_t rsize, prospective_rsize, zeros, tsize, high_zero; local
61 rsize = prec + 1; /* desired quot size */
63 zeros = rsize - prospective_rsize; /* padding u to give rsize */
97 /* tsize-vsize+1 == rsize, so tsize >= rsize. rsize == prec+1 >= 2,
106 ASSERT (tsize-vsize+1 == rsize);
110 high_zero = (rp[rsize-1] == 0);
111 rsize
[all...]
H A Dsub.c29 mp_size_t usize, vsize, rsize; local
121 rsize = vsize;
207 rsize = size + 1;
218 rsize = vsize;
221 tp[rsize] = 1;
222 rsize++;
235 rsize = usize;
248 rsize = vsize;
252 tp[rsize] = 1;
253 rsize
[all...]
H A Dui_sub.c29 mp_size_t usize, vsize, rsize; local
150 rsize = usize;
161 rsize = usize;
173 rsize = vsize;
204 rsize = usize;
218 rsize = usize;
236 rsize = vsize;
248 rsize = vsize;
260 rsize = usize;
266 rsize
[all...]
H A Ddiv_ui.c31 mp_size_t rsize, tsize; local
94 rsize = tsize - (q_limb == 0);
96 r->_mp_size = sign_quotient >= 0 ? rsize : -rsize;
H A Dadd.c28 mp_size_t usize, vsize, rsize; local
120 rsize = usize;
138 rsize = usize;
148 rsize = vsize + ediff;
161 rsize = size + usize;
164 MPN_COPY (rp, tp, rsize);
165 rp[rsize] = cy;
166 rsize += cy;
170 r->_mp_size = negate ? -rsize : rsize;
[all...]
/haiku-buildtools/gcc/gmp/mpz/
H A Dbin_uiui.c36 ASSERT (rsize <= ralloc); \
38 if (rsize == ralloc) \
45 rp[rsize] = mpn_mul_1 (rp, rp, rsize, nacc); \
46 MPN_DIVREM_OR_DIVEXACT_1 (rp, rp, rsize+1, kacc); \
47 rsize += (rp[rsize] != 0); \
57 mp_size_t rsize, ralloc; local
82 rsize = 1;
121 SIZ(r) = rsize;
[all...]
H A Dn_pow_ui.c154 mp_size_t rtwos_limbs, ralloc, rsize; local
376 rsize = 1;
379 rsize += (rl_high != 0);
381 ASSERT (rp[rsize-1] != 0);
427 rsize = 2;
434 TRACE (printf ("mul_2 loop i=%d e=0x%lX, rsize=%ld ralloc=%ld talloc=%ld\n",
435 i, e, rsize, ralloc, talloc);
436 mpn_trace ("r", rp, rsize));
438 MPN_SQR (tp, talloc, rp, rsize);
441 MPN_MUL_2 (rp, rsize, rallo
[all...]
/haiku-buildtools/gcc/mpfr/src/
H A Dsqrt.c28 mp_size_t rsize; /* number of limbs of r (plus 1 if exact limb multiple) */ local
90 rsize = MPFR_LIMB_SIZE(r) + (sh == GMP_NUMB_BITS);
91 /* rsize is the number of limbs of r + 1 if exact limb multiple and rounding
93 rrsize = rsize + rsize;
96 rp = (sh < GMP_NUMB_BITS) ? rp0 : MPFR_TMP_LIMBS_ALLOC (rsize);
211 rsize --;
214 if (mpn_add_1 (rp0, rp, rsize, MPFR_LIMB_ONE << sh))
217 rp[rsize - 1] = MPFR_LIMB_HIGHBIT;
223 MPN_COPY (rp0, rp + 1, rsize
[all...]
/haiku-buildtools/gcc/gmp/tests/devel/
H A Ddivrem.c74 mp_size_t nsize, dsize, qsize, rsize, psize; local
95 rsize = dsize;
112 cy = mpn_add (pptr, pptr, psize, rptr, rsize);
/haiku-buildtools/gcc/gmp/demos/
H A Dprimes.c208 unsigned long rsize; local
209 rsize = S;
210 mpz_add_ui (tmp, fr2, rsize);
214 rsize = mpz_get_ui (tmp) + 2;
218 printf (","); mpz_add_ui (tmp, fr2, rsize - 2);
221 sieve_region (s, fr2, rsize);
222 find_primes (s, fr2, rsize / 2, siev_sqr_lim);
237 /* Find primes in region [fr,fr+rsize). Requires that fr is odd and that
238 rsize is even. The sieving array s should be aligned for "long int" and
239 have rsize/
241 sieve_region(unsigned char *s, mpz_t fr, unsigned long rsize) argument
[all...]
/haiku-buildtools/gcc/libgcc/soft-fp/
H A Dop-common.h1397 0: the number is required to be 0..(2^rsize)-1, if not, NV is set plus
1398 the result is either 0 or (2^rsize)-1 depending on the sign in such
1400 1: the number is required to be -(2^(rsize-1))..(2^(rsize-1))-1, if not,
1401 NV is set plus the result is either -(2^(rsize-1)) or (2^(rsize-1))-1
1403 2: the number is required to be -(2^(rsize-1))..(2^(rsize-1))-1, if not,
1404 NV is set plus the result is reduced modulo 2^rsize.
1405 -1: the number is required to be -(2^(rsize
[all...]
H A Dop-4.h798 /* Put the FP value X into r, which is an integer of size rsize. */
799 #define _FP_FRAC_ASSEMBLE_4(r, X, rsize) \
802 if ((rsize) <= _FP_W_TYPE_SIZE) \
804 else if ((rsize) <= 2*_FP_W_TYPE_SIZE) \
807 (r) = ((rsize) <= _FP_W_TYPE_SIZE \
817 (r) = ((rsize) <= _FP_W_TYPE_SIZE \
821 (r) = ((rsize) <= _FP_W_TYPE_SIZE \
825 (r) = ((rsize) <= _FP_W_TYPE_SIZE \
834 /* Move an integer of size rsize into X's fractional part. We rely on
837 #define _FP_FRAC_DISASSEMBLE_4(X, r, rsize) \
[all...]
H A Dop-1.h358 #define _FP_FRAC_ASSEMBLE_1(r, X, rsize) ((r) = X##_f)
359 #define _FP_FRAC_DISASSEMBLE_1(X, r, rsize) (X##_f = (r))
H A Dop-2.h674 #define _FP_FRAC_ASSEMBLE_2(r, X, rsize) \
675 (void) (((rsize) <= _FP_W_TYPE_SIZE) \
683 #define _FP_FRAC_DISASSEMBLE_2(X, r, rsize) \
687 X##_f1 = ((rsize) <= _FP_W_TYPE_SIZE \
/haiku-buildtools/binutils/binutils/
H A Dod-xcoff.c948 unsigned char rsize; local
956 rsize = bfd_h_get_8 (abfd, rel.r_size);
959 rsize & 0x80 ? 'S' : 'U',
960 rsize & 0x40 ? 'm' : ' ',
961 (rsize & 0x3f) + 1);
1133 unsigned int rsize; local
1137 rsize = bfd_h_get_8 (abfd, ldrel->l_rtype + 0);
1143 rsize & 0x80 ? 'S' : 'U',
1144 rsize & 0x40 ? 'm' : ' ',
1145 (rsize
[all...]
/haiku-buildtools/legacy/gcc/gcc/config/i960/
H A Di960.c1342 int rsize = 0;
1426 rsize = (n_iregs * 4);
1427 actual_fsize = compute_frame_size (size) + rsize;
1451 offset = 64 + actual_fsize - compute_frame_size (0) - rsize;
1488 if (actual_fsize == 0 && size == 0 && rsize == 0)
1496 if (rsize)
1498 n_iregs, rsize);
1336 int rsize = 0; local
/haiku-buildtools/gcc/gcc/config/visium/
H A Dvisium.c1519 HOST_WIDE_INT size, rsize; local
1543 rsize = (size + UNITS_PER_WORD - 1) & -UNITS_PER_WORD;
1568 1: if (bytes >= rsize)
1571 4: bytes -= rsize;
1577 10: ovfl += rsize;
1592 /* [1] Emit code to branch if bytes < rsize. */
1593 t = fold_convert (TREE_TYPE (bytes), size_int (rsize));
1614 /* [4] Emit code for: bytes -= rsize. */
1615 t = fold_convert (TREE_TYPE (bytes), size_int (rsize));
1636 /* [10] Emit code for: ovfl += rsize
[all...]
/haiku-buildtools/gcc/gcc/
H A Dtree-ssa-math-opts.c2168 unsigned HOST_WIDE_INT rsize; local
2171 for (tmpn = n->n, rsize = 0; tmpn; tmpn >>= BITS_PER_MARKER, rsize++);
2172 if (BYTES_BIG_ENDIAN && n->range != rsize)
2176 n->range = rsize;
/haiku-buildtools/gcc/gcc/config/tilegx/
H A Dtilegx.c496 HOST_WIDE_INT size, rsize;
519 rsize = ((size + UNITS_PER_WORD - 1) / UNITS_PER_WORD) * UNITS_PER_WORD;
540 tmp = fold_build_pointer_plus_hwi (unshare_expr (args), rsize);
552 if (BYTES_BIG_ENDIAN && rsize > size)
553 tmp = fold_build_pointer_plus_hwi (tmp, rsize - size);
558 if (BYTES_BIG_ENDIAN && rsize > size)
561 tmp = fold_build_pointer_plus_hwi (addr, rsize);
494 HOST_WIDE_INT size, rsize; local
/haiku-buildtools/gcc/gcc/config/mep/
H A Dmep.c2906 int rsize;
2918 rsize = mep_reg_size(r);
2919 skip = rss - (sp+rsize);
2923 rsize, reg_names[r], sp_offset - rss);
3573 HOST_WIDE_INT size, rsize;
3590 rsize = (size + UNITS_PER_WORD - 1) & -UNITS_PER_WORD;
3616 f_next_stack += rsize;
3660 tmp = fold_build_pointer_plus_hwi (unshare_expr (next_stack), rsize);
2898 int rsize; local
3564 HOST_WIDE_INT size, rsize; local
/haiku-buildtools/gcc/gcc/config/tilepro/
H A Dtilepro.c445 HOST_WIDE_INT size, rsize;
468 rsize = ((size + UNITS_PER_WORD - 1) / UNITS_PER_WORD) * UNITS_PER_WORD;
489 tmp = fold_build_pointer_plus_hwi (unshare_expr (args), rsize);
503 tmp = fold_build_pointer_plus_hwi (addr, rsize);
443 HOST_WIDE_INT size, rsize; local
/haiku-buildtools/gcc/gcc/config/sparc/
H A Dsparc.c7522 HOST_WIDE_INT size, rsize, align;
7530 size = rsize = UNITS_PER_WORD;
7537 rsize = (size + UNITS_PER_WORD - 1) & -UNITS_PER_WORD;
7551 size = rsize = UNITS_PER_WORD;
7553 size = rsize;
7571 if (BYTES_BIG_ENDIAN && size < rsize)
7572 addr = fold_build_pointer_plus_hwi (incr, rsize - size);
7587 3, dest_addr, addr, size_int (rsize));
7596 incr = fold_build_pointer_plus_hwi (incr, rsize);
7511 HOST_WIDE_INT size, rsize, align; local

Completed in 401 milliseconds

12