This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][m68k] PR target/36133 Unnecessary TST insns
Andrew Stubbs <ams@codesourcery.com> writes:
> 2008-11-18 Andrew Stubbs <ams@codesourcery.com>
>
> gcc/
> PR target/36133
> * config/m68k/m68k.h (CC_OVERFLOW_UNUSABLE, CC_NO_CARRY): New defines.
> * config/m68k/m68k.c (notice_update_cc): Set cc_status properly for
> shift instructions.
> * config/m68k/m68k.md: Adjust all conditional branches that use the
> carry and overflow flags so they understand CC_OVERFLOW_UNUSABLE.
>
> gcc/testsuite/
> PR target36133
> * gcc.target/m68k/pr36133.c: New test.
Thanks, this is OK.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."