spe.md (spu_evsplatfi, [...]): Swap operands in output template.
authorJim Wilson <wilson@redhat.com>
Wed, 27 Nov 2002 20:58:37 +0000 (20:58 +0000)
committerAldy Hernandez <aldyh@gcc.gnu.org>
Wed, 27 Nov 2002 20:58:37 +0000 (20:58 +0000)
2002-11-22  Jim Wilson  <wilson@redhat.com>

        * config/rs6000/spe.md (spu_evsplatfi, spu_evsplati): Swap operands
        in output template.

From-SVN: r59584

gcc/ChangeLog
gcc/config/rs6000/spe.md

index 0405ac369986c15c3943bd2bc2203bea4a814fb9..fd733e459571090cac78e25c0c98d5cba5383331 100644 (file)
@@ -1,3 +1,8 @@
+2002-11-27  Jim Wilson  <wilson@redhat.com>
+
+        * config/rs6000/spe.md (spu_evsplatfi, spu_evsplati): Swap operands
+        in output template.
+
 2002-11-27  Casper S. Hornstrup  <chorns@users.sourceforge.net>
 
        * config/i386/i386.h (DLL_IMPORT_EXPORT_PREFIX): Define.
index e876e83d35be19afec1512dcb3da96592a73b23c..704cf7857debfa5e056242e45206bc2b308bcee4 100644 (file)
    (clobber (reg:SI SPEFSCR_REGNO))
    (clobber (reg:V2SI SPE_ACC_REGNO))]
   "TARGET_SPE"
-  "evmhessiaaw %0,%1"
+  "evmhessiaaw %0,%1,%2"
   [(set_attr "type" "veccomplex")
    (set_attr  "length" "4")])
 
   [(set (match_operand:V2SI 0 "gpc_reg_operand" "=r")
         (unspec:V2SI [(match_operand:QI 1 "immediate_operand" "i")] 684))]
   "TARGET_SPE"
-  "evsplatfi %1,%0"
+  "evsplatfi %0,%1"
   [(set_attr "type" "vecperm")
    (set_attr  "length" "4")])
 
   [(set (match_operand:V2SI 0 "gpc_reg_operand" "=r")
         (unspec:V2SI [(match_operand:QI 1 "immediate_operand" "i")] 685))]
   "TARGET_SPE"
-  "evsplati %1,%0"
+  "evsplati %0,%1"
   [(set_attr "type" "vecperm")
    (set_attr  "length" "4")])