<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [PowerPC] VSX splat instruction bug (xxspltw)"
   href="https://bugs.llvm.org/show_bug.cgi?id=36068">36068</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[PowerPC] VSX splat instruction bug (xxspltw)
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>new-bugs
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>new bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>mleone@wetafx.co.nz
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=19735" name="attach_19735" title="Test case">attachment 19735</a> <a href="attachment.cgi?id=19735&action=edit" title="Test case">[details]</a></span>
Test case

It looks like the PowerPC VSX splat instruction (xxspltw) sometimes writes to
the wrong register.  To reproduce, compile the two attached files into an
executable, with optimization enabled (clang++ -O2 Floats.cc testFloats.cc -o
testFloats).  The bug causes it to incorrectly return a non-zero status.  If
you compare the assembly to gcc (with -O3), they are identical except for the
xxspltw output operand.</pre>
        </div>
      </p>


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

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>