This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix MIPS LHX in mips-dsp.md
- From: Richard Sandiford <rdsandiford at googlemail dot com>
- To: "Fu\, Chao-Ying" <fu at mips dot com>
- Cc: <gcc-patches at gcc dot gnu dot org>, "Lau\, David" <davidlau at mips dot com>
- Date: Wed, 11 Nov 2009 20:19:40 +0000
- Subject: Re: [PATCH] Fix MIPS LHX in mips-dsp.md
- References: <94BD67F8AF3ED34FA362C662BA1F12C502BB5DC8@MTVEXCHANGE.mips.com>
"Fu, Chao-Ying" <fu@mips.com> writes:
> I found a bug for the MIPS DSP LHX pattern in mips-dsp.md.
> We should use sign_extend, because LHX loads a halfword as a signed value.
> This patch is for GCC mainline and GCC 4.4.
Sorry to nag, but when submitting patches, please remember to say how
you tested them.
Richard