From 73c076c8a2b46d1f87c64a92bf1e7edfe0b6e076 Mon Sep 17 00:00:00 2001 From: Segher Boessenkool Date: Fri, 23 May 2014 18:45:11 +0200 Subject: rs6000: Make all logical instructions one type They are currently just "integer", but the dot version is fast_compare. This makes them all "logical". From-SVN: r210872 --- gcc/config/rs6000/7xx.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gcc/config/rs6000/7xx.md') diff --git a/gcc/config/rs6000/7xx.md b/gcc/config/rs6000/7xx.md index 89de8df7b56..aba4a770ec3 100644 --- a/gcc/config/rs6000/7xx.md +++ b/gcc/config/rs6000/7xx.md @@ -62,7 +62,7 @@ (define_insn_reservation "ppc750-integer" 1 (and (ior (eq_attr "type" "integer,insert,trap,cntlz,exts,isel") - (and (eq_attr "type" "add,shift") + (and (eq_attr "type" "add,logical,shift") (eq_attr "dot" "no"))) (eq_attr "cpu" "ppc750,ppc7400")) "ppc750_du,iu1_7xx|iu2_7xx") @@ -101,8 +101,8 @@ "ppc750_du,iu1_7xx*19") (define_insn_reservation "ppc750-compare" 2 - (and (ior (eq_attr "type" "cmp,fast_compare,compare") - (and (eq_attr "type" "add,shift") + (and (ior (eq_attr "type" "cmp,compare") + (and (eq_attr "type" "add,logical,shift") (eq_attr "dot" "yes"))) (eq_attr "cpu" "ppc750,ppc7400")) "ppc750_du,(iu1_7xx|iu2_7xx)") -- cgit v1.2.1