OSDN Git Service

gcc/
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 18 Jul 2007 09:35:15 +0000 (09:35 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 18 Jul 2007 09:35:15 +0000 (09:35 +0000)
* config/mips/mips.md (*extendqihi2): Convert the destination
to SImode.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@126716 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/mips/mips.md

index 8b6c0cd..17c729d 100644 (file)
@@ -1,3 +1,8 @@
+2007-07-18  Richard Sandiford  <richard@codesourcery.com>
+
+       * config/mips/mips.md (*extendqihi2): Convert the destination
+       to SImode.
+
 2007-07-17  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
 
        * config/pa/fptr.c: Update license header.
index 84347d7..cad5920 100644 (file)
   [(set (match_dup 0) (ashift:SI (match_dup 1) (match_dup 2)))
    (set (match_dup 0) (ashiftrt:SI (match_dup 0) (match_dup 2)))]
 {
+  operands[0] = gen_lowpart (SImode, operands[0]);
   operands[1] = gen_lowpart (SImode, operands[1]);
   operands[2] = GEN_INT (GET_MODE_BITSIZE (SImode)
                         - GET_MODE_BITSIZE (QImode));