This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: rs6000_emit_set_long_const tidy


On Wed, Apr 24, 2013 at 7:04 AM, Alan Modra <amodra@gmail.com> wrote:
> This just removes some unnecessary tests.  It's easy to see that if
> the sign bit isn't set then xor 0x8000 followed by subtract 0x8000
> leaves the value unchanged.  Bootstrapped etc. powerpc-linux.  OK
> for mainline?
>
>         * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Tidy.

This is okay.

Thanks, David


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]