diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2006-07-28 01:49:21 +0200 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-07-28 01:49:21 +0200 |
commit | 92f282988b4ce3967ee8399f7d1184ebfa04e48b (patch) | |
tree | a508aa03393fa0de449bd89c7f4bb96497434ae5 /include/asm-sparc64/sfp-machine.h | |
parent | [PATCH] fix compile regression for a few scsi drivers (diff) | |
download | linux-92f282988b4ce3967ee8399f7d1184ebfa04e48b.tar.xz linux-92f282988b4ce3967ee8399f7d1184ebfa04e48b.zip |
[SPARC64]: Fix quad-float multiply emulation.
Something is wrong with the 3-multiply (vs. 4-multiply) optimized
version of _FP_MUL_MEAT_2_*(), so just use the slower version
which actually computes correct values.
Noticed by Rene Rebe
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/asm-sparc64/sfp-machine.h')
-rw-r--r-- | include/asm-sparc64/sfp-machine.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-sparc64/sfp-machine.h b/include/asm-sparc64/sfp-machine.h index 5015bb8d6c32..89d42431efb5 100644 --- a/include/asm-sparc64/sfp-machine.h +++ b/include/asm-sparc64/sfp-machine.h @@ -34,7 +34,7 @@ #define _FP_MUL_MEAT_D(R,X,Y) \ _FP_MUL_MEAT_1_wide(_FP_WFRACBITS_D,R,X,Y,umul_ppmm) #define _FP_MUL_MEAT_Q(R,X,Y) \ - _FP_MUL_MEAT_2_wide_3mul(_FP_WFRACBITS_Q,R,X,Y,umul_ppmm) + _FP_MUL_MEAT_2_wide(_FP_WFRACBITS_Q,R,X,Y,umul_ppmm) #define _FP_DIV_MEAT_S(R,X,Y) _FP_DIV_MEAT_1_imm(S,R,X,Y,_FP_DIV_HELP_imm) #define _FP_DIV_MEAT_D(R,X,Y) _FP_DIV_MEAT_1_udiv_norm(D,R,X,Y) |