Commit d61ba4f4 by Doug Evans

(fp_zero_operand): Exclude -0.0.

From-SVN: r11686
parent 0b545b52
...@@ -302,7 +302,7 @@ fp_zero_operand (op) ...@@ -302,7 +302,7 @@ fp_zero_operand (op)
REAL_VALUE_TYPE r; REAL_VALUE_TYPE r;
REAL_VALUE_FROM_CONST_DOUBLE (r, op); REAL_VALUE_FROM_CONST_DOUBLE (r, op);
return REAL_VALUES_EQUAL (r, dconst0); return (REAL_VALUES_EQUAL (r, dconst0) && ! REAL_VALUE_MINUS_ZERO (r));
} }
/* Nonzero if OP is an integer register. */ /* Nonzero if OP is an integer register. */
......
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