[Mesa-dev] [Bug 66806] [softpipe] glxgears floating point exception

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jul 23 06:38:23 PDT 2013


https://bugs.freedesktop.org/show_bug.cgi?id=66806

--- Comment #7 from Roland Scheidegger <sroland at vmware.com> ---
(In reply to comment #6)
> (gdb) info registers mxcsr
> mxcsr          0x8060	[ PE DAZ FZ ]
Hmm that is just crazy, somehow all exceptions got unmasked and we get a
precision exception (which is really useless as you get that with just about
any floating point instruction).
Doesn't make sense to me since the code does:
unsigned fpstate = util_fpstate_get();
util_fpstate_set_denorms_to_zero(fpstate); 

which should preserve all already masked exceptions, as the latter simply adds
some bits. Maybe somehow the compiler reorders things or something like that,
though I'm pretty sure it shouldn't, or need to add some more keywords like
volatile or whatnot, but I don't see anything obvious.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130723/faecfcce/attachment.html>


More information about the mesa-dev mailing list