|
More research into this issue: I compiled the unittest.exe
executable on my main (desktop) computer, ran it under my primary OS
(Win7 64) and it failed.. I then ran the exact same executable
(no recompile) on my Linux Partition (Ubuntu 10.10 64) using
Wine and it failed. I then ran the exact same executable on my laptop on my primary OS (also Win7 64) and it passed. I ran it on my laptop's Linux partition under Wine (Ubuntu 10.10 32) and it passed. The only difference between the two systems that might account for this is that the laptop has an Intel Penryn CPU, whereas the desktop as an AMD Brisbane CPU. Does anyone know whether different x86 CPUs can produce subtly different floating point results when executing the exact same code? Alternatively, is it possible that some processor-specific optimizations to some function getting called by Don's code could be causing slightly different results? On 11/20/2010 9:25 PM, Brad Roberts wrote: The auto tester is on win7 32 bit. On 11/20/2010 5:43 PM, David Simcha wrote:Yes, I'm running Windows 7 64-bit. In addition to running 32-bit Windows, Don is running Windows XP IIRC. It's probably related somehow to different C runtimes. At any rate, the unit tests need to be made lenient enough that such minor details as constant folding and minor differences in C runtimes don't make the difference between passing and failing. I don't understand the code well enough to do this myself, but I'm willing to help by testing whatever Don asks me to test. Also, after this issue is cleared up, I'll probably try re-committing the dynamic-to-static changeset, as I'm pretty sure the problem here is with the unit tests, not the changes.On 11/20/2010 8:10 PM, Jonathan M Davis wrote:Didn't you say that you were running 64 bit windows whereas Don said that he was running 32 bit windows? Could that be having any effect?_______________________________________________ phobos mailing list [email protected] http://lists.puremagic.com/mailman/listinfo/phobos_______________________________________________ phobos mailing list [email protected] http://lists.puremagic.com/mailman/listinfo/phobos |
_______________________________________________ phobos mailing list [email protected] http://lists.puremagic.com/mailman/listinfo/phobos
