This is the mail archive of the
mailing list for the GCC project.
Re: gcc 3.4.0 m68k-elf generates illegal code for ColdFire (maybea fix)
>> 2) Enable use of output_andsi3/output_iorsi3/output_xorsi3 for
>> ColdFire to allow for using the bclr/bset/bchg instructions for
>> single-bit modifications.
>Didn't the ColdFire always support bit operations the
>same way the m68k did? Why should this be special-cased
>for ColdFire only?
Because ColdFire has a 48 bit limit on the instructiosn, so you can't
"btst #1,foo" where foo is a 32 bit address(like m68k), so we at least
need different constraints.