From: Fariborz Jahanian Date: Tue, 16 Nov 2004 18:52:36 +0000 (+0000) Subject: altivec.md (altivec_vandc): Canonicalize the pattern. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=96e1fc281c045a99c58fcfc205c1e3f5efad1b2b;p=gcc.git altivec.md (altivec_vandc): Canonicalize the pattern. * config/rs6000/altivec.md (altivec_vandc): Canonicalize the pattern. OKed by Aldy Hernandez. From-SVN: r90747 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7ec570dea48..0791fdc328a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-11-16 Fariborz Jahanian + + * config/rs6000/altivec.md (altivec_vandc): Canonicalize + the pattern. + 2004-11-16 Andreas Krebbel * config/s390/s390.c (s390_cc_modes_compatible): New function. diff --git a/gcc/config/rs6000/altivec.md b/gcc/config/rs6000/altivec.md index 8a76681a38b..c64d996bd85 100644 --- a/gcc/config/rs6000/altivec.md +++ b/gcc/config/rs6000/altivec.md @@ -460,10 +460,10 @@ (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"