aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJie Zhang <jie.zhang@analog.com>2007-08-29 09:17:37 +0000
committerJie Zhang <jiez@gcc.gnu.org>2007-08-29 09:17:37 +0000
commit8a84c9a7710903895dfa2c1e7103e18321af75a6 (patch)
tree0add0f8dd2b8d2294cc1d2de3624572160d5388e
parent4af797b5020e8071630f8f48641fc071b2d8350c (diff)
downloadgcc-8a84c9a7710903895dfa2c1e7103e18321af75a6.zip
gcc-8a84c9a7710903895dfa2c1e7103e18321af75a6.tar.gz
gcc-8a84c9a7710903895dfa2c1e7103e18321af75a6.tar.bz2
bfin.md (composev2hi): Put operands into vector with correct order.
* config/bfin/bfin.md (composev2hi): Put operands into vector with correct order. From-SVN: r127888
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/bfin/bfin.md6
2 files changed, 8 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index e4e1bd9..ceae94e 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/config/bfin/bfin.md b/gcc/config/bfin/bfin.md
index e465cd5..7c919b7 100644
--- a/gcc/config/bfin/bfin.md
+++ b/gcc/config/bfin/bfin.md
@@ -2831,16 +2831,16 @@
(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")])