* config/rs6000/altivec.md (altivec_vandc): Canonicalize the pattern.
OKed by Aldy Hernandez.
From-SVN: r90747
+2004-11-16 Fariborz Jahanian <fjahanian@apple.com>
+
+ * config/rs6000/altivec.md (altivec_vandc): Canonicalize
+ the pattern.
+
2004-11-16 Andreas Krebbel <krebbel1@de.ibm.com>
* config/s390/s390.c (s390_cc_modes_compatible): New function.
(define_insn "altivec_vandc"
[(set (match_operand:V4SI 0 "register_operand" "=v")
- (and:V4SI (match_operand:V4SI 1 "register_operand" "v")
- (not:V4SI (match_operand:V4SI 2 "register_operand" "v"))))]
+ (and:V4SI (not:V4SI (match_operand:V4SI 1 "register_operand" "v"))
+ (match_operand:V4SI 2 "register_operand" "v")))]
"TARGET_ALTIVEC"
- "vandc %0,%1,%2"
+ "vandc %0,%2,%1"
[(set_attr "type" "vecsimple")])
(define_insn "altivec_vavgub"