Re: Intermediate step for new arch for lc040 compatibility

Nat Sloss <[email protected]> Sun, 4 May 2025 00:43:26 +1000
Newsgroups gmane.os.netbsd.ports.m68k
Message-ID <[email protected]>
On Tue, 29 Apr 2025 09:05:54 John Klos wrote:
> Hi,
> 
> > This is an intermediate step for a new arch where the flag can be set
> > (say m68klc).
> 
> Just curious:
> 
> How much of a performance impact is there from adding NOPs before floating
> point instructions on systems with FPUs? Have you / has anyone measured
> this?
I have not measured this as I don't have any machines with fpus unfortunately.

> 

> I've wondered about a binary patcher, or at least a patcher that patches
> on binary load in to memory, like CyberPatcher / OxyPatcher for emulated
> instructions on '040 / '060 Amigas...
> 

Sounds good but I dont know if its possible as data is lost when enterning the 
fline trap maybe there is a way to do it change fpu instuctions to jumps and 
insert the nop there and run the trap.  But I don't know how to go about it as 
yet.


> John

Best regards and thanks for looking at this,

Nat