<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 - llvm-mc-7 fails to decode AVX-512 vshuff32x2, vshuff64x2, vshuff32x2 and vshuff64x2 opcodes."
   href="https://bugs.llvm.org/show_bug.cgi?id=42293">42293</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>llvm-mc-7 fails to decode AVX-512 vshuff32x2, vshuff64x2, vshuff32x2 and vshuff64x2 opcodes.
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>tools
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>7.0
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </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>llvmc
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>hgreving@google.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>llvm-mc-7 fails to decode opcodes above.

e.g.

echo "0x62 0xf3 0x75 0x08 0x23 0xc2 0x25" | /usr/bin/llvm-mc-7 -disassemble
-triple=x86_64

        .text
<stdin>:1:1: warning: invalid instruction encoding
0x62 0xf3 0x75 0x08 0x23 0xc2 0x25
^
<stdin>:1:26: warning: invalid instruction encoding
0x62 0xf3 0x75 0x08 0x23 0xc2 0x25
                         ^
<stdin>:1:31: warning: invalid instruction encoding
0x62 0xf3 0x75 0x08 0x23 0xc2 0x25
                              ^
Should be (e.g. from binutils)

objdump -d test | grep shuf
 5fe:   62 f3 75 08 23 c2 25    vshuff32x4 $0x25,%xmm2,%xmm1,%xmm0</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>