diff options
author | Chao-ying Fu <fu@mips.com> | 2009-12-01 01:37:52 +0000 |
---|---|---|
committer | Chao-ying Fu <chaoyingfu@gcc.gnu.org> | 2009-12-01 01:37:52 +0000 |
commit | b5290908a22419a98a419535d5d27f904d10c9aa (patch) | |
tree | 1355806a966b84ebc59f50caefa010c125199412 /gcc | |
parent | 4643ee616029e5638360c051933fac4401869b45 (diff) | |
download | gcc-b5290908a22419a98a419535d5d27f904d10c9aa.zip gcc-b5290908a22419a98a419535d5d27f904d10c9aa.tar.gz gcc-b5290908a22419a98a419535d5d27f904d10c9aa.tar.bz2 |
mips-dsp.md (mips_lhx_<mode>): Use sign_extend.
2009-11-30 Chao-ying Fu <fu@mips.com>
* config/mips/mips-dsp.md (mips_lhx_<mode>): Use sign_extend.
From-SVN: r154861
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/mips/mips-dsp.md | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ff41ceb..23a091f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2009-11-30 Chao-ying Fu <fu@mips.com> + + * config/mips/mips-dsp.md (mips_lhx_<mode>): Use sign_extend. + 2009-11-30 Dave Korn <dave.korn.cygwin@gmail.com> * configure.ac (USE_CYGWIN_LIBSTDCXX_WRAPPERS): Define to reflect diff --git a/gcc/config/mips/mips-dsp.md b/gcc/config/mips/mips-dsp.md index ff2004c..dd2459e 100644 --- a/gcc/config/mips/mips-dsp.md +++ b/gcc/config/mips/mips-dsp.md @@ -1066,7 +1066,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" |