fat bits
This commit is contained in:
parent
996bd50496
commit
b5aef8ffc3
5
TODO
5
TODO
@ -10,6 +10,9 @@ mpn_divrem_1 with qxn=0 now calls mpn_divrem_euclidean_qr_1 always
|
||||
replace all internel calls to mpn_divrem_1 with the new euclidean
|
||||
we could replace mpn_mod_1 as well !!!
|
||||
|
||||
yasm'ify addmul_2.asm and remove x86_defs etc
|
||||
yasm'ify addmul_2.asm
|
||||
and remove x86_defs , why did I think I could delete this , its needed for
|
||||
fat
|
||||
|
||||
|
||||
|
||||
|
@ -64,7 +64,9 @@ define(CPUVEC_FUNCS_LIST,
|
||||
`copyi',
|
||||
`divexact_1',
|
||||
`divexact_by3c',
|
||||
`divexact_byBm1of',
|
||||
`divrem_1',
|
||||
`divrem_euclidean_qr_1',
|
||||
`gcd_1',
|
||||
`lshift',
|
||||
`mod_1',
|
||||
|
@ -49,7 +49,9 @@ define(CPUVEC_FUNCS_LIST,
|
||||
`copyi',
|
||||
`divexact_1',
|
||||
`divexact_by3c',
|
||||
`divexact_byBm1of',
|
||||
`divrem_1',
|
||||
`divrem_euclidean_qr_1',
|
||||
`gcd_1',
|
||||
`lshift',
|
||||
`mod_1',
|
||||
|
@ -145,7 +145,7 @@ check_functions (void)
|
||||
for (i = 0; i < 2; i++)
|
||||
{
|
||||
xp[0] = 578;
|
||||
r = mpn_divexact_byBm1of (wp, xp, (mp_size_t) 1, CNST_LIMB(17));
|
||||
r = mpn_divexact_byBm1of (wp, xp, (mp_size_t) 1, CNST_LIMB(17),CNST_LIMB(-1)/CNST_LIMB(17));
|
||||
ASSERT_ALWAYS (wp[0] == 34);
|
||||
ASSERT_ALWAYS (r == 0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user