* 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
+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
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:
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;