<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 aarch64 doesn't accept "mov x6, v6.2d[0]""
   href="https://bugs.llvm.org/show_bug.cgi?id=34488">34488</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>llvm-mc aarch64 doesn't accept "mov x6, v6.2d[0]"
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libraries
          </td>
        </tr>

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

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

        <tr>
          <th>OS</th>
          <td>All
          </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>Backend: AArch64
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>roland@hack.frob.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org, phosek@chromium.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>GAS accepts "mov x6, v6.2d[0]" and treats it the same as "mov x6, v6.d[0]".
Same for 8b, 16b, 2h, 4h, 8h, 2s, 4s, 1d.

The AAarch64 manual doesn't say this syntax is allowed, but it's an obvious
thing for people to do since "v6.2d" is a valid name for the whole register.

"Canonical" code such as Linaro's own cortex-strings uses "v6.2d[0]" instead of
"v6.d[0]".

AFAICT gas actually just ignores the digits before the 'd' here entirely so
they can be anything, which doesn't seem real defensible.</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>