<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [llvmpipe] SEGV in sse2_has_daz on ancient Pentium4-M"
href="https://bugs.freedesktop.org/show_bug.cgi?id=87658#c19">Comment # 19</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [llvmpipe] SEGV in sse2_has_daz on ancient Pentium4-M"
href="https://bugs.freedesktop.org/show_bug.cgi?id=87658">bug 87658</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>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.</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>