[Mesa-dev] [Bug 102466] gallium/auxiliary/util/u_cpu_detect.c: 2 * bad condition ?

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Aug 29 12:22:52 UTC 2017


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

--- Comment #3 from Emil Velikov <emil.l.velikov at gmail.com> ---
(In reply to dcb314 from comment #2)

> I think you missed the point. Any expression ANDed with 6 will be != 6.
> 
How about when xgetbv() returns say 6 or 7 (amongst others)?

Also keep in mind that the file depends on multiple defines. Based on a _very_
old play with Mesa + cppcheck, the latter was tripping quite often, producing
false positives.

The OS/compiler request does not sound that unreasonable ;-)

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


More information about the mesa-dev mailing list