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/power5.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gcc/config/rs6000/power5.md') diff --git a/gcc/config/rs6000/power5.md b/gcc/config/rs6000/power5.md index 5df009e4520..198db827f8c 100644 --- a/gcc/config/rs6000/power5.md +++ b/gcc/config/rs6000/power5.md @@ -167,7 +167,7 @@ ; Integer latency is 2 cycles (define_insn_reservation "power5-integer" 2 (and (ior (eq_attr "type" "integer,trap,cntlz,exts,isel,popcnt") - (and (eq_attr "type" "add,shift") + (and (eq_attr "type" "add,logical,shift") (eq_attr "dot" "no")) (and (eq_attr "type" "insert") (eq_attr "size" "64"))) @@ -203,8 +203,8 @@ "du1_power5+du2_power5,iu1_power5,nothing,iu2_power5") (define_insn_reservation "power5-cmp" 3 - (and (ior (eq_attr "type" "cmp,fast_compare") - (and (eq_attr "type" "add") + (and (ior (eq_attr "type" "cmp") + (and (eq_attr "type" "add,logical") (eq_attr "dot" "yes"))) (eq_attr "cpu" "power5")) "iq_power5") -- cgit v1.2.1