Hi,
Given that the 68040 builtin FPU lacks transcendental functions and emulates them in software, I'm trying to find how to call their software emulation as a library instead of as exception traps, in order to avoid the overhead of traps.
The only thing I found is a user-developed library that fully implements transcendental functions in software... I'm wondering if there isn't any way of calling the official Motorola fp emulation as a library instead of the trap mechanism.
Isn't there any compiler option for doing that?
I'm targeting NeXTstep 3.3 if that matters.
Thanks!
Better try the newsgroup archives for this... Apparently using -DINLINE_MATH or using lookup tables is the way to go.
Also look at the libs here :
https://ftp.nice.ch/pub/next/developer/hardware/m68k/.
Quote from: "Noth"Better try the newsgroup archives for this... Apparently using -DINLINE_MATH or using lookup tables is the way to go.
Also look at the libs here : https://ftp.nice.ch/pub/next/developer/hardware/m68k/.
Thanks a lot! Lookup tables are not an option, I have a lot of code that depends on trigonometric and exponential/logarithm functions, and the way to go is to use the official Motorola lib, IMHO. Thanks a lot for all these hints!!!
You're welcome! It was quite fun trawling through Usenet to find information on this...