<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#c21">Comment # 21</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>(In reply to Chris Paulson-Ellis from <a href="show_bug.cgi?id=87658#c20">comment #20</a>)
<span class="quote">> (In reply to Roland Scheidegger from <a href="show_bug.cgi?id=87658#c19">comment #19</a>)
> > 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?

> This seems to work. Without PIPE_ALIGN_STACK, fxarea has an 8-byte aligned
> address, but with PIPE_ALIGN_STACK it is 16-byte aligned and the SEGV goes
> away.

> If preparing a final patch, remember that I had to add -mfxsr to CFLAGS to
> get the patch using __builtin_ia32_fxsave to compile.

> Thanks,
> Chris.</span >

I don't feel like messing with compile flags for now, so I'm not going to
change anything not strictly required to fix this bug.</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>