* config/bfin/bfin.md (composev2hi): Put operands into vector
authorjiez <jiez@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 29 Aug 2007 09:17:37 +0000 (09:17 +0000)
committerjiez <jiez@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 29 Aug 2007 09:17:37 +0000 (09:17 +0000)
with correct order.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@127888 138bc75d-0d04-0410-961f-82ee72b054a4

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

index e4e1bd9..ceae94e 100644 (file)
@@ -1,5 +1,10 @@
 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
        attribute when appropriate.
        (bfin_handle_l1_text_attribute): New.
index e465cd5..7c919b7 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")])