<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][NEON] Missing vXi64 popcnt lowering"
   href="https://bugs.llvm.org/show_bug.cgi?id=39281">39281</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[ARM][NEON] Missing vXi64 popcnt lowering
          </td>
        </tr>

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

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

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Windows NT
          </td>
        </tr>

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

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>Backend: ARM
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>llvm-dev@redking.me.uk
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>efriedma@codeaurora.org, llvm-bugs@lists.llvm.org, sam.parker@arm.com, t.p.northover@gmail.com, tim.northover@arm.com
          </td>
        </tr>

        <tr>
          <th>Blocks</th>
          <td>32655
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Discovered while adding CTPOP vector expansion support (PR32655), vXi8, vXi16
and vXi32 popcnt lowering is present but vXi64 is missing.

IIRC from the last time I touched a raspberry-pi, this should be achievable
with:

uint64x2_t a
  vpaddlq_u32( vpaddlq_u16( vpaddlq_u8( vcntq_u8( vreinterpretq_u8_u64(a) ) ) )
)

Interestingly, the vXi16 and vXi32 lowerings don't use the PADDL instructions,
so there might be a reason I'm not aware of to avoid these?</pre>
        </div>
      </p>

        <div id="referenced">
          <hr style="border: 1px dashed #969696">
          <b>Referenced Bugs:</b>
          <ul>
              <li>
                [<a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Improve generic vector CTPOP expansion"
   href="https://bugs.llvm.org/show_bug.cgi?id=32655">Bug 32655</a>] Improve generic vector CTPOP expansion
              </li>
          </ul>
        </div>
        <br>

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

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