altivec.md (altivec_vandc): Canonicalize the pattern.

* config/rs6000/altivec.md (altivec_vandc): Canonicalize the pattern.
OKed by Aldy Hernandez.

From-SVN: r90747
This commit is contained in:
Fariborz Jahanian 2004-11-16 18:52:36 +00:00 committed by Fariborz Jahanian
parent a628ab6d26
commit 96e1fc281c
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
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> 2004-11-16 Andreas Krebbel <krebbel1@de.ibm.com>
* config/s390/s390.c (s390_cc_modes_compatible): New function. * config/s390/s390.c (s390_cc_modes_compatible): New function.

View File

@ -460,10 +460,10 @@
(define_insn "altivec_vandc" (define_insn "altivec_vandc"
[(set (match_operand:V4SI 0 "register_operand" "=v") [(set (match_operand:V4SI 0 "register_operand" "=v")
(and:V4SI (match_operand:V4SI 1 "register_operand" "v") (and:V4SI (not:V4SI (match_operand:V4SI 1 "register_operand" "v"))
(not:V4SI (match_operand:V4SI 2 "register_operand" "v"))))] (match_operand:V4SI 2 "register_operand" "v")))]
"TARGET_ALTIVEC" "TARGET_ALTIVEC"
"vandc %0,%1,%2" "vandc %0,%2,%1"
[(set_attr "type" "vecsimple")]) [(set_attr "type" "vecsimple")])
(define_insn "altivec_vavgub" (define_insn "altivec_vavgub"