[PATCH, MIPS] Fix comment before *<optab>_trunc<mode>_exts

Richard Sandiford rdsandiford@googlemail.com
Sun Feb 7 23:45:00 GMT 2010


Adam Nemet <adambnemet@gmail.com> writes:
> At the bottom of <http://gcc.gnu.org/ml/gcc-patches/2008-08/msg02343.html>, I
> blindly did what you asked for and fixed the comment from something that was
> correct to incorrect.

;-(

> As I was thinking about the other thread today I looked at the code again and
> found the comment very misleading: the middle-end can of course only remove
> the explicit truncation if the logical shift is by more than 32.  I am
> changing back to my original version but also adding some words on why I have
> excluded 32.
>
> OK to install?
>
> Adam
>
> 	* config/mips/mips.md (*<optab>_trunc<mode>_exts): Fix comment
> 	before the pattern.

OK, thanks.

Richard



More information about the Gcc-patches mailing list