i386.c (notice_update_cc): No need to check the INT mode for conditional moves since...
authorH.J. Lu <hjl@gnu.org>
Thu, 1 Apr 1999 02:53:54 +0000 (02:53 +0000)
committerJeff Law <law@gcc.gnu.org>
Thu, 1 Apr 1999 02:53:54 +0000 (19:53 -0700)
        * i386.c (notice_update_cc): No need to check the INT mode for
        conditional moves since FLOAT conditional moves don't affect cc0.

From-SVN: r26097

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

index 82f1921d41556e492abd1d3a1597ee03b8ebce9b..10817254393cf61826510b29f900be7327d37a52 100644 (file)
@@ -1,3 +1,8 @@
+Thu Apr  1 03:48:34 1999  H.J. Lu  (hjl@gnu.org)
+
+       * i386.c (notice_update_cc): No need to check the INT mode for
+       conditional moves since FLOAT conditional moves don't affect cc0.
+
 Thu Apr  1 02:17:18 1999  Jeffrey A Law  (law@cygnus.com)
 
        * fixinc/inclhack.def (zzz_ki_syscalls, zzz_time): Fix trigger
index e9da36bf12ec76e60d75aef468c5b5df6513af2f..aa2ffdaa4c8831430a719c5c07560285f4180a03 100644 (file)
@@ -3937,8 +3937,7 @@ notice_update_cc (exp)
       if (REG_P (SET_DEST (exp))
          && (REG_P (SET_SRC (exp)) || GET_CODE (SET_SRC (exp)) == MEM
              || GET_RTX_CLASS (GET_CODE (SET_SRC (exp))) == '<'
-             || (GET_CODE (SET_SRC (exp)) == IF_THEN_ELSE
-                 && GET_MODE_CLASS (GET_MODE (SET_DEST (exp))) == MODE_INT)))
+             || GET_CODE (SET_SRC (exp)) == IF_THEN_ELSE))
        {
          if (cc_status.value1
              && reg_overlap_mentioned_p (SET_DEST (exp), cc_status.value1))