/netbsd/external/lgpl3/gmp/dist/mpz/ |
H A D | aorsmul.c | 53 mp_size_t xsize, ysize, tsize, wsize, wsize_signed; in mpz_aorsmul() local 60 ysize = SIZ(y); in mpz_aorsmul() 61 if (xsize == 0 || ysize == 0) in mpz_aorsmul() 65 if (ABS(ysize) > ABS(xsize)) in mpz_aorsmul() 68 MP_SIZE_T_SWAP (xsize, ysize); in mpz_aorsmul() 71 sub ^= ysize; in mpz_aorsmul() 72 ysize = ABS(ysize); in mpz_aorsmul() 75 if (ysize == 1) in mpz_aorsmul() 88 tsize = xsize + ysize; in mpz_aorsmul() 95 high = mpn_mul (wp, PTR(x),xsize, PTR(y),ysize); in mpz_aorsmul() [all …]
|
H A D | fib_ui.c | 88 mp_size_t xsize, ysize; in mpz_fib_ui() local 96 ysize = size + yp[size]; in mpz_fib_ui() 107 ysize = size + c2; in mpz_fib_ui() 110 size = xsize + ysize; in mpz_fib_ui() 111 c = mpn_mul (fp, xp, xsize, yp, ysize); in mpz_fib_ui() 135 mp_size_t xsize, ysize; in mpz_fib_ui() local 144 ysize = size + (c != 0); in mpz_fib_ui() 145 size += ysize; in mpz_fib_ui() 146 c = mpn_mul (fp, yp, ysize, xp, xsize); in mpz_fib_ui()
|
H A D | lucnum_ui.c | 95 mp_size_t yalloc, ysize; in mpz_lucnum_ui() local 107 ysize = xsize; in mpz_lucnum_ui() 108 ysize -= (yp[ysize-1] == 0); in mpz_lucnum_ui() 109 ASSERT (yp[ysize-1] != 0); in mpz_lucnum_ui() 123 ASSERT (lalloc >= xsize + ysize); in mpz_lucnum_ui() 124 c = mpn_mul (lp, xp, xsize, yp, ysize); in mpz_lucnum_ui() 125 lsize = xsize + ysize; in mpz_lucnum_ui()
|
/netbsd/external/lgpl3/mpfr/dist/src/ |
H A D | strtofr.c | 460 mp_size_t ysize, real_ysize, diff_ysize; in parsed_string_to_mpfr() local 489 ysize = MPFR_PREC2LIMBS (prec); in parsed_string_to_mpfr() 574 diff_ysize = ysize - real_ysize; in parsed_string_to_mpfr() 694 mpn_mul_n (result, y, z, ysize); in parsed_string_to_mpfr() 717 mpn_lshift (r, r, ysize + 1, 1); in parsed_string_to_mpfr() 725 result += ysize; in parsed_string_to_mpfr() 738 MPN_ZERO (y0, ysize); in parsed_string_to_mpfr() 747 z = result + 2*ysize + 1; in parsed_string_to_mpfr() 796 2 * ysize, z, ysize); in parsed_string_to_mpfr() 846 mp_limb_t *r = result + ysize; in parsed_string_to_mpfr() [all …]
|
H A D | mpfr-gmp.h | 154 #define MPN_OVERLAP_P(xp, xsize, yp, ysize) \ 155 ((xp) + (xsize) > (yp) && (yp) + (ysize) > (xp))
|
/netbsd/sys/arch/atari/vme/ |
H A D | leo.c | 275 leo_init(struct leo_softc *sc, int ysize) in leo_init() argument 278 if ((ysize != 256) && (ysize != 384) && (ysize != 512)) in leo_init() 283 if (ysize == 384) in leo_init() 288 if (ysize == 384) in leo_init() 293 if (ysize == 384) in leo_init() 302 if (ysize == 256) { in leo_init() 307 } else if (ysize == 384) { in leo_init() 321 if (ysize == 384) in leo_init()
|
/netbsd/external/gpl3/gcc/dist/gcc/ |
H A D | alias.c | 2430 return maybe_gt (maybe_lt (ysize, 0) ? -ysize : ysize, -c); in offset_overlap_p() 2512 y = addr_side_effect_eval (y, maybe_lt (ysize, 0) ? -ysize : ysize, 0); in memrefs_conflict_p() 2630 || !can_div_trunc_p (ysize, c1, &ysize) in memrefs_conflict_p() 2659 ysize, y, c); in memrefs_conflict_p() 2668 if (maybe_gt (ysize, 0)) in memrefs_conflict_p() 2669 ysize = -ysize; in memrefs_conflict_p() 2670 if (maybe_ne (ysize, 0)) in memrefs_conflict_p() 2671 ysize += sc + 1; in memrefs_conflict_p() 2694 ysize, y, c); in memrefs_conflict_p() 2706 || maybe_lt (ysize, 0) in memrefs_conflict_p() [all …]
|
H A D | alias.cc | 2460 return maybe_gt (maybe_lt (ysize, 0) ? -ysize : ysize, -c); in offset_overlap_p() 2542 y = addr_side_effect_eval (y, maybe_lt (ysize, 0) ? -ysize : ysize, 0); in memrefs_conflict_p() 2661 || !can_div_trunc_p (ysize, c1, &ysize) in memrefs_conflict_p() 2690 ysize, y, c); in memrefs_conflict_p() 2699 if (maybe_gt (ysize, 0)) in memrefs_conflict_p() 2700 ysize = -ysize; in memrefs_conflict_p() 2701 if (maybe_ne (ysize, 0)) in memrefs_conflict_p() 2702 ysize += sc + 1; in memrefs_conflict_p() 2725 ysize, y, c); in memrefs_conflict_p() 2737 || maybe_lt (ysize, 0) in memrefs_conflict_p() [all …]
|
/netbsd/external/gpl3/gcc.old/dist/gcc/ |
H A D | alias.c | 2430 return maybe_gt (maybe_lt (ysize, 0) ? -ysize : ysize, -c); in offset_overlap_p() 2512 y = addr_side_effect_eval (y, maybe_lt (ysize, 0) ? -ysize : ysize, 0); in memrefs_conflict_p() 2630 || !can_div_trunc_p (ysize, c1, &ysize) in memrefs_conflict_p() 2659 ysize, y, c); in memrefs_conflict_p() 2668 if (maybe_gt (ysize, 0)) in memrefs_conflict_p() 2669 ysize = -ysize; in memrefs_conflict_p() 2670 if (maybe_ne (ysize, 0)) in memrefs_conflict_p() 2671 ysize += sc + 1; in memrefs_conflict_p() 2694 ysize, y, c); in memrefs_conflict_p() 2706 || maybe_lt (ysize, 0) in memrefs_conflict_p() [all …]
|
/netbsd/games/larn/ |
H A D | create.c | 319 int tx, ty, xsize, ysize; in treasureroom() local 324 ysize = rnd(3) + 3; in treasureroom() 327 troom(lv, xsize, ysize, tx = tx + rnd(MAXX - 24), ty, rnd(3) + 6); in treasureroom() 329 troom(lv, xsize, ysize, tx, ty, rnd(9)); in treasureroom() 339 troom(int lv, int xsize, int ysize, int tx, int ty, int glyph) in troom() argument 343 for (j = ty - 1; j <= ty + ysize; j++) in troom() 347 for (j = ty; j < ty + ysize; j++) in troom() 352 for (j = ty + 1; j < ty + ysize - 1; j++) in troom() 359 item[i = tx + rund(xsize)][j = ty + (ysize - 1) * rund(2)] = OCLOSEDDOOR; in troom() 363 item[i = tx + (xsize - 1) * rund(2)][j = ty + rund(ysize)] = OCLOSEDDOOR; in troom() [all …]
|
/netbsd/external/lgpl3/gmp/dist/mpn/x86/k6/ |
H A D | mul_basecase.asm | 53 C mp_srcptr yp, mp_size_t ysize); 55 C Calculate xp,xsize multiplied by yp,ysize, storing the result in 56 C wp,xsize+ysize. 396 C PARAM_YSIZE is the outer loop counter, going from -(ysize-1) up to -1, 479 leal (%edi,%edx,4), %ecx C wp adjust for ysize indexing 482 leal 4(%ebx,%edx,4), %ebx C yp adjust for ysize indexing
|
/netbsd/external/lgpl3/gmp/dist/mpn/x86/p6/ |
H A D | mul_basecase.asm | 212 C once (whereas the addmul_1 below is run ysize-1 many times). A call to 283 jz L(done) C if ysize==1 296 C edx ysize-1 305 movl %edx, PARAM_YSIZE C -(ysize-1) 318 C ebp ysize counter, negative 411 C PARAM_YSIZE is the outer loop counter, going from -(ysize-1) up to -1, 498 C ebp ysize counter, negative 504 movl %ebp, PARAM_YSIZE C store incremented ysize counter
|
/netbsd/external/lgpl3/gmp/dist/tests/ |
H A D | refmpz.c | 48 mp_size_t xsize, ysize, tsize; in refmpz_hamdist() local 57 ysize = ABSIZ(y); in refmpz_hamdist() 58 tsize = MAX (xsize, ysize); in refmpz_hamdist() 66 refmpn_copy (yp, PTR(y), ysize); in refmpz_hamdist()
|
H A D | refmpn.c | 51 ASSERT (ysize >= 0); in byte_overlap_p() 55 ASSERT (yp+ysize >= yp); in byte_overlap_p() 60 if (yp + ysize <= xp) in byte_overlap_p() 71 yp, ysize * GMP_LIMB_BYTES); in refmpn_overlap_p() 371 ASSERT_MPN (yp, ysize); in refmpn_cmp_twosizes() 373 opp = (xsize < ysize); in refmpn_cmp_twosizes() 377 if (! refmpn_zero_p (xp+ysize, xsize-ysize)) in refmpn_cmp_twosizes() 2134 ASSERT (ysize >= 1); in refmpn_gcd() 2135 ASSERT (xsize >= ysize); in refmpn_gcd() 2143 if (xsize == ysize) in refmpn_gcd() [all …]
|
/netbsd/external/lgpl3/gmp/dist/tests/mpz/ |
H A D | logic.c | 34 mp_size_t xsize, ysize; in main() local 110 ysize = mpz_get_ui (bs); in main() 111 mpz_rrandomb (y, rands, ysize); in main()
|
/netbsd/external/lgpl3/gmp/dist/mpn/x86/k7/ |
H A D | mul_basecase.asm | 209 C (whereas the addmul below is run ysize-1 many times). A call to the 301 C edx ysize-1 311 movl %edx, PARAM_YSIZE C -(ysize-1) 324 C ebp ysize counter, negative 405 C PARAM_YSIZE is the outer loop counter, going from -(ysize-1) up to -1,
|
/netbsd/external/lgpl3/gmp/dist/mpn/x86/ |
H A D | mul_basecase.asm | 90 decl %ecx C If xsize = 1, ysize = 1 too 119 movl PARAM_YSIZE,%eax C ysize 122 movl %eax,VAR_COUNTER C set index i to ysize
|
/netbsd/sys/arch/arc/arc/ |
H A D | arcbios.c | 293 bios_display_info(int *xpos, int *ypos, int *xsize, int *ysize) in bios_display_info() argument 299 *ysize = arc_displayinfo.CursorMaxYPosition; in bios_display_info()
|
/netbsd/external/lgpl3/gmp/dist/mpn/x86/pentium/ |
H A D | mul_basecase.asm | 67 decl %ecx C If xsize = 1, ysize = 1 too 95 movl %eax,VAR_COUNTER C set index i to ysize
|
/netbsd/sys/external/bsd/drm2/dist/drm/i915/display/ |
H A D | intel_tv.c | 1099 int xsize, ysize, xpos, ypos; in intel_tv_get_config() local 1148 ysize = tmp & 0xffff; in intel_tv_get_config() 1158 ypos, mode.vdisplay - ysize - ypos); in intel_tv_get_config() 1437 unsigned int xsize, ysize; in intel_tv_pre_enable() local 1544 ysize = intel_tv_mode_vdisplay(tv_mode); in intel_tv_pre_enable() 1550 ysize -= (tv_conn_state->margins.top + in intel_tv_pre_enable() 1553 I915_WRITE(TV_WIN_SIZE, (xsize<<16)|ysize); in intel_tv_pre_enable()
|
/netbsd/external/lgpl3/gmp/lib/libgmp/arch/coldfire/ |
H A D | gmp.h | 1838 #define __GMPN_AORS(cout, wp, xp, xsize, yp, ysize, FUNCTION, TEST) \ argument 1848 __gmp_i = (ysize); \ 1872 #define __GMPN_ADD(cout, wp, xp, xsize, yp, ysize) \ argument 1873 __GMPN_AORS (cout, wp, xp, xsize, yp, ysize, mpn_add_n, \ 1875 #define __GMPN_SUB(cout, wp, xp, xsize, yp, ysize) \ argument 1876 __GMPN_AORS (cout, wp, xp, xsize, yp, ysize, mpn_sub_n, \
|
/netbsd/external/lgpl3/gmp/lib/libgmp/arch/or1k/ |
H A D | gmp.h | 1838 #define __GMPN_AORS(cout, wp, xp, xsize, yp, ysize, FUNCTION, TEST) \ argument 1848 __gmp_i = (ysize); \ 1872 #define __GMPN_ADD(cout, wp, xp, xsize, yp, ysize) \ argument 1873 __GMPN_AORS (cout, wp, xp, xsize, yp, ysize, mpn_add_n, \ 1875 #define __GMPN_SUB(cout, wp, xp, xsize, yp, ysize) \ argument 1876 __GMPN_AORS (cout, wp, xp, xsize, yp, ysize, mpn_sub_n, \
|
/netbsd/external/lgpl3/gmp/dist/ |
H A D | gmp-impl.h | 503 #define TMP_ALLOC_LIMBS_2(xp,xsize, yp,ysize) \ argument 508 (yp) = TMP_ALLOC_LIMBS (ysize); \ 512 (xp) = TMP_ALLOC_LIMBS ((xsize) + (ysize)); \ 516 #define TMP_ALLOC_LIMBS_3(xp,xsize, yp,ysize, zp,zsize) \ argument 521 (yp) = TMP_ALLOC_LIMBS (ysize); \ 526 (xp) = TMP_ALLOC_LIMBS ((xsize) + (ysize) + (zsize)); \ 528 (zp) = (yp) + (ysize); \ 2391 #define MPN_OVERLAP_P(xp, xsize, yp, ysize) \ argument 2392 ((xp) + (xsize) > (yp) && (yp) + (ysize) > (xp)) 2393 #define MEM_OVERLAP_P(xp, xsize, yp, ysize) \ argument [all …]
|
/netbsd/external/lgpl3/gmp/lib/libgmp/arch/alpha/ |
H A D | gmp.h | 1921 #define __GMPN_AORS(cout, wp, xp, xsize, yp, ysize, FUNCTION, TEST) \ argument 1931 __gmp_i = (ysize); \ 1955 #define __GMPN_ADD(cout, wp, xp, xsize, yp, ysize) \ argument 1956 __GMPN_AORS (cout, wp, xp, xsize, yp, ysize, mpn_add_n, \ 1958 #define __GMPN_SUB(cout, wp, xp, xsize, yp, ysize) \ argument 1959 __GMPN_AORS (cout, wp, xp, xsize, yp, ysize, mpn_sub_n, \
|
/netbsd/external/lgpl3/gmp/lib/libgmp/arch/arm/ |
H A D | gmp.h | 1921 #define __GMPN_AORS(cout, wp, xp, xsize, yp, ysize, FUNCTION, TEST) \ argument 1931 __gmp_i = (ysize); \ 1955 #define __GMPN_ADD(cout, wp, xp, xsize, yp, ysize) \ argument 1956 __GMPN_AORS (cout, wp, xp, xsize, yp, ysize, mpn_add_n, \ 1958 #define __GMPN_SUB(cout, wp, xp, xsize, yp, ysize) \ argument 1959 __GMPN_AORS (cout, wp, xp, xsize, yp, ysize, mpn_sub_n, \
|