Ok, so I snagged the latest source from CVS, added in my patch nonsense, and got myself an EXE.
I'm going to use fbench & ffbenchout of valgrind (John Walker 1989)
Running with the Apple compiler, it works 100% no issues!
Code: Select all
jaderabbit.root # cc fbench.c -o fbench -lm
"fbench.c", line 867: warning: statement not reached
jaderabbit.root # ./fbench
Beginning execution of floating point accuracy test...
Pass 100.
Code: Select all
jaderabbit.root # gcc -v
Reading specs from /usr/local/Gnu/lib/gcc/aux/2.7.2/specs
gcc version 2.7.2
jaderabbit.root # gcc fbench.c -o fbench -lm
jaderabbit.root # ./fbench
Beginning execution of floating point accuracy test...
Error in pass 1 for results on line 2...
Expected: " Paraxial ray 47.08372160249 0.04177864821"
Received: " Paraxial ray 47.08372160249 0.04177864820"
(Errors) ^
By comparisson, I've been playing with GCC for the Sharp x68000... And XM6 TypeG has a 68881 emulation or host FPU swap, and it consistently has the same errors...
Beginning execution of floating point accuracy test...
Code: Select all
D:\x68000\shared>human68k-gcc -v
Using built-in specs.
COLLECT_GCC=human68k-gcc
COLLECT_LTO_WRAPPER=d:/x68000/dev/bin/../libexec/gcc/human68k/4.6.2/lto-wrapper.
exe
Target: human68k
Configured with: ../../../gcc-human68k/configure --prefix=/ --target=human68k --
host=i686-pc-mingw32 --disable-nls --with-newlib --without-headers --disable-lib
ssp --with-mpc=/home/lmaillet/x68k/tc-w32/packages/mpc-0.8.2/ --enable-languages
=c
Thread model: single
gcc version 4.6.2 (GCC)
D:\x68000\shared>human68k-gcc -m68030 -m68881 fbench.c -o fbench -lm
D:\x68000\shared>human68k-objcopy -v -O xfile fbench fbench.X
copy from `fbench' [elf32-m68k] to `fbench.X' [xfile]
Code: Select all
Error in pass 1 for results on line 1...
Expected: " Marginal ray 47.09479120920 0.04178472683"
Received: " Marginal ray -76.60446725159 -0.62065031521"
(Errors) ^^^ ^^ ^^^ ^^^^ ^ ^^^^^^^^^^^
Error in pass 1 for results on line 3...
Expected: "Longitudinal spherical aberration: -0.01106960671"
Received: "Longitudinal spherical aberration: 123.68818885408"
(Errors) ^^^ ^^^^^^^^^^^
Error in pass 1 for results on line 4...
Expected: " (Maximum permissible): 0.05306749907"
Received: " (Maximum permissible): 0.00018529689"
(Errors) ^^^^^^ ^^^
Error in pass 1 for results on line 5...
Expected: "Offense against sine condition (coma): 0.00008954761"
Received: "Offense against sine condition (coma): 1.01305406898"
(Errors) ^ ^^ ^^^^^^^
Error in pass 1 for results on line 7...
Expected: "Axial chromatic aberration: 0.00448229032"
Received: "Axial chromatic aberration: -0.70692188363"
(Errors) ^ ^ ^^^^^^^^^
Error in pass 1 for results on line 8...
Expected: " (Maximum permissible): 0.05306749907"
Received: " (Maximum permissible): 0.00018529689"
(Errors) ^^^^^^ ^^^
So yeah, excellent job!!!!