diff options
Diffstat (limited to 'contrib/gcc/config/rs6000/rios2.md')
-rw-r--r-- | contrib/gcc/config/rs6000/rios2.md | 23 |
1 files changed, 17 insertions, 6 deletions
diff --git a/contrib/gcc/config/rs6000/rios2.md b/contrib/gcc/config/rs6000/rios2.md index 36690acf06e79..b2f5cb282abb7 100644 --- a/contrib/gcc/config/rs6000/rios2.md +++ b/contrib/gcc/config/rs6000/rios2.md @@ -1,5 +1,5 @@ ;; Scheduling description for IBM Power2 processor. -;; Copyright (C) 2003 Free Software Foundation, Inc. +;; Copyright (C) 2003, 2004 Free Software Foundation, Inc. ;; ;; This file is part of GCC. @@ -15,8 +15,8 @@ ;; You should have received a copy of the GNU General Public License ;; along with GCC; see the file COPYING. If not, write to the -;; Free Software Foundation, 59 Temple Place - Suite 330, Boston, -;; MA 02111-1307, USA. +;; Free Software Foundation, 51 Franklin Street, Fifth Floor, Boston, +;; MA 02110-1301, USA. (define_automaton "rios2,rios2fp") (define_cpu_unit "iu1_rios2,iu2_rios2" "rios2") @@ -29,11 +29,12 @@ (define_insn_reservation "rios2-load" 2 (and (eq_attr "type" "load,load_ext,load_ext_u,load_ext_ux,\ - load_ux,load_u,fpload,fpload_ux,fpload_u") + load_ux,load_u,fpload,fpload_ux,fpload_u,\ + load_l,store_c,sync") (eq_attr "cpu" "rios2")) "iu1_rios2|iu2_rios2") -(define_insn_reservation "rios2-store" 1 +(define_insn_reservation "rios2-store" 2 (and (eq_attr "type" "store,store_ux,store_u,fpstore,fpstore_ux,fpstore_u") (eq_attr "cpu" "rios2")) "iu1_rios2|iu2_rios2") @@ -43,6 +44,16 @@ (eq_attr "cpu" "rios2")) "iu1_rios2|iu2_rios2") +(define_insn_reservation "rios2-two" 1 + (and (eq_attr "type" "two") + (eq_attr "cpu" "rios2")) + "iu1_rios2|iu2_rios2,iu1_rios2|iu2_rios2") + +(define_insn_reservation "rios2-three" 1 + (and (eq_attr "type" "three") + (eq_attr "cpu" "rios2")) + "iu1_rios2|iu2_rios2,iu1_rios2|iu2_rios2,iu1_rios2|iu2_rios2") + (define_insn_reservation "rios2-imul" 2 (and (eq_attr "type" "imul,imul2,imul3,imul_compare") (eq_attr "cpu" "rios2")) @@ -111,7 +122,7 @@ "iu1_rios2,bpu_rios2") (define_insn_reservation "rios2-branch" 1 - (and (eq_attr "type" "jmpreg,branch") + (and (eq_attr "type" "jmpreg,branch,isync") (eq_attr "cpu" "rios2")) "bpu_rios2") |