<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - [softpipe] glxgears floating point exception"
href="https://bugs.freedesktop.org/show_bug.cgi?id=66806#c7">Comment # 7</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - [softpipe] glxgears floating point exception"
href="https://bugs.freedesktop.org/show_bug.cgi?id=66806">bug 66806</a>
from <span class="vcard"><a class="email" href="mailto:sroland@vmware.com" title="Roland Scheidegger <sroland@vmware.com>"> <span class="fn">Roland Scheidegger</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=66806#c6">comment #6</a>)
<span class="quote">> (gdb) info registers mxcsr
> mxcsr 0x8060 [ PE DAZ FZ ]</span >
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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>