summaryrefslogtreecommitdiff
path: root/gcc/config/rs6000/40x.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/40x.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/40x.md')
-rw-r--r--gcc/config/rs6000/40x.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/config/rs6000/40x.md b/gcc/config/rs6000/40x.md
index 85b9e41110f..b29e06a02f3 100644
--- a/gcc/config/rs6000/40x.md
+++ b/gcc/config/rs6000/40x.md
@@ -37,7 +37,7 @@
(define_insn_reservation "ppc403-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" "ppc403,ppc405"))
"iu_40x")
@@ -53,8 +53,8 @@
"iu_40x,iu_40x,iu_40x")
(define_insn_reservation "ppc403-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" "ppc403,ppc405"))
"iu_40x,nothing,bpu_40x")