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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Dec 28 12:49:40 PST 2014


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

--- Comment #14 from Chris Paulson-Ellis <chris at edesix.com> ---
(In reply to David Heidelberg (okias) from comment #13)
> Created attachment 111431 [details] [review]
> 0001-util-add-check-for-bit_FXSAVE.patch
> 
> In case your CPU doesn't have FXSAVE support, this patch should 100% help.

Hmmm - the bit you tested for seems to be present...

(gdb) p /x regs
$9 = {0x2, 0x756e6547, 0x6c65746e, 0x49656e69}
(gdb) s
377             util_cpu_caps.has_daz = util_cpu_caps.has_sse3 ||
(gdb) 
378                (util_cpu_caps.has_sse2 &&
(gdb) 
379                 ((regs2[3] >> 24) & 1 /* bit_FXSAVE */ ) &&
sse2_has_daz());
(gdb) 
sse2_has_daz () at util/u_cpu_detect.c:276
276    {
(gdb) c
Continuing.

Program received signal SIGSEGV, Segmentation fault.
sse2_has_daz () at util/u_cpu_detect.c:285
285       __builtin_ia32_fxsave(&fxarea);

-- 
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/20141228/10030120/attachment.html>


More information about the mesa-dev mailing list