temporarily revert fix for PR target/42841
authorChristian Bruel <christian.bruel@st.com>
Wed, 27 Jan 2010 13:24:40 +0000 (14:24 +0100)
committerChristian Bruel <chrbr@gcc.gnu.org>
Wed, 27 Jan 2010 13:24:40 +0000 (14:24 +0100)
From-SVN: r156282

gcc/ChangeLog
gcc/config/sh/sh.c

index 75c6cbf..af9ad0d 100644 (file)
@@ -1,3 +1,10 @@
+2010-01-27  Christian Bruel  <christian.bruel@st.com>
+
+       Revert:
+       PR target/42841
+       * config/sh/sh.c (find_barrier): Increase length for non delayed
+       conditional branches.
+       
 2010-01-27  Matthias Klose  <doko@ubuntu.com>
 
        * configure.ac (gnu-unique-object): Fix ldd version check.
index 283bb0a..cec17b8 100644 (file)
@@ -4567,13 +4567,6 @@ find_barrier (int num_mova, rtx mova, rtx from)
               && ! TARGET_SMALLCODE)
        new_align = 4;
 
-      /* There is a possibility that a bf is transformed into a bf/s by the
-        delay slot scheduler.  */
-      if (JUMP_P (from) && !JUMP_TABLE_DATA_P (from) 
-         && get_attr_type (from) == TYPE_CBRANCH
-         && GET_CODE (PATTERN (NEXT_INSN (PREV_INSN (from)))) != SEQUENCE)
-       inc += 2;
-
       if (found_si)
        {
          count_si += inc;