re PR rtl-optimization/11753 (%o7 register being used immediately in the delay slot...
authorEric Botcazou <ebotcazou@libertysurf.fr>
Wed, 1 Oct 2003 06:08:35 +0000 (08:08 +0200)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Wed, 1 Oct 2003 06:08:35 +0000 (06:08 +0000)
PR optimization/11753
* config/sparc/sparc.md (length attribute) [fcc branch]: Add 1 to
the length in the non-V9 case.

From-SVN: r71968

gcc/ChangeLog
gcc/config/sparc/sparc.md

index e2b09d7819f7c650927ca1d0a92afb0655126e14..c1f67d5f5d05e142da9789fe4d56011ad6f25b0f 100644 (file)
@@ -1,3 +1,9 @@
+2003-10-01  Eric Botcazou  <ebotcazou@libertysurf.fr>
+
+       PR optimization/11753
+       * config/sparc/sparc.md (length attribute) [fcc branch]: Add 1 to
+       the length in the non-V9 case.
+
 2003-09-30  Richard Henderson  <rth@redhat.com>
 
        * dwarf2out.c (expand_builtin_init_dwarf_reg_sizes): Honor
index a987041af81ceab369229d469f0b42b83f762c06..6f2ebffcc6b325896ad0a7e3279f8b5bbcd67e98 100644 (file)
         (eq_attr "branch_type" "fcc")
           (if_then_else (match_operand 0 "fcc0_reg_operand" "")
             (if_then_else (eq_attr "empty_delay_slot" "true")
-              (const_int 2)
-              (const_int 1))
+              (if_then_else (eq (symbol_ref "TARGET_V9") (const_int 0))
+                (const_int 3)
+                (const_int 2))
+              (if_then_else (eq (symbol_ref "TARGET_V9") (const_int 0))
+                (const_int 2)
+                (const_int 1)))
             (if_then_else (lt (pc) (match_dup 2))
               (if_then_else (lt (minus (match_dup 2) (pc)) (const_int 260000))
                 (if_then_else (eq_attr "empty_delay_slot" "true")