diff options
author | lloyd <[email protected]> | 2006-09-02 21:16:41 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2006-09-02 21:16:41 +0000 |
commit | 4252712a7648055045c380d3d0948ea6f03f05b6 (patch) | |
tree | 8dc0b02132e9569e0bfc3335559f4c332b40def4 /modules/alg_ia32 | |
parent | cc1d7c0010f9e3437813f50b618153c4d3fa29f3 (diff) |
Remove explicit alignment settings before the loops; the loop macro
already sets alignment.
Change the core multiply/add macro a bit; probably not any faster, but
a bit cleaner.
Diffstat (limited to 'modules/alg_ia32')
-rw-r--r-- | modules/alg_ia32/mp_muladd.S | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/modules/alg_ia32/mp_muladd.S b/modules/alg_ia32/mp_muladd.S index 1b01dce08..cba82a23c 100644 --- a/modules/alg_ia32/mp_muladd.S +++ b/modules/alg_ia32/mp_muladd.S @@ -21,14 +21,12 @@ START_FUNCTION(bigint_mul_add_words) ASSIGN(EAX, ARRAY4(EBX, N)) ; \ MUL(EBP) ; \ ADD_W_CARRY(EAX, EDX, EDI) ; \ - ADD_W_CARRY(EAX, EDX, ARRAY4(ECX, N)) ; \ - ASSIGN(ARRAY4(ECX, N), EAX) ; \ - ASSIGN(EDI, EDX) ; + ASSIGN(EDI, EDX) ; \ + ADD_W_CARRY(ARRAY4(ECX, N), EDI, EAX) ; JUMP_IF_ZERO(ESI, .MUL_ADD_DONE) JUMP_IF_LT(ESI, 8, .MULADD1_LOOP) - ALIGN START_LOOP(.MULADD8) MULADD_OP(0) MULADD_OP(1) @@ -46,7 +44,6 @@ LOOP_UNTIL_LT(ESI, 8, .MULADD8) JUMP_IF_ZERO(ESI, .MUL_ADD_DONE) - ALIGN START_LOOP(.MULADD1) MULADD_OP(0) |