This is the mail archive of the email@example.com mailing list for the gas2 project.
|Index Nav:||[Date Index] [Subject Index] [Author Index] [Thread Index]|
|Message Nav:||[Date Prev] [Date Next]||[Thread Prev] [Thread Next]|
While incorporating a 68360 board support package into RTEMS and updating tools, I tripped across this and wanted some feedback. For CPUs w/o a bfffo instruction RTEMS has an SW implementation of bfffo which uses an extb.l instruction. This worked correctly AFAIK for the 68000 and 68302 based BSPs using binutils 2.5.2. As of binutils 2.6, this instruction was restricted to 020up and cpu32 which agrees with the m68k family programmer's reference manual. But this leaves me confused -- what was actually being generated binutils 2.5.2 on the 68000/68302? The code it generated worked. Is this a hole in the m68k docs or just a fluke? Does this instruction really exist on the 68302? Just curious. --joel