gcc 3.4.0 m68k-elf generates illegal code for ColdFire (maybe a fix)
Peter Barada
peter@the-baradas.com
Tue Jun 1 22:05:00 GMT 2004
>> 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.
--
Peter Barada
peter@the-baradas.com
More information about the Gcc
mailing list