<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED NOTOURBUG - d3dadapter.so (gallium-nine) segfaults since Mesa 11.0/LLVM 3.7"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=93425#c8">Comment # 8</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED NOTOURBUG - d3dadapter.so (gallium-nine) segfaults since Mesa 11.0/LLVM 3.7"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=93425">bug 93425</a>
              from <span class="vcard"><a class="email" href="mailto:haagch@frickel.club" title="Christoph Haag <haagch@frickel.club>"> <span class="fn">Christoph Haag</span></a>
</span></b>
        <pre>Created <span class=""><a href="attachment.cgi?id=120603" name="attach_120603" title="disassembled release build with -mstackrealign">attachment 120603</a> <a href="attachment.cgi?id=120603&action=edit" title="disassembled release build with -mstackrealign">[details]</a></span>
disassembled release build with -mstackrealign

Here is my release build with -mstackrealign that works:

<a href="http://haagch.frickel.club/files/lib32-llvm-libs-svn-256101-1-x86_64.pkg.tar.gz">http://haagch.frickel.club/files/lib32-llvm-libs-svn-256101-1-x86_64.pkg.tar.gz</a>
<a href="http://haagch.frickel.club/files/lib32-llvm-svn-256101-1-x86_64.pkg.tar.gz">http://haagch.frickel.club/files/lib32-llvm-svn-256101-1-x86_64.pkg.tar.gz</a>

They are compiled with -march=native for my ivy bridge cpu, so maybe that has
some influence.

Disassembling the same function shows different offsets for movaps:

   0x0047a805 <+69>:    movaps %xmm0,-0x48(%ebp)

   0x0047a815 <+85>:    movaps %xmm0,-0x38(%ebp)

You can check with

gdb -q /usr/lib32/libLLVM-3.8svn.so -ex "disassemble
LLVMAddTargetDependentFunctionAttr"

Probably:
movaps %xmm0,-0x48(%ebp) is right
movaps %xmm0,-0x40(%ebp) is wrong</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>