revert: bfin.md (composev2hi): Put operands into vector with correct order.
authorJie Zhang <jie.zhang@analog.com>
Wed, 29 Aug 2007 09:34:15 +0000 (09:34 +0000)
committerJie Zhang <jiez@gcc.gnu.org>
Wed, 29 Aug 2007 09:34:15 +0000 (09:34 +0000)
Revert
2007-08-29  Jie Zhang  <jie.zhang@analog.com>
* config/bfin/bfin.md (composev2hi): Put operands into vector
with correct order.

From-SVN: r127890

gcc/ChangeLog
gcc/config/bfin/bfin.md

index ceae94e27ac196f72bbd7845881a4304a9b61907..4ffc94a743889f265a445061aca852b51083b908 100644 (file)
@@ -1,3 +1,10 @@
+2007-08-29  Jie Zhang  <jie.zhang@analog.com>
+
+       Revert
+       2007-08-29  Jie Zhang  <jie.zhang@analog.com>
+       * config/bfin/bfin.md (composev2hi): Put operands into vector
+       with correct order.
+
 2007-08-29  Jie Zhang  <jie.zhang@analog.com>
 
        * config/bfin/bfin.md (composev2hi): Put operands into vector
index 7c919b7441f76a2f827f603048ab36f3cbe108b4..e465cd54e0b0b3aeec023bc9c8ebd816234ad870 100644 (file)
                         (match_operand:HI 1 "register_operand" "d,d")))]
   ""
   "@
-   %d0 = %h1 << 0%!
+   %d0 = %h2 << 0%!
    #"
   "reload_completed"
   [(set (match_dup 0)
        (vec_concat:V2HI
         (vec_select:HI (match_dup 0) (parallel [(const_int 0)]))
-        (match_dup 1)))
+        (match_dup 2)))
    (set (match_dup 0)
        (vec_concat:V2HI
-        (match_dup 2)
+        (match_dup 1)
         (vec_select:HI (match_dup 0) (parallel [(const_int 1)]))))]
   ""
   [(set_attr "type" "dsp32")])