<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - gallium/auxiliary/util/u_cpu_detect.c: 2 * bad condition ?"
href="https://bugs.freedesktop.org/show_bug.cgi?id=102466#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - gallium/auxiliary/util/u_cpu_detect.c: 2 * bad condition ?"
href="https://bugs.freedesktop.org/show_bug.cgi?id=102466">bug 102466</a>
from <span class="vcard"><a class="email" href="mailto:dcb314@hotmail.com" title="dcb314@hotmail.com">dcb314@hotmail.com</a>
</span></b>
<pre>(In reply to Gert Wollny from <a href="show_bug.cgi?id=102466#c1">comment #1</a>)
<span class="quote">> It would be helpful to add on which OS and with which compiler and for what
> architecture you were compiling mesa, because depending on the build
> environment xgetbv() may simply return 0 as a fallback (see lines 259-277 in
> the same file).</span >
I think you missed the point. Any expression ANDed with 6 will be != 6.
OS, compiler and arch independent. For the record, Linux, gcc and x86_64,
although I used a static analyser called cppcheck to find this bug.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>