<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#c14">Comment # 14</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:chris@edesix.com" title="Chris Paulson-Ellis <chris@edesix.com>"> <span class="fn">Chris Paulson-Ellis</span></a>
</span></b>
        <pre>(In reply to David Heidelberg (okias) from <a href="show_bug.cgi?id=87658#c13">comment #13</a>)
<span class="quote">> Created <span class=""><a href="attachment.cgi?id=111431" name="attach_111431" title="0001-util-add-check-for-bit_FXSAVE.patch">attachment 111431</a> <a href="attachment.cgi?id=111431&action=edit" title="0001-util-add-check-for-bit_FXSAVE.patch">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=87658&attachment=111431'>[review]</a> [review]
> 0001-util-add-check-for-bit_FXSAVE.patch

> In case your CPU doesn't have FXSAVE support, this patch should 100% help.</span >

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);</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>