From 74d4257877f75f4628f2a97fcfc3e239e6cc9be8 Mon Sep 17 00:00:00 2001 From: segher Date: Fri, 23 May 2014 16:45:11 +0000 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". git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210872 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/config/rs6000/40x.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gcc/config/rs6000/40x.md') 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") -- cgit v1.2.1