<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:vi@endrift.com" title="vi@endrift.com">vi@endrift.com</a>
</span> changed
          <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [llvmpipe] Mesa 18.1.2 fails lp_test_format, lp_test_arit, lp_test_blend, lp_test_printf, lp_test_conv tests"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=106644">bug 106644</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">CC</td>
           <td>
                
           </td>
           <td>vi@endrift.com
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [llvmpipe] Mesa 18.1.2 fails lp_test_format, lp_test_arit, lp_test_blend, lp_test_printf, lp_test_conv tests"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=106644#c42">Comment # 42</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [llvmpipe] Mesa 18.1.2 fails lp_test_format, lp_test_arit, lp_test_blend, lp_test_printf, lp_test_conv tests"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=106644">bug 106644</a>
              from <span class="vcard"><a class="email" href="mailto:vi@endrift.com" title="vi@endrift.com">vi@endrift.com</a>
</span></b>
        <pre>I just hit what appears to be this issue today while using swrast on a G5
(PowerPC 970, 64-bit kernel, 32-bit userland). Running even glxgears would
result in a SIGILL in what appears to be gallivm-generated code on a VSX
instruction (xxlxor).

I have not tried to compile from source (I'm using a Debian Sid package) but I
did track down this block in git:
<a href="https://cgit.freedesktop.org/mesa/mesa/tree/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp?h=mesa-18.1.5&id=3f1b6ef2aa9c99bebe539f1de5a5054d90fc5dc3#n626">https://cgit.freedesktop.org/mesa/mesa/tree/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp?h=mesa-18.1.5&id=3f1b6ef2aa9c99bebe539f1de5a5054d90fc5dc3#n626</a>

It would appear that if compiled against a new enough LLVM, gallivm will enable
VSX instructions if Altivec is present at all. There should ideally be separate
checks for Altivec and VSX support instead.

I may look into this a bit deeper later but this is just the result of some
quick research.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>