aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Edelsohn <edelsohn@gnu.org>2004-10-13 22:41:36 +0000
committerDavid Edelsohn <dje@gcc.gnu.org>2004-10-13 18:41:36 -0400
commit9a3c428bc097eba96491141bf520d255b70f990c (patch)
treebd2fb75f120190af2a53e5de068d001db513b4bb
parent19e4c59dbf590dcefa36fc7957f3f446259f018d (diff)
downloadgcc-9a3c428bc097eba96491141bf520d255b70f990c.zip
gcc-9a3c428bc097eba96491141bf520d255b70f990c.tar.gz
gcc-9a3c428bc097eba96491141bf520d255b70f990c.tar.bz2
(extzvdi_internal1): Add attribute "compare".
(extzvdi_internal2): Same. From-SVN: r89004
-rw-r--r--gcc/ChangeLog2
-rw-r--r--gcc/config/rs6000/rs6000.md6
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 2b86796..dc01369 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -3,6 +3,8 @@
* config/rs6000/rs6000.md (andsi3): Add attribute "compare" for
andi./andis.
(anddi3): Same.
+ (extzvdi_internal1): Add attribute "compare".
+ (extzvdi_internal2): Same.
2004-10-12 Tom Tromey <tromey@redhat.com>
diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md
index 21f522c..c3c8852 100644
--- a/gcc/config/rs6000/rs6000.md
+++ b/gcc/config/rs6000/rs6000.md
@@ -3323,7 +3323,8 @@
operands[3] = GEN_INT (start + size);
operands[2] = GEN_INT (64 - size);
return \"rldicl. %4,%1,%3,%2\";
-}")
+}"
+ [(set_attr "type" "compare")])
(define_insn "*extzvdi_internal2"
[(set (match_operand:CC 4 "gpc_reg_operand" "=x")
@@ -3345,7 +3346,8 @@
operands[3] = GEN_INT (start + size);
operands[2] = GEN_INT (64 - size);
return \"rldicl. %0,%1,%3,%2\";
-}")
+}"
+ [(set_attr "type" "compare")])
(define_insn "rotlsi3"
[(set (match_operand:SI 0 "gpc_reg_operand" "=r")