Hi, I've tooled up libm from http://www.netlib.org/fdlibm/ and a hacked floatlib.c in lib/3rdparty. With -msoft-float added in win32k.rbuild, it works. I built the lib separate on XP mingw build environment and I compiled and ran a fp test program (tst-ieee754.c) than compared the results with standard gcc. The results are almost the same. The thing even boots and draws okay. Floatlib.c is very old and I will soon start testing with SoftFloat to replace the gcc soft float math.
So,,,,, is it posiable to build our build environment (RosBE) to support full soft-float? So we can avoid more source in ReactOS..... Well, except libm.a ~ 93k.
or,,,
Just support the hardware floating point and move on........
Thanks, James
James Tabor wrote:
So,,,,, is it posiable to build our build environment (RosBE) to support full soft-float? So we can avoid more source in ReactOS.....
Oppose. Depending on -msoft-float will make a Visual C++ build impossible. Let's find a code/library solution instead
Ok, I've ported libm from http://www.netlib.org/fdlibm/ and working on SoftFloat from http://www.jhauser.us/arithmetic/SoftFloat.html . I have the gcc libgcc wrapper files for SoftFloat too. I guess for VC we can include wrappers..... I'm not a VC++ expert~.
Depends on Dr. Timo. We have the resources, now we need to plan something for a later time once the basic Win32k Thread/Process, etc, stuff is finishes or in a state of ~.
On Tue, Oct 28, 2008 at 11:51 AM, KJK::Hyperion hackbunny@reactos.com wrote:
James Tabor wrote:
So,,,,, is it posiable to build our build environment (RosBE) to support full soft-float? So we can avoid more source in ReactOS.....
Oppose. Depending on -msoft-float will make a Visual C++ build impossible. Let's find a code/library solution instead
Thanks, James