altivec.md ("one_cmplv16qi2"): Change vnot to vnor.
authorAldy Hernandez <aldyh@redhat.com>
Tue, 11 May 2004 03:29:57 +0000 (03:29 +0000)
committerAldy Hernandez <aldyh@gcc.gnu.org>
Tue, 11 May 2004 03:29:57 +0000 (03:29 +0000)
* config/rs6000/altivec.md ("one_cmplv16qi2"): Change vnot to
vnor.
("one_cmplv8hi2"): Same.
("one_cmplv4si2"): Same.

From-SVN: r81693

gcc/ChangeLog
gcc/config/rs6000/altivec.md

index c8a73c2..ecabeeb 100644 (file)
@@ -1,3 +1,10 @@
+2004-05-10  Aldy Hernandez  <aldyh@redhat.com>
+
+       * config/rs6000/altivec.md ("one_cmplv16qi2"): Change vnot to
+       vnor.
+       ("one_cmplv8hi2"): Same.
+       ("one_cmplv4si2"): Same.
+
 2004-05-10  Kaz Kojima  <kkojima@gcc.gnu.org>
 
        PR target/15130
index 3e27a1b..83944b8 100644 (file)
   [(set (match_operand:V16QI 0 "register_operand" "=v")
         (not:V16QI (match_operand:V16QI 1 "register_operand" "v")))]
   "TARGET_ALTIVEC"
-  "vnot %0,%1"
+  "vnor %0,%1,%1"
   [(set_attr "type" "vecsimple")])
   
 (define_insn "one_cmplv8hi2"
   [(set (match_operand:V8HI 0 "register_operand" "=v")
         (not:V8HI (match_operand:V8HI 1 "register_operand" "v")))]
   "TARGET_ALTIVEC"
-  "vnot %0,%1"
+  "vnor %0,%1,%1"
   [(set_attr "type" "vecsimple")])
   
 (define_insn "one_cmplv4si2"
   [(set (match_operand:V4SI 0 "register_operand" "=v")
         (not:V4SI (match_operand:V4SI 1 "register_operand" "v")))]
   "TARGET_ALTIVEC"
-  "vnot %0,%1"
+  "vnor %0,%1,%1"
   [(set_attr "type" "vecsimple")])
 
 (define_insn "iorv16qi3"