Commit 6c06208f by Richard Henderson Committed by Richard Henderson

real.c (real_identical): Reorg so as to not compare signalling for normals.

        * real.c (real_identical): Reorg so as to not compare
        signalling for normals.

From-SVN: r65111
parent 11789584
2003-03-31 Richard Henderson <rth@redhat.com>
* real.c (real_identical): Reorg so as to not compare
signalling for normals.
2003-03-31 Stephane Carrez <stcarrez@nerim.fr> 2003-03-31 Stephane Carrez <stcarrez@nerim.fr>
* config/m68hc11/m68hc11.c (hard_reg_operand): Check the mode. * config/m68hc11/m68hc11.c (hard_reg_operand): Check the mode.
......
...@@ -1227,24 +1227,26 @@ real_identical (a, b) ...@@ -1227,24 +1227,26 @@ real_identical (a, b)
{ {
case rvc_zero: case rvc_zero:
case rvc_inf: case rvc_inf:
break; return true;
case rvc_normal: case rvc_normal:
if (a->exp != b->exp) if (a->exp != b->exp)
return false; return false;
/* FALLTHRU */ break;
case rvc_nan: case rvc_nan:
if (a->signalling != b->signalling) if (a->signalling != b->signalling)
return false; return false;
for (i = 0; i < SIGSZ; ++i)
if (a->sig[i] != b->sig[i])
return false;
break; break;
default: default:
abort (); abort ();
} }
for (i = 0; i < SIGSZ; ++i)
if (a->sig[i] != b->sig[i])
return false;
return true; return true;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment