NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-mac68k/13078 (Mac 68LC040 problem)



The following reply was made to PR port-mac68k/13078; it has been noted by GNATS.

From: Nathanial Sloss <nathanialsloss%yahoo.com.au@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: netbsd-bugs%netbsd.org@localhost
Subject: Re: port-mac68k/13078 (Mac 68LC040 problem)
Date: Sat, 30 Nov 2024 19:23:30 +1100

 The submitter is indeed right adding a nop before an fpu instruction does fix
 the fpu emulation on the lc040...
 
 The number of failed tests for libm is the same as for an '030 with fpu 
 emulation and better than a qemu emulation of a full '040.
 
 The number of failed libm tests are ~15 (1 expected).
 
 Here is the diff to add nops for fpu instructions patching gcc / libc and 
 locore assembly stubs:
 
 http://ftp.netbsd.org/pub//NetBSD/misc/nat/lc040nop-fpuemul.fix.diff
 
 I sincerely believe that this should be the preferred option as it means no 
 special binaries just for the lc040 and uniformity amongst all m68k variants.
 
 Best regards,
 
 Nat
 


Home | Main Index | Thread Index | Old Index