diff options
author | lloyd <[email protected]> | 2006-06-08 04:55:07 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2006-06-08 04:55:07 +0000 |
commit | 1803a342b3d8617695a231c3c189eda871debb17 (patch) | |
tree | 09a6ac6f19ca28d10e9e1ecb4a1a64115befebdf /modules | |
parent | c9a2d46d4a67168c8aece9e2f5a45454fe68ede9 (diff) |
Remove the generic (and wrong) implementations of word3_muladd from
the mp_asm64 module's mp_asm.h; it now will inherit the regular C
ones in the generic mp_asmi.h instead of being copy and paste.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/mp_asm64/mp_asm.h | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/modules/mp_asm64/mp_asm.h b/modules/mp_asm64/mp_asm.h index 8c6df078e..51482d121 100644 --- a/modules/mp_asm64/mp_asm.h +++ b/modules/mp_asm64/mp_asm.h @@ -88,32 +88,6 @@ inline word word_madd3(word a, word b, word c, word d, word* carry) return z1; } -/************************************************* -* Multiply-Add Accumulator * -*************************************************/ -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; - } - -/************************************************* -* Multiply-Add Accumulator * -*************************************************/ -inline void word3_muladd_2(word* w2, word* w1, word* w0, word a, word b) - { - a = word_madd2(a, b, 0, &b); - - *w0 += a; - *w1 += b + ((*w0 < a) ? 1 : 0); - *w2 += (*w1 < b) ? 1 : 0; - - *w0 += a; - *w1 += b + ((*w0 < a) ? 1 : 0); - *w2 += (*w1 < b) ? 1 : 0; - } - } #endif |