diff options
author | ebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-06-30 11:05:11 +0000 |
---|---|---|
committer | ebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-06-30 11:05:11 +0000 |
commit | 6a6d1669d43d5e568a9853733a02886dde2f7ade (patch) | |
tree | abe7c4b4f9ce8dcd4418fab8bb6e68ff0bdf7f0d /gcc/config/sparc/leon.md | |
parent | 6f6c75e2c9c4abdd87d4c4b15c3ace2f74906966 (diff) | |
download | gcc-6a6d1669d43d5e568a9853733a02886dde2f7ade.tar.gz |
* config/sparc/leon.md (leon_load): Enable for all LEON variants if
-mfix-ut699 is not specified.
(leon3_load): Rename into...
(ut699_load): ...this. Enable for all LEON variants if -mfix-ut699
is specified.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@225173 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/sparc/leon.md')
-rw-r--r-- | gcc/config/sparc/leon.md | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gcc/config/sparc/leon.md b/gcc/config/sparc/leon.md index aca92fc7bf8..c579e394b58 100644 --- a/gcc/config/sparc/leon.md +++ b/gcc/config/sparc/leon.md @@ -24,12 +24,14 @@ (define_cpu_unit "leon_memory" "leon") (define_insn_reservation "leon_load" 1 - (and (eq_attr "cpu" "leon") (eq_attr "type" "load,sload")) + (and (eq_attr "cpu" "leon,leon3,leon3v7") + (and (eq_attr "fix_ut699" "false") (eq_attr "type" "load,sload"))) "leon_memory") ;; Use a double reservation to work around the load pipeline hazard on UT699. -(define_insn_reservation "leon3_load" 1 - (and (eq_attr "cpu" "leon3,leon3v7") (eq_attr "type" "load,sload")) +(define_insn_reservation "ut699_load" 1 + (and (eq_attr "cpu" "leon,leon3,leon3v7") + (and (eq_attr "fix_ut699" "true") (eq_attr "type" "load,sload"))) "leon_memory*2") (define_insn_reservation "leon_store" 2 |