diff options
author | lloyd <[email protected]> | 2006-06-06 14:13:34 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2006-06-06 14:13:34 +0000 |
commit | 151fafd005fc553c26f0ea2e198919af3024c508 (patch) | |
tree | 7e9e5218606c274f6791bf872face625d6cb2ff6 /include/mp_asm.h | |
parent | 537a212258bee02c63348f301c0b2b32f9210648 (diff) |
Use b instead of a as a temp variable in word3_muladd to better
match the code in word3_muladd_2
Diffstat (limited to 'include/mp_asm.h')
-rw-r--r-- | include/mp_asm.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/mp_asm.h b/include/mp_asm.h index 1066ae43b..5f0747d88 100644 --- a/include/mp_asm.h +++ b/include/mp_asm.h @@ -49,9 +49,9 @@ inline word word_madd3(word a, word b, word c, word d, word* carry) *************************************************/ inline void word3_muladd(word* w2, word* w1, word* w0, word a, word b) { - *w0 = word_madd2(a, b, *w0, &a); - *w1 += a; - *w2 += (*w1 < a) ? 1 : 0; + *w0 = word_madd2(a, b, *w0, &b); + *w1 += b; + *w2 += (*w1 < b) ? 1 : 0; } /************************************************* |