From 23cf1526e3cc3fd35b1c3584e52e62f9b7183a2b Mon Sep 17 00:00:00 2001 From: Bernd Schmidt Date: Wed, 22 Oct 2008 22:42:02 +0000 Subject: [PATCH] From Jie Zhang * config/bfin/bfin.md (composev2hi): Put operands into vector with correct order. From-SVN: r141311 --- gcc/ChangeLog | 6 ++++++ gcc/config/bfin/bfin.md | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9981edc358a..a221b47b5b7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2008-10-23 Bernd Schmidt + + From Jie Zhang + * config/bfin/bfin.md (composev2hi): Put operands into vector + with correct order. + 2008-10-22 Chao-ying Fu * config/mips/mips.opt (msmartmips): Accept -mno-smartmips. diff --git a/gcc/config/bfin/bfin.md b/gcc/config/bfin/bfin.md index bd2d208a334..9f3289d7eab 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")])