[Issue 4155] return of NaN to temporary fails equality test
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Feb 23 06:42:53 PST 2012
http://d.puremagic.com/issues/show_bug.cgi?id=4155
yebblies <yebblies at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |pull
CC| |yebblies at gmail.com
Platform|Other |x86
AssignedTo|nobody at puremagic.com |yebblies at gmail.com
OS/Version|Windows |All
Severity|normal |critical
--- Comment #1 from yebblies <yebblies at gmail.com> 2012-02-24 01:42:51 EST ---
https://github.com/D-Programming-Language/dmd/pull/760
When T is a float or double, and in memory, dmd loads it to gp registers,
doubles it, then tests for zero. When it's in ST(0), dmd uses fucompp to test
but the code that tests the flags is unaware of this and doesn't check the zero
flag to see if it was a nan comparison.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list