From: rsandifo Date: Wed, 18 Jul 2007 09:35:15 +0000 (+0000) Subject: gcc/ X-Git-Url: http://git.sourceforge.jp/view?a=commitdiff_plain;h=6bd07e6e22ff13fe6eb8782c1a323793b1fc3670;p=pf3gnuchains%2Fgcc-fork.git gcc/ * 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8b6c0cd0a04..17c729d19e5 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2007-07-18 Richard Sandiford + + * config/mips/mips.md (*extendqihi2): Convert the destination + to SImode. + 2007-07-17 John David Anglin * config/pa/fptr.c: Update license header. diff --git a/gcc/config/mips/mips.md b/gcc/config/mips/mips.md index 84347d7237c..cad5920bc0f 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));