tweek mod_1_1 amd asm to full speed
This commit is contained in:
parent
a7eee56d24
commit
520fec686d
@ -36,10 +36,10 @@ mov %rdx,%rcx
|
||||
sub $2,%rcx
|
||||
ALIGN(16)
|
||||
lp:
|
||||
mov $0,%r11
|
||||
mul %r8
|
||||
mov -8(%rsi,%rcx,8),%r10
|
||||
mul %r8
|
||||
add %rax,%r10
|
||||
mov $0,%r11
|
||||
adc %rdx,%r11
|
||||
mov %r13,%rax
|
||||
mul %r9
|
||||
|
@ -970,12 +970,12 @@ void tune_mod_1_k (gmp_randstate_t rands)
|
||||
one (&mod_1_1_threshold, rands, ¶m);
|
||||
|
||||
param.name = "MOD_1_2_THRESHOLD";
|
||||
param.min_size = mod_1_1_threshold;
|
||||
param.min_size = MAX(mod_1_1_threshold,4);
|
||||
//param.max_size = 1000;
|
||||
one (&mod_1_2_threshold, rands, ¶m);
|
||||
|
||||
param.name = "MOD_1_3_THRESHOLD";
|
||||
param.min_size = mod_1_2_threshold;
|
||||
param.min_size = MAX(mod_1_2_threshold,5);
|
||||
//param.max_size = 10000;
|
||||
one (&mod_1_3_threshold, rands, ¶m);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user