OSDN Git Service

* i386.c (output_fp_conditional_move): Abort for LT, LE, GE, and GT
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 1 Apr 1999 03:01:19 +0000 (03:01 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 1 Apr 1999 03:01:19 +0000 (03:01 +0000)
        signed integer comparisons.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26099 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/i386/i386.c

index 237c5ed..b51551e 100644 (file)
@@ -1,5 +1,8 @@
 Thu Apr  1 03:48:34 1999  H.J. Lu  (hjl@gnu.org)
 
+       * i386.c (output_fp_conditional_move): Abort for LT, LE, GE, and GT
+       signed integer comparisons.
+
        * i386.c (output_int_conditional_move): Use "enum rtx_code" for code
        type.
 
index 323838e..e288a15 100644 (file)
@@ -5491,6 +5491,13 @@ output_fp_conditional_move (which_alternative, operands)
      int which_alternative;
      rtx operands[];
 {
+  enum rtx_code code = GET_CODE (operands[1]);
+
+  /* This should never happen.  */
+  if (!(cc_prev_status.flags & CC_IN_80387)
+      && (code == GT || code == LE || code == GE || code == LT))
+    abort ();
+
   switch (which_alternative)
     {
     case 0: