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

--- Comment #14 from Chris Paulson-Ellis <ch...@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.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to