<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 - Arm backend does not recognise "vmov R, R[n]"."
   href="https://bugs.llvm.org/show_bug.cgi?id=38560">38560</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Arm backend does not recognise "vmov R, R[n]".
          </td>
        </tr>

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

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

        <tr>
          <th>Hardware</th>
          <td>All
          </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>new bugs
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>iains-llvm@btconnect.com
          </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=20711" name="attach_20711" title="add vmov R, R[n] insn alias.">attachment 20711</a> <a href="attachment.cgi?id=20711&action=edit" title="add vmov R, R[n] insn alias.">[details]</a></span>
add vmov R, R[n] insn alias.

ran into this building newlib.

The documentation for the vmov insn says that in 
"vmov.32 R, R[n]" the ".32" may be ommitted and is assumed to be 32.

patch adds an insn alias for this, unless there's expected to be an alternate
solution?


testcase

=====
$ more /src/test-arm/bare-vmov.S 
#define synd            r0

/*  NEON registers */

#define vdata0_0        d2      /* Lower half of vdata0 */

        .syntax unified
        .arch   armv7-a
        .fpu    neon

        .text
        .thumb_func

        .global foo
        .type foo,%function
        .cfi_startproc

foo:

        /* Termination condition found, let's calculate the syndrome value. */
        vmov            synd, vdata0_0[0]

        bx      lr

        .cfi_endproc
        .size   foo, . - foo</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>