diff options
author | Chao-ying Fu <fu@mips.com> | 2009-12-02 23:26:42 +0000 |
---|---|---|
committer | Chao-ying Fu <fu@mips.com> | 2009-12-02 23:26:42 +0000 |
commit | fca9f3f5c3f67376ec8ed0c9d9c6983734784e01 (patch) | |
tree | b1cd0b51e3b331dc1c16b0ae70b685bd36ee728a | |
parent | 97719cd2d63bc4e46feb011fc6015bb96f924179 (diff) |
2009-12-02 Chao-ying Fu <fu@mips.com>
Backport from mainline
2009-11-30 Chao-ying Fu <fu@mips.com>
* config/mips/mips-dsp.md (mips_lhx_<mode>): Use sign_extend.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_4-branch@154927 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/config/mips/mips-dsp.md | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 80c57a16aba..9ee70b7357d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2009-12-02 Chao-ying Fu <fu@mips.com> + + Backport from mainline + 2009-11-30 Chao-ying Fu <fu@mips.com> + + * config/mips/mips-dsp.md (mips_lhx_<mode>): Use sign_extend. + 2009-12-02 Richard Earnshaw <rearnsha@arm.com> * arm/thumb2.md (thumb_andsi_not_shiftsi_si): Final condition should diff --git a/gcc/config/mips/mips-dsp.md b/gcc/config/mips/mips-dsp.md index f846b3d639c..03dd6e33f95 100644 --- a/gcc/config/mips/mips-dsp.md +++ b/gcc/config/mips/mips-dsp.md @@ -1048,7 +1048,7 @@ (define_insn "mips_lhx_<mode>" [(set (match_operand:SI 0 "register_operand" "=d") - (zero_extend:SI + (sign_extend:SI (mem:HI (plus:P (match_operand:P 1 "register_operand" "d") (match_operand:P 2 "register_operand" "d")))))] "ISA_HAS_DSP" |