[patch]: Fix 16457, missed ppc optimization
David Edelsohn
dje@watson.ibm.com
Mon Nov 8 18:19:00 GMT 2004
>>>>> Nathan Sidwell writes:
Nathan> This fixes 16457, a missed opportunity to use a single rlwinm
Nathan> insn, instead of two rldicr instructions.
Nathan> booted & tested on powerpc64-unknown-linux-gnu, ok?
Nathan> 2004-11-08 Nathan Sidwell <nathan@codesourcery.com>
PR target/16457
* config/rs6000/rs6000.c (mask64_2_operand): Stub to call
mask64_1or2_operand.
(mask64_1or_2_operand): Broken out of mask64_2_operand, add flag
^^ typo
to spot rlwinm opportunities.
(and64_2_operand): Use mask_1or2_operand.
* config/rs6000/rs6000.md (anddi3): Use rlwinm when possible.
Okay, but please fix the typo of the extra underscore in the ChangeLog
entry.
Thanks, David
More information about the Gcc-patches
mailing list