<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:renato.golin@linaro.org" title="Renato Golin <renato.golin@linaro.org>"> <span class="fn">Renato Golin</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - Problem when passing small vector as parameter for ARM + NEON target"
   href="https://llvm.org/bugs/show_bug.cgi?id=13275">bug 13275</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;">Status</td>
           <td>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">CC</td>
           <td>
                
           </td>
           <td>renato.golin@linaro.org
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>INVALID
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - Problem when passing small vector as parameter for ARM + NEON target"
   href="https://llvm.org/bugs/show_bug.cgi?id=13275#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - Problem when passing small vector as parameter for ARM + NEON target"
   href="https://llvm.org/bugs/show_bug.cgi?id=13275">bug 13275</a>
              from <span class="vcard"><a class="email" href="mailto:renato.golin@linaro.org" title="Renato Golin <renato.golin@linaro.org>"> <span class="fn">Renato Golin</span></a>
</span></b>
        <pre>Funny enough, GAS is now perfectly ok with the syntax, and throws errors if we
use 64:

$ arm-none-eabi-as -march=armv7-a -mcpu=cortex-a9 -mfpu=neon -mfloat-abi=hard
bar.s 
bar.s: Assembler messages:
bar.s:30: Error: unsupported alignment for instruction -- `vld1.16
{d16[0]},[r1:64]'
bar.s:31: Error: unsupported alignment for instruction -- `vld1.16
{d17[0]},[r0:64]'

While LLVM-MC seems to be on the same page:

$ echo "vld1.16{d16[0]}, [r1:64]" | llvm-mc -triple=armv7-a-linux-gnueabihf
-mcpu=cortex-a9 -show-encoding
    .text
<stdin>:1:22: error: alignment must be 16 or omitted
vld1.16{d16[0]}, [r1:64]
                     ^

Even though the ARM ARM (A8.8.320) seems to imply it should be in bits, both
tools want in bytes, and identical to the element size (which makes some
sense).</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>