[Mesa-dev] [Bug 87658] [llvmpipe] SEGV in sse2_has_daz on ancient Pentium4-M

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Dec 29 14:34:19 PST 2014


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

--- Comment #19 from Roland Scheidegger <sroland at vmware.com> ---
Maybe using
PIPE_ALIGN_STACK static INLINE boolean sse2_has_daz(void)
would do the trick. I guess the PIPE_ALIGN_VAR on a stack'ed variable isn't
working otherwise. Not sure though this works on inlined functions?
(Rant mode on: I _really_ hate detection of daz flag on x86-32. Most
complicated way to do simple feature detection ever. What the hell were intel
thinking???)
Otherwise if this still doesn't work could do as ubizjak suggested could use
malloc'ed memory I guess.
Checking for fxsave support should not be necessary, since we call this only
when we have sse2 in the first place, which should be impossible without
fxsave.

-- 
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/20141229/f6ce6f9b/attachment.html>


More information about the mesa-dev mailing list