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

From-SVN: r127888

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

index e4e1bd9f434a59c4e0b5a7a58c408f6489b26559..ceae94e27ac196f72bbd7845881a4304a9b61907 100644 (file)
@@ -1,3 +1,8 @@
+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.c (bfin_expand_call): Inline PLT with l1_text
index e465cd54e0b0b3aeec023bc9c8ebd816234ad870..7c919b7441f76a2f827f603048ab36f3cbe108b4 100644 (file)
                         (match_operand:HI 1 "register_operand" "d,d")))]
   ""
   "@
-   %d0 = %h2 << 0%!
+   %d0 = %h1 << 0%!
    #"
   "reload_completed"
   [(set (match_dup 0)
        (vec_concat:V2HI
         (vec_select:HI (match_dup 0) (parallel [(const_int 0)]))
-        (match_dup 2)))
+        (match_dup 1)))
    (set (match_dup 0)
        (vec_concat:V2HI
-        (match_dup 1)
+        (match_dup 2)
         (vec_select:HI (match_dup 0) (parallel [(const_int 1)]))))]
   ""
   [(set_attr "type" "dsp32")])