Commit c7c955ee by Richard Kenner

(fold_rtx): Fix typo in two FLOAT_STORE_FLAG_VALUE tests.

From-SVN: r1837
parent f582c9d5
...@@ -4843,7 +4843,7 @@ fold_rtx (x, insn) ...@@ -4843,7 +4843,7 @@ fold_rtx (x, insn)
rtx true = const_true_rtx, false = const0_rtx; rtx true = const_true_rtx, false = const0_rtx;
#ifdef FLOAT_STORE_FLAG_VALUE #ifdef FLOAT_STORE_FLAG_VALUE
if (GET_MODE_CLASS (mode)) if (GET_MODE_CLASS (mode) == MODE_FLOAT)
{ {
true = immed_real_const_1 (FLOAT_STORE_FLAG_VALUE, mode); true = immed_real_const_1 (FLOAT_STORE_FLAG_VALUE, mode);
false = CONST0_RTX (mode); false = CONST0_RTX (mode);
...@@ -4961,7 +4961,7 @@ fold_rtx (x, insn) ...@@ -4961,7 +4961,7 @@ fold_rtx (x, insn)
rtx true = const_true_rtx, false = const0_rtx; rtx true = const_true_rtx, false = const0_rtx;
#ifdef FLOAT_STORE_FLAG_VALUE #ifdef FLOAT_STORE_FLAG_VALUE
if (GET_MODE_CLASS (mode)) if (GET_MODE_CLASS (mode) == MODE_FLOAT)
{ {
true = immed_real_const_1 (FLOAT_STORE_FLAG_VALUE, mode); true = immed_real_const_1 (FLOAT_STORE_FLAG_VALUE, mode);
false = CONST0_RTX (mode); false = CONST0_RTX (mode);
......
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