Commit 32ee391b by Richard Henderson Committed by Richard Henderson

i386.c (fcmov_comparison_operator): Check for CCFPmode or CCFPUmode instead of CCmode.

        * config/i386/i386.c (fcmov_comparison_operator): Check for
        CCFPmode or CCFPUmode instead of CCmode.
        (ix86_expand_fp_movcc): Call ix86_expand_setcc for most
        unordered operations as well.

From-SVN: r37179
parent 5f10ef5b
2000-10-31 Richard Henderson <rth@redhat.com>
* config/i386/i386.c (fcmov_comparison_operator): Check for
CCFPmode or CCFPUmode instead of CCmode.
(ix86_expand_fp_movcc): Call ix86_expand_setcc for most
unordered operations as well.
2000-10-31 Richard Henderson <rth@redhat.com>
* c-semantics.c (genrtl_do_stmt): Use integer_zerop instead
of integer_zero_node.
......
......@@ -1339,7 +1339,7 @@ fcmov_comparison_operator (op, mode)
case EQ: case NE:
return 1;
case LTU: case GTU: case LEU: case ORDERED: case UNORDERED: case GEU:
if (inmode == CCmode)
if (inmode == CCFPmode || inmode == CCFPUmode)
return 1;
return 0;
default:
......@@ -5600,6 +5600,12 @@ ix86_expand_fp_movcc (operands)
case LE:
case GE:
case GT:
case UNEQ:
case UNGE:
case UNGT:
case UNLE:
case UNLT:
case LTGT:
tmp = gen_reg_rtx (QImode);
ix86_expand_setcc (code, tmp);
code = NE;
......
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