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

--- Comment #19 from Roland Scheidegger <srol...@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.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to