Searched refs:ysize (Results 1 - 19 of 19) sorted by relevance

/haiku-buildtools/gcc/gmp/mpz/
H A Daorsmul.c25 #define mpn_cmp_twosizes_lt(xp,xsize, yp,ysize) \
26 ((xsize) < (ysize) \
27 || ((xsize) == (ysize) && mpn_cmp (xp, yp, xsize) < 0))
43 mp_size_t xsize, ysize, tsize, wsize, wsize_signed; local
50 ysize = SIZ(y);
51 if (xsize == 0 || ysize == 0)
55 if (ABS(ysize) > ABS(xsize))
58 MP_SIZE_T_SWAP (xsize, ysize);
61 sub ^= ysize;
62 ysize
[all...]
H A Dfib_ui.c79 mp_size_t xsize, ysize; local
86 ysize = size + (yp[size] != 0);
95 ysize = size + c2;
98 size = xsize + ysize;
99 c = mpn_mul (fp, xp, xsize, yp, ysize);
123 mp_size_t xsize, ysize; local
128 ysize = size + (c != 0);
129 size += ysize;
130 c = mpn_mul (fp, yp, ysize, xp, xsize);
H A Dlucnum_ui.c86 mp_size_t yalloc, ysize; local
98 ysize = xsize;
99 ysize -= (yp[ysize-1] == 0);
100 ASSERT (yp[ysize-1] != 0);
114 ASSERT (lalloc >= xsize + ysize);
115 c = mpn_mul (lp, xp, xsize, yp, ysize);
116 lsize = xsize + ysize;
/haiku-buildtools/gcc/mpfr/src/
H A Dstrtofr.c455 mp_size_t ysize, real_ysize; local
472 ysize = MPFR_PREC2LIMBS (prec);
473 /* prec bits corresponds to ysize limbs */
474 ysize_bits = ysize * GMP_NUMB_BITS;
476 y = MPFR_TMP_LIMBS_ALLOC (2 * ysize + 1);
477 y += ysize; /* y has (ysize+1) allocated limbs */
480 to have at least ysize full limbs.
481 We must have base^(pstr_size-1) >= (2^(GMP_NUMB_BITS))^ysize
483 i.e., pstr_size >= 1 + ysize*GMP_NUMB_BIT
[all...]
H A Dmpfr-gmp.h136 #define MPN_OVERLAP_P(xp, xsize, yp, ysize) \
137 ((xp) + (xsize) > (yp) && (yp) + (ysize) > (xp))
/haiku-buildtools/legacy/gcc/gcc/
H A Dalias.c949 memrefs_conflict_p (xsize, x, ysize, y, c)
951 int xsize, ysize;
965 y = canon_rtx (addr_side_effect_eval (y, ysize, 0));
969 if (xsize <= 0 || ysize <= 0)
973 if (c < 0 && ysize+c > 0)
996 return memrefs_conflict_p (xsize, x0, ysize, y0, c);
998 return memrefs_conflict_p (xsize, x1, ysize, y1, c);
1002 return memrefs_conflict_p (xsize, x0, ysize, y0,
1005 return memrefs_conflict_p (xsize, x0, ysize, y,
1009 return memrefs_conflict_p (xsize, x, ysize, y
[all...]
/haiku-buildtools/gcc/gmp/tests/mpz/
H A Dlogic.c35 mp_size_t xsize, ysize; local
72 ysize = mpz_get_ui (bs);
73 mpz_rrandomb (y, rands, ysize);
/haiku-buildtools/gcc/gcc/
H A Dalias.c2005 offset_overlap_p (HOST_WIDE_INT c, int xsize, int ysize)
2007 return (xsize == 0 || ysize == 0
2010 : (abs (ysize) > -c)));
2040 memrefs_conflict_p (int xsize, rtx x, int ysize, rtx y, HOST_WIDE_INT c)
2091 y = addr_side_effect_eval (y, abs (ysize), 0);
2095 return offset_overlap_p (c, xsize, ysize);
2116 return memrefs_conflict_p (xsize, x0, ysize, y0, c);
2118 return memrefs_conflict_p (xsize, x1, ysize, y1, c);
2122 return memrefs_conflict_p (xsize, x0, ysize, y0,
2125 return memrefs_conflict_p (xsize, x0, ysize,
2003 offset_overlap_p(HOST_WIDE_INT c, int xsize, int ysize) argument
2038 memrefs_conflict_p(int xsize, rtx x, int ysize, rtx y, HOST_WIDE_INT c) argument
[all...]
H A Drtlanal.c3511 HOST_WIDE_INT ysize = GET_MODE_SIZE (ymode);
3512 HOST_WIDE_INT off_low = offset & (ysize - 1);
3513 HOST_WIDE_INT off_high = offset & ~(ysize - 1);
3514 offset = (xsize - ysize - off_high) | off_low;
3485 HOST_WIDE_INT ysize = GET_MODE_SIZE (ymode); local
/haiku-buildtools/gcc/gmp/tests/
H A Drefmpz.c49 mp_size_t xsize, ysize, tsize; local
58 ysize = ABSIZ(y);
59 tsize = MAX (xsize, ysize);
67 refmpn_copy (yp, PTR(y), ysize);
H A Drefmpn.c43 /* Return non-zero if regions {xp,xsize} and {yp,ysize} overlap, with sizes
47 const void *v_yp, mp_size_t ysize)
53 ASSERT (ysize >= 0);
57 ASSERT (yp+ysize >= yp);
62 if (yp + ysize <= xp)
68 /* Return non-zero if limb regions {xp,xsize} and {yp,ysize} overlap. */
70 refmpn_overlap_p (mp_srcptr xp, mp_size_t xsize, mp_srcptr yp, mp_size_t ysize) argument
73 yp, ysize * BYTES_PER_MP_LIMB);
368 mp_srcptr yp, mp_size_t ysize)
373 ASSERT_MPN (yp, ysize);
46 byte_overlap_p(const void *v_xp, mp_size_t xsize, const void *v_yp, mp_size_t ysize) argument
367 refmpn_cmp_twosizes(mp_srcptr xp, mp_size_t xsize, mp_srcptr yp, mp_size_t ysize) argument
1680 refmpn_gcd(mp_ptr gp, mp_ptr xp, mp_size_t xsize, mp_ptr yp, mp_size_t ysize) argument
[all...]
H A Dtests.h228 mp_srcptr yp, mp_size_t ysize));
263 mp_ptr yp, mp_size_t ysize));
/haiku-buildtools/gcc/gmp/mpn/x86/k6/
H A Dmul_basecase.asm42 C mp_srcptr yp, mp_size_t ysize);
44 C Calculate xp,xsize multiplied by yp,ysize, storing the result in
45 C wp,xsize+ysize.
55 C c/l. Could call mpn_mul_1 when ysize is big enough to make it worthwhile.
207 C (whereas the addmul below is run ysize-1 many times). A call to the
293 C edx ysize-1
316 C edx ysize counter, negative
385 C PARAM_YSIZE is the outer loop counter, going from -(ysize-1) up to -1,
422 C edx ysize-1
468 leal (%edi,%edx,4), %ecx C wp adjust for ysize indexin
[all...]
/haiku-buildtools/gcc/gmp/mpn/x86/k7/
H A Dmul_basecase.asm43 C mp_srcptr yp, mp_size_t ysize);
45 C Calculate xp,xsize multiplied by yp,ysize, storing the result in
46 C wp,xsize+ysize.
198 C (whereas the addmul below is run ysize-1 many times). A call to the
290 C edx ysize-1
300 movl %edx, PARAM_YSIZE C -(ysize-1)
313 C ebp ysize counter, negative
394 C PARAM_YSIZE is the outer loop counter, going from -(ysize-1) up to -1,
415 C edx ysize-1
422 leal 4(%eax,%edx,4), %eax C yp adjust for ysize indexin
[all...]
/haiku-buildtools/gcc/gmp/mpn/x86/pentium/
H A Dmul_basecase.asm28 C mp_srcptr yp, mp_size_t ysize);
56 decl %ecx C If xsize = 1, ysize = 1 too
84 movl %eax,VAR_COUNTER C set index i to ysize
/haiku-buildtools/gcc/gmp/mpn/x86/p6/
H A Dmul_basecase.asm37 C mp_srcptr yp, mp_size_t ysize);
201 C once (whereas the addmul_1 below is run ysize-1 many times). A call to
272 jz L(done) C if ysize==1
285 C edx ysize-1
294 movl %edx, PARAM_YSIZE C -(ysize-1)
307 C ebp ysize counter, negative
400 C PARAM_YSIZE is the outer loop counter, going from -(ysize-1) up to -1,
415 C edx ysize-1
423 leal 4(%eax,%edx,4), %eax C yp adjust for ysize indexing
487 C ebp ysize counte
[all...]
/haiku-buildtools/gcc/gmp/mpn/x86/
H A Dmul_basecase.asm35 C mp_srcptr yp, mp_size_t ysize);
80 decl %ecx C If xsize = 1, ysize = 1 too
109 movl PARAM_YSIZE,%eax C ysize
112 movl %eax,VAR_COUNTER C set index i to ysize
/haiku-buildtools/gcc/gmp/
H A Dgmp-h.in1874 {yp,ysize} will usually have a random number of bits then the high limb
1878 ysize==0 isn't a documented feature, but is used internally in a few
1886 #define __GMPN_AORS(cout, wp, xp, xsize, yp, ysize, FUNCTION, TEST) \
1891 /* ASSERT ((ysize) >= 0); */ \
1892 /* ASSERT ((xsize) >= (ysize)); */ \
1894 /* ASSERT (MPN_SAME_OR_SEPARATE2_P (wp, xsize, yp, ysize)); */ \
1896 __gmp_i = (ysize); \
1920 #define __GMPN_ADD(cout, wp, xp, xsize, yp, ysize) \
1921 __GMPN_AORS (cout, wp, xp, xsize, yp, ysize, mpn_add_n, \
1923 #define __GMPN_SUB(cout, wp, xp, xsize, yp, ysize) \
[all...]
H A Dgmp-impl.h460 #define TMP_ALLOC_LIMBS_2(xp,xsize, yp,ysize) \
465 (yp) = TMP_ALLOC_LIMBS (ysize); \
469 (xp) = TMP_ALLOC_LIMBS ((xsize) + (ysize)); \
1947 /* Return non-zero if xp,xsize and yp,ysize overlap.
1948 If xp+xsize<=yp there's no overlap, or if yp+ysize<=xp there's no
1950 #define MPN_OVERLAP_P(xp, xsize, yp, ysize) \
1951 ((xp) + (xsize) > (yp) && (yp) + (ysize) > (xp))
1952 #define MEM_OVERLAP_P(xp, xsize, yp, ysize) \
1954 && (char *) (yp) + (ysize) > (char *) (xp))
1956 /* Return non-zero if xp,xsize and yp,ysize ar
[all...]

Completed in 279 milliseconds