Home
last modified time | relevance | path

Searched refs:cy_limb (Results 1 – 11 of 11) sorted by relevance

/haiku/src/system/libroot/posix/glibc/arch/generic/
H A Dmul_n.c64 mp_limb_t cy_limb; local
76 cy_limb = 0;
79 cy_limb = mpn_mul_1 (prodp, up, size, v_limb);
81 prodp[size] = cy_limb;
91 cy_limb = 0;
93 cy_limb = mpn_add_n (prodp, prodp, up, size);
96 cy_limb = mpn_addmul_1 (prodp, up, size, v_limb);
98 prodp[size] = cy_limb;
129 mp_limb_t cy_limb; local
132 cy_limb = mpn_addmul_1 (prodp + esize, up, esize, vp[esize]);
[all …]
H A Dsubmul_1.c36 register mp_limb_t cy_limb; local
49 cy_limb = 0;
54 prod_low += cy_limb;
55 cy_limb = (prod_low < cy_limb) + prod_high;
59 cy_limb += (prod_low > x);
64 return cy_limb;
H A Daddmul_1.c36 register mp_limb_t cy_limb; local
49 cy_limb = 0;
54 prod_low += cy_limb;
55 cy_limb = (prod_low < cy_limb) + prod_high;
59 cy_limb += (prod_low < x);
64 return cy_limb;
H A Dmul_1.c34 register mp_limb_t cy_limb; local
46 cy_limb = 0;
51 prod_low += cy_limb;
52 cy_limb = (prod_low < cy_limb) + prod_high;
58 return cy_limb;
H A Dmul.c73 mp_limb_t cy_limb; local
88 cy_limb = 0;
91 cy_limb = mpn_mul_1 (prodp, up, usize, v_limb);
93 prodp[usize] = cy_limb;
103 cy_limb = 0;
105 cy_limb = mpn_add_n (prodp, prodp, up, usize);
108 cy_limb = mpn_addmul_1 (prodp, up, usize, v_limb);
110 prodp[usize] = cy_limb;
113 return cy_limb;
H A Ddivrem.c190 mp_limb_t cy_limb; local
230 cy_limb = mpn_submul_1 (np, dp, dsize, q);
232 if (n2 != cy_limb)
/haiku/src/system/libroot/posix/glibc/arch/ppc/
H A Dmul.c73 mp_limb_t cy_limb; local
88 cy_limb = 0;
91 cy_limb = mpn_mul_1 (prodp, up, usize, v_limb);
93 prodp[usize] = cy_limb;
103 cy_limb = 0;
105 cy_limb = mpn_add_n (prodp, prodp, up, usize);
108 cy_limb = mpn_addmul_1 (prodp, up, usize, v_limb);
110 prodp[usize] = cy_limb;
113 return cy_limb;
/haiku/src/system/libroot/posix/glibc/arch/sparc/
H A Dmul_1.S40 mov 0,%o0 ! zero cy_limb
71 addcc %i0,%o0,%i0 ! add cy_limb to low 64 bits of result
77 add %i1,%g5,%o0 ! compute new cy_limb
H A Dsubmul_1.S35 mov 0,%o0 ! zero cy_limb
67 addcc %i0,%o0,%i0 ! add cy_limb to low 64 bits of result
77 add %i1,%g5,%o0 ! compute new cy_limb
H A Daddmul_1.S36 mov 0,%o0 ! zero cy_limb
68 addcc %i0,%o0,%i0 ! add cy_limb to low 64 bits of result
78 add %i1,%g5,%o0 ! compute new cy_limb
/haiku/src/system/libroot/posix/glibc/stdlib/
H A Dgmp.h489 mp_limb_t cy_limb = 0; local
492 cy_limb = mpn_add_n (res_ptr, s1_ptr, s2_ptr, s2_size);
495 cy_limb = mpn_add_1 (res_ptr + s2_size,
498 cy_limb);
499 return cy_limb;
560 mp_limb_t cy_limb = 0; local
563 cy_limb = mpn_sub_n (res_ptr, s1_ptr, s2_ptr, s2_size);
566 cy_limb = mpn_sub_1 (res_ptr + s2_size,
569 cy_limb);
570 return cy_limb;