Home
last modified time | relevance | path

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

/dragonfly/contrib/gmp/mpn/generic/
H A Dtoom33_mul.c87 mp_ptr bs1, bsm1, bs2; in mpn_toom33_mul() local
112 bs2 = pp + 2 * n + 2; in mpn_toom33_mul()
208 cy = mpn_add_n (bs2, b2, bs1, t); in mpn_toom33_mul()
212 cy = 2 * cy + mpn_rsblsh1_n (bs2, b0, bs2, n); in mpn_toom33_mul()
215 cy = mpn_addlsh1_n (bs2, b1, b2, t); in mpn_toom33_mul()
218 cy = 2 * cy + mpn_addlsh1_n (bs2, b0, bs2, n); in mpn_toom33_mul()
220 cy = mpn_add_n (bs2, bs1, b2, t); in mpn_toom33_mul()
224 cy = 2 * cy + mpn_lshift (bs2, bs2, n, 1); in mpn_toom33_mul()
225 cy -= mpn_sub_n (bs2, bs2, b0, n); in mpn_toom33_mul()
228 bs2[n] = cy; in mpn_toom33_mul()
[all …]
H A Dtoom53_mul.c61 mp_ptr bs1, bsm1, bs2, bsm2, bsh; in mpn_toom53_mul() local
92 bs2 = TMP_SALLOC_LIMBS (n + 1); in mpn_toom53_mul()
168 bs2[n] = cy; in mpn_toom53_mul()
171 bs2[n] = mpn_add (bs2, b0, n, gp, t); in mpn_toom53_mul()
172 MPN_INCR_U (bs2 + t, n+1-t, cy); in mpn_toom53_mul()
178 if (mpn_cmp (bs2, gp, n+1) < 0) in mpn_toom53_mul()
180 ASSERT_NOCARRY (mpn_add_n_sub_n (bs2, bsm2, gp, bs2, n+1)); in mpn_toom53_mul()
185 ASSERT_NOCARRY (mpn_add_n_sub_n (bs2, bsm2, bs2, gp, n+1)); in mpn_toom53_mul()
188 if (mpn_cmp (bs2, gp, n+1) < 0) in mpn_toom53_mul()
197 mpn_add_n (bs2, bs2, gp, n+1); in mpn_toom53_mul()
[all …]
H A Dtoom43_mul.c91 #define bs2 (pp + 2 * n + 2) /* n+1 */ in mpn_toom43_mul() macro
117 mpn_add_n_sub_n (bs2, bsm2, b1d, b0b2, n+1); in mpn_toom43_mul()
122 mpn_add_n_sub_n (bs2, bsm2, b0b2, b1d, n+1); in mpn_toom43_mul()
125 mpn_add_n (bs2, b0b2, b1d, n+1); in mpn_toom43_mul()
173 ASSERT (bs2[n] <= 6); in mpn_toom43_mul()
184 mpn_mul_n (v2, as2, bs2, n+1); /* W1 */ in mpn_toom43_mul()
205 #undef bs2 in mpn_toom43_mul()
H A Dtoom52_mul.c94 #define bs2 (pp + 2 * n + 2) /* n+1 */ in mpn_toom52_mul() macro
152 mpn_add (bs2, bs1, n+1, b1, t); in mpn_toom52_mul()
196 ASSERT (bs2[n] <= 2); in mpn_toom52_mul()
207 mpn_mul_n (v2, as2, bs2, n+1); /* W1 */ in mpn_toom52_mul()
228 #undef bs2 in mpn_toom52_mul()
H A Dtoom42_mul.c66 mp_ptr bs1, bsm1, bs2; in mpn_toom42_mul() local
92 bs2 = TMP_SALLOC_LIMBS (n + 1); in mpn_toom42_mul()
164 mpn_add (bs2, bs1, n + 1, b1, t); in mpn_toom42_mul()
171 ASSERT (bs2[n] <= 2); in mpn_toom42_mul()
187 TOOM42_MUL_N_REC (v2, as2, bs2, n + 1, scratch_out); /* v2, 2n+1 limbs */ in mpn_toom42_mul()
H A Dtoom62_mul.c61 mp_ptr bs1, bsm1, bs2, bsm2, bsh; in mpn_toom62_mul() local
93 bs2 = TMP_SALLOC_LIMBS (n + 1); in mpn_toom62_mul()
182 mpn_add (bs2, bs1, n + 1, b1, t); in mpn_toom62_mul()
227 ASSERT (bs2[n] <= 2); in mpn_toom62_mul()
245 mpn_mul_n (v2, as2, bs2, n + 1); /* v2, 2n+1 limbs */ in mpn_toom62_mul()
/dragonfly/contrib/lvm2/dist/libdm/datastruct/
H A Dbitset.h51 #define bit_copy(bs1, bs2) \ argument
52 memcpy(bs1 + 1, bs2 + 1, ((*bs1 / BITS_PER_INT) + 1) * sizeof(int))
/dragonfly/contrib/gdtoa/
H A Dstrtod.c95 int bb2, bb5, bbe, bd2, bd5, bbbits, bs2, c, decpt, dsign, local
597 bs2 = bb2;
600 bs2++;
638 if (i > bs2)
639 i = bs2;
643 bs2 -= i;
657 if (bs2 > 0)
658 bs = lshift(bs, bs2);
H A Dstrtodg.c325 int bb0, bb2, bb5, bbe, bd2, bd5, bbbits, bs2, c, decpt, denorm; local
735 bs2 = bb2;
743 if (i > bs2)
744 i = bs2;
748 bs2 -= i;
765 if (bs2 > 0)
766 bs = lshift(bs, bs2);
/dragonfly/contrib/lvm2/dist/libdm/
H A Dlibdevmapper.h618 #define dm_bit_copy(bs1, bs2) \ argument
619 memcpy(bs1 + 1, bs2 + 1, ((*bs1 / DM_BITS_PER_INT) + 1) * sizeof(int))
/dragonfly/contrib/lvm2/dist/include/
H A Dlibdevmapper.h618 #define dm_bit_copy(bs1, bs2) \ argument
619 memcpy(bs1 + 1, bs2 + 1, ((*bs1 / DM_BITS_PER_INT) + 1) * sizeof(int))