From 1803a342b3d8617695a231c3c189eda871debb17 Mon Sep 17 00:00:00 2001 From: lloyd Date: Thu, 8 Jun 2006 04:55:07 +0000 Subject: 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. --- modules/mp_asm64/mp_asm.h | 26 -------------------------- 1 file changed, 26 deletions(-) (limited to 'modules/mp_asm64') 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 -- cgit v1.2.3