summaryrefslogtreecommitdiff
path: root/gcc/config/rs6000/603.md
diff options
context:
space:
mode:
authorsegher <segher@138bc75d-0d04-0410-961f-82ee72b054a4>2014-05-23 16:45:11 +0000
committersegher <segher@138bc75d-0d04-0410-961f-82ee72b054a4>2014-05-23 16:45:11 +0000
commit74d4257877f75f4628f2a97fcfc3e239e6cc9be8 (patch)
tree1d9879d9a796dd6a703aef72869a9072d53c1e66 /gcc/config/rs6000/603.md
parent7f15413b4d7f06fb190be78f05f975262440befb (diff)
downloadgcc-74d4257877f75f4628f2a97fcfc3e239e6cc9be8.tar.gz
rs6000: Make all logical instructions one type
They are currently just "integer", but the dot version is fast_compare. This makes them all "logical". git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210872 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/rs6000/603.md')
-rw-r--r--gcc/config/rs6000/603.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/config/rs6000/603.md b/gcc/config/rs6000/603.md
index 0db3f426a2b..871957aa560 100644
--- a/gcc/config/rs6000/603.md
+++ b/gcc/config/rs6000/603.md
@@ -59,7 +59,7 @@
(define_insn_reservation "ppc603-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" "ppc603"))
"iu_603")
@@ -93,8 +93,8 @@
"iu_603*37")
(define_insn_reservation "ppc603-compare" 3
- (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" "ppc603"))
"iu_603,nothing,bpu_603")