aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/bfin
diff options
context:
space:
mode:
authorBernd Schmidt <bernd.schmidt@analog.com>2008-10-22 22:42:02 +0000
committerBernd Schmidt <bernds@gcc.gnu.org>2008-10-22 22:42:02 +0000
commit23cf1526e3cc3fd35b1c3584e52e62f9b7183a2b (patch)
treeb558986ffbf267a37c733ec6546f82f626d7749e /gcc/config/bfin
parenta166140fdb75e61be0467707cb89fea8a899f9c1 (diff)
downloadgcc-23cf1526e3cc3fd35b1c3584e52e62f9b7183a2b.zip
gcc-23cf1526e3cc3fd35b1c3584e52e62f9b7183a2b.tar.gz
gcc-23cf1526e3cc3fd35b1c3584e52e62f9b7183a2b.tar.bz2
From Jie Zhang <jie.zhang@analog.com>
* config/bfin/bfin.md (composev2hi): Put operands into vector with correct order. From-SVN: r141311
Diffstat (limited to 'gcc/config/bfin')
-rw-r--r--gcc/config/bfin/bfin.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/config/bfin/bfin.md b/gcc/config/bfin/bfin.md
index bd2d208..9f3289d 100644
--- a/gcc/config/bfin/bfin.md
+++ b/gcc/config/bfin/bfin.md
@@ -2886,16 +2886,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")])