summaryrefslogtreecommitdiff
path: root/fpu
diff options
context:
space:
mode:
authorMarcelo Tosatti <mtosatti@redhat.com>2010-03-08 15:13:37 -0300
committerMarcelo Tosatti <mtosatti@redhat.com>2010-03-08 15:13:37 -0300
commita7499d3e8789cc066368218d0cfbd433c784785e (patch)
tree6366de5172932bb3519db08c70ef1c44968db120 /fpu
parent308a35044ab347ea1030071244d16d8226b65f6d (diff)
parent93d67ee69d6104976961fbc98654872de28a5c96 (diff)
Merge commit '93d67ee69d6104976961fbc98654872de28a5c96' into upstream-merge
* commit '93d67ee69d6104976961fbc98654872de28a5c96': (29 commits) Fix hanging user monitor when using balloon command sdl: improve grab exiting instructions ppc: don't define bamboo-0.13 as the default machine Update to a hopefully more future proof FSF address i386-dis: remove dead assignments, spotted by clang softfloat: remove dead assignments, spotted by clang slirp: remove dead nested assignment, spotted by clang slirp: remove dead initialization, spotted by clang slirp: remove dead increments, spotted by clang slirp: remove dead assignments, spotted by clang target-arm: Fix missing 'return' in SRS handling. Fix curses interaction with keymaps use absolute URLs for .gitmodules Documentation: Modify rule for html output (better looking output format) scsi: update comment on the standards revision qemu-nbd: Fix wrong description in qemu-nbd.texi Build usb-ohci for PCs ppc440_bamboo: Disable new virtio-serial features for 0.12 machine type ppc440_bamboo: Add 0.12 and 0.13 machine types for backward compat s390-virtio: Fix compile error for virtio-block init ... Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'fpu')
-rw-r--r--fpu/softfloat.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/fpu/softfloat.c b/fpu/softfloat.c
index 395f9b139..e6065b4bc 100644
--- a/fpu/softfloat.c
+++ b/fpu/softfloat.c
@@ -1910,7 +1910,7 @@ float32 float32_div( float32 a, float32 b STATUS_PARAM )
float32 float32_rem( float32 a, float32 b STATUS_PARAM )
{
- flag aSign, bSign, zSign;
+ flag aSign, zSign;
int16 aExp, bExp, expDiff;
bits32 aSig, bSig;
bits32 q;
@@ -1923,7 +1923,6 @@ float32 float32_rem( float32 a, float32 b STATUS_PARAM )
aSign = extractFloat32Sign( a );
bSig = extractFloat32Frac( b );
bExp = extractFloat32Exp( b );
- bSign = extractFloat32Sign( b );
if ( aExp == 0xFF ) {
if ( aSig || ( ( bExp == 0xFF ) && bSig ) ) {
return propagateFloat32NaN( a, b STATUS_VAR );
@@ -3062,7 +3061,7 @@ float64 float64_div( float64 a, float64 b STATUS_PARAM )
float64 float64_rem( float64 a, float64 b STATUS_PARAM )
{
- flag aSign, bSign, zSign;
+ flag aSign, zSign;
int16 aExp, bExp, expDiff;
bits64 aSig, bSig;
bits64 q, alternateASig;
@@ -3073,7 +3072,6 @@ float64 float64_rem( float64 a, float64 b STATUS_PARAM )
aSign = extractFloat64Sign( a );
bSig = extractFloat64Frac( b );
bExp = extractFloat64Exp( b );
- bSign = extractFloat64Sign( b );
if ( aExp == 0x7FF ) {
if ( aSig || ( ( bExp == 0x7FF ) && bSig ) ) {
return propagateFloat64NaN( a, b STATUS_VAR );
@@ -4032,7 +4030,7 @@ floatx80 floatx80_div( floatx80 a, floatx80 b STATUS_PARAM )
floatx80 floatx80_rem( floatx80 a, floatx80 b STATUS_PARAM )
{
- flag aSign, bSign, zSign;
+ flag aSign, zSign;
int32 aExp, bExp, expDiff;
bits64 aSig0, aSig1, bSig;
bits64 q, term0, term1, alternateASig0, alternateASig1;
@@ -4043,7 +4041,6 @@ floatx80 floatx80_rem( floatx80 a, floatx80 b STATUS_PARAM )
aSign = extractFloatx80Sign( a );
bSig = extractFloatx80Frac( b );
bExp = extractFloatx80Exp( b );
- bSign = extractFloatx80Sign( b );
if ( aExp == 0x7FFF ) {
if ( (bits64) ( aSig0<<1 )
|| ( ( bExp == 0x7FFF ) && (bits64) ( bSig<<1 ) ) ) {
@@ -5144,7 +5141,7 @@ float128 float128_div( float128 a, float128 b STATUS_PARAM )
float128 float128_rem( float128 a, float128 b STATUS_PARAM )
{
- flag aSign, bSign, zSign;
+ flag aSign, zSign;
int32 aExp, bExp, expDiff;
bits64 aSig0, aSig1, bSig0, bSig1, q, term0, term1, term2;
bits64 allZero, alternateASig0, alternateASig1, sigMean1;
@@ -5158,7 +5155,6 @@ float128 float128_rem( float128 a, float128 b STATUS_PARAM )
bSig1 = extractFloat128Frac1( b );
bSig0 = extractFloat128Frac0( b );
bExp = extractFloat128Exp( b );
- bSign = extractFloat128Sign( b );
if ( aExp == 0x7FFF ) {
if ( ( aSig0 | aSig1 )
|| ( ( bExp == 0x7FFF ) && ( bSig0 | bSig1 ) ) ) {