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
This commit is contained in:
Chao-ying Fu 2009-12-01 01:37:52 +00:00 committed by Chao-ying Fu
parent 4643ee6160
commit b5290908a2
2 changed files with 5 additions and 1 deletions

View File

@ -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> 2009-11-30 Dave Korn <dave.korn.cygwin@gmail.com>
* configure.ac (USE_CYGWIN_LIBSTDCXX_WRAPPERS): Define to reflect * configure.ac (USE_CYGWIN_LIBSTDCXX_WRAPPERS): Define to reflect

View File

@ -1066,7 +1066,7 @@
(define_insn "mips_lhx_<mode>" (define_insn "mips_lhx_<mode>"
[(set (match_operand:SI 0 "register_operand" "=d") [(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") (mem:HI (plus:P (match_operand:P 1 "register_operand" "d")
(match_operand:P 2 "register_operand" "d")))))] (match_operand:P 2 "register_operand" "d")))))]
"ISA_HAS_DSP" "ISA_HAS_DSP"