This is the mail archive of the gcc@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: 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.

-- 
Peter Barada
peter@the-baradas.com


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