diff options
author | Richard Sandiford <richard@codesourcery.com> | 2007-07-18 09:35:15 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2007-07-18 09:35:15 +0000 |
commit | 13e77ed917e9f897446eaf20b7737e5b697afcf8 (patch) | |
tree | d204696d93d201fb8c3d8f6a361779431e0c2f2f /gcc | |
parent | edf06e446b672945dc45f6428a5603a8a9148a8e (diff) | |
download | gcc-13e77ed917e9f897446eaf20b7737e5b697afcf8.zip gcc-13e77ed917e9f897446eaf20b7737e5b697afcf8.tar.gz gcc-13e77ed917e9f897446eaf20b7737e5b697afcf8.tar.bz2 |
mips.md (*extendqihi2): Convert the destination to SImode.
gcc/
* config/mips/mips.md (*extendqihi2): Convert the destination
to SImode.
From-SVN: r126716
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/mips/mips.md | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8b6c0cd..17c729d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/config/mips/mips.md b/gcc/config/mips/mips.md index 84347d7..cad5920 100644 --- a/gcc/config/mips/mips.md +++ b/gcc/config/mips/mips.md @@ -2618,6 +2618,7 @@ [(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)); |