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 c8a73c22fffa7faa460612de0ecbf0d4e30a5b6c..ecabeebea4a8cb4bd4e54f6babe158dda4dc4389 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 3e27a1b86c21617f360f4bc6761a1df4770a0e0b..83944b8925b27c37f005e342d4d63b9b091db647 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"