|
|
|
|
|
by actionfromafar
411 days ago
|
|
I think GCC didn't have the emulating library, but the operating system had. (Such as Debian.) So you could compile and link your programs against a soft-float library. ( Something like this https://github.com/ant6n/ieeelib ) What this NetBSD project does is not exactly like that though, it lets programs use regular 487 float instructions, which are trapped by the kernel, which steps in and emulates what the hardware float instruction would have done. It worked very well for regular program, because most programs would not use float instructions to any significant degree. If you however were going to use floats a lot for long calculations, a soft-float library would be much faster. |
|
At least this is my impression, working with 2.2.x/2.4.x kernels, gcc 2.7~3.3, and glibc ~2.2