aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAldy Hernandez <aldyh@redhat.com>2002-12-03 23:41:32 +0000
committerAldy Hernandez <aldyh@gcc.gnu.org>2002-12-03 23:41:32 +0000
commit3678a93e2ffabc15e9c3c788c00bde559453cb68 (patch)
treedef0cf84fd070b28c08813ca1284155733aafbcc /gcc
parent9c1180ea42444a74342889f3322d38cbbd08ae2e (diff)
downloadgcc-3678a93e2ffabc15e9c3c788c00bde559453cb68.zip
gcc-3678a93e2ffabc15e9c3c788c00bde559453cb68.tar.gz
gcc-3678a93e2ffabc15e9c3c788c00bde559453cb68.tar.bz2
spe.md (*movv1di_const0): New pattern.
2002-12-03 Aldy Hernandez <aldyh@redhat.com> * config/rs6000/spe.md (*movv1di_const0): New pattern. From-SVN: r59791
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/rs6000/spe.md7
2 files changed, 11 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f0f23ef..73406ad 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2002-12-03 Aldy Hernandez <aldyh@redhat.com>
+
+ * config/rs6000/spe.md (*movv1di_const0): New pattern.
+
2002-12-03 Richard Henderson <rth@redhat.com>
* libgcc-std.ver: Inherit GCC_3.3 from GCC_3.0.
diff --git a/gcc/config/rs6000/spe.md b/gcc/config/rs6000/spe.md
index 704cf78..3413858 100644
--- a/gcc/config/rs6000/spe.md
+++ b/gcc/config/rs6000/spe.md
@@ -2148,6 +2148,13 @@
"evxor %0,%0,%0"
[(set_attr "type" "vecsimple")])
+(define_insn "*movv1di_const0"
+ [(set (match_operand:V1DI 0 "gpc_reg_operand" "=r")
+ (match_operand:V1DI 1 "zero_constant" ""))]
+ "TARGET_SPE"
+ "evxor %0,%0,%0"
+ [(set_attr "type" "vecsimple")])
+
;; Vector move instructions.
(define_expand "movv2si"