diff options
| author | ebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-10-01 06:08:35 +0000 |
|---|---|---|
| committer | ebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-10-01 06:08:35 +0000 |
| commit | dd1585fc8036deb8260f927c83bf5fdf948d2f99 (patch) | |
| tree | 16095f9694336fb55ffb30112445294e7c0c59e7 | |
| parent | c49ad9ef92ccbf9ca427e3cd0e359f42fd11a809 (diff) | |
| download | ppe42-gcc-dd1585fc8036deb8260f927c83bf5fdf948d2f99.tar.gz ppe42-gcc-dd1585fc8036deb8260f927c83bf5fdf948d2f99.zip | |
PR optimization/11753
* config/sparc/sparc.md (length attribute) [fcc branch]: Add 1 to
the length in the non-V9 case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71968 138bc75d-0d04-0410-961f-82ee72b054a4
| -rw-r--r-- | gcc/ChangeLog | 6 | ||||
| -rw-r--r-- | gcc/config/sparc/sparc.md | 8 |
2 files changed, 12 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e2b09d7819f..c1f67d5f5d0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/config/sparc/sparc.md b/gcc/config/sparc/sparc.md index a987041af81..6f2ebffcc6b 100644 --- a/gcc/config/sparc/sparc.md +++ b/gcc/config/sparc/sparc.md @@ -155,8 +155,12 @@ (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") |

