[PATCH v2] gas: m68k M680LC040 F-LINE NOP insertion fixing emulation of fpu instructions
Nathanial Sloss
nathanialsloss@yahoo.com.au
Wed Apr 9 00:33:37 GMT 2025
On Sun, 30 Mar 2025 14:52:36 Nathanial Sloss wrote:
> Hi,
>
> The m68k m68lc040 (early revisions) have an issue after executing f-line
> (co processor mmu/fpu) instructions and executing a trap in the case of
> fpu emulation.
>
> Unfornately due to time passed the processor errata as to how to address
> the issue has been lost.
>
> Fortunately the issue was documented in a NetBSD PR:
>
> http://gnats.netbsd.org/13078
>
> Which proposes a solution to the problem which I have patched the GNU
> assembler for.
>
> As I have an affected machine with an lc040 processor I can confirm that
> all programmes compiled with the patched assember work as expected.
>
>
I've changed the patch so the nop insertion is not the default.
Now one has to pass -mlcfix to enable it.
> Best regards,
>
> Nat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 040nodef.diff
Type: text/x-patch
Size: 1742 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20250409/f3c66e99/attachment-0001.bin>
More information about the Binutils
mailing list