]> gcc.gnu.org Git - gcc.git/commitdiff
i386.c (output_fp_conditional_move): Don't bother handling (cc_prev_status.flags...
authorJohn Wehle <john@feith.com>
Sun, 21 Jun 1998 00:26:51 +0000 (00:26 +0000)
committerJeff Law <law@gcc.gnu.org>
Sun, 21 Jun 1998 00:26:51 +0000 (18:26 -0600)
        * i386.c (output_fp_conditional_move): Don't bother handling
        (cc_prev_status.flags && CC_NO_OVERFLOW) since the INSN patterns
        prevent this from happening.
        * i386.md (nonlocal_goto_receiver): Delete.

From-SVN: r20632

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

index f5b0caa81a7d5210e03ad8865c84d40132fe8d55..36547921effac81979d537cd9a75566d23c2db8d 100644 (file)
@@ -1,3 +1,11 @@
+Sun Jun 21 01:16:38 1998  John Wehle  (john@feith.com)
+
+       * i386.c (output_fp_conditional_move): Don't bother handling
+       (cc_prev_status.flags && CC_NO_OVERFLOW) since the INSN patterns
+       prevent this from happening.
+
+       * i386.md (nonlocal_goto_receiver): Delete.
+
 Sun Jun 21 00:42:20 1998  H.J. Lu  (hjl@gnu.org)
 
        * flow.c (allocate_for_life_analysis, init_regset_vector):
index 7a5aab57a87202a51e68a943a12b4afc28355a95..cd37f54fc377c971bd50731416fb46579905a875 100644 (file)
@@ -5134,27 +5134,6 @@ output_fp_conditional_move (which_alternative, operands)
      int which_alternative;
      rtx operands[];
 {
-  int code = GET_CODE (operands[1]);
-
-  /* This is very tricky. We have to do it right. For a code segement
-     like:
-
-       int foo;
-       double bar;
-       ....
-       foo = foo - x;
-       if (foo >= 0)
-         bar = y;
-
-     final_scan_insn () may delete the insn which sets CC. We have to
-     tell final_scan_insn () if it should be reinserted. When CODE is
-     GT or LE, we have to check the CC_NO_OVERFLOW bit and return
-     NULL_PTR to tell final to reinsert the test insn because the
-     conditional move cannot be handled properly without it. */
-  if ((code == GT || code == LE)
-      && (cc_prev_status.flags & CC_NO_OVERFLOW))
-    return NULL_PTR;
-
   switch (which_alternative)
     {
     case 0:
index e3dbea9ab3bcd3e1f569886c5ff135de41bab584..c7412b736a892276f1d930eb909328510921bea9 100644 (file)
@@ -7797,12 +7797,3 @@ byte_xor_operation:
   emit_move_insn (operands[0], virtual_stack_dynamic_rtx);
   DONE;
 }")
-
-(define_expand "nonlocal_goto_receiver"
-  [(const_int 0)]
-  "flag_pic"
-  "
-{
-  load_pic_register (1);
-  DONE;
-}")
This page took 0.082175 seconds and 5 git commands to generate.