]> gcc.gnu.org Git - gcc.git/commitdiff
mips-dsp.md (mips_lhx_<mode>): Use sign_extend.
authorChao-ying Fu <fu@mips.com>
Tue, 1 Dec 2009 01:37:52 +0000 (01:37 +0000)
committerChao-ying Fu <chaoyingfu@gcc.gnu.org>
Tue, 1 Dec 2009 01:37:52 +0000 (01:37 +0000)
2009-11-30  Chao-ying Fu  <fu@mips.com>

* config/mips/mips-dsp.md (mips_lhx_<mode>): Use sign_extend.

From-SVN: r154861

gcc/ChangeLog
gcc/config/mips/mips-dsp.md

index ff41ceb70956b4d906abc1fce96756aaf2e25a5b..23a091fcf5003a7a539e30b0767ff73d41860856 100644 (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>
 
        * configure.ac (USE_CYGWIN_LIBSTDCXX_WRAPPERS): Define to reflect
index ff2004ccb5470ead5c55f3e5a50949931ac57f96..dd2459ebcaf02f76b1965b5784583d1997149fcc 100644 (file)
 
 (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"
This page took 0.095889 seconds and 5 git commands to generate.