[llvm-bugs] [Bug 51488] New: Add neon_cnt and neon_addv8 for 64-bit ARM for parity with MSVC

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Aug 16 03:25:41 PDT 2021


https://bugs.llvm.org/show_bug.cgi?id=51488

            Bug ID: 51488
           Summary: Add neon_cnt  and neon_addv8 for 64-bit ARM for parity
                    with MSVC
           Product: clang
           Version: 12.0
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++
          Assignee: unassignedclangbugs at nondot.org
          Reporter: fsb4000 at yandex.ru
                CC: blitzrakete at gmail.com, dgregor at apple.com,
                    erik.pilkington at gmail.com, llvm-bugs at lists.llvm.org,
                    richard-llvm at metafoo.co.uk

Hello.
I started to work on popcount optimization on ARM64:
https://github.com/microsoft/STL/pull/2127
and I found linking errors with clang-cl.
Could you provide neon_cnt and neon_addv8? (Also neon_cntq, neon_addvq8 for
future optimizing bitset:
https://github.com/microsoft/STL/issues/2129#issuecomment-899300269)

```
__n64  neon_cnt(__n64);
__n128 neon_cntq(__n128);
__n8  neon_addv8(__n64);
__n8  neon_addvq8(__n128);
```

Or do you already provide similar intrinsics with different names?
I am slightly worried that they are not _Ugly.
So maybe I should ask Microsoft as well, maybe they should rename it if you
already have it with suitable names...

I used Windows 10 x86-64, Visual Studio 2022 Preview 3, Clang 12 from Visual
Studio.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210816/ce5140e2/attachment-0001.html>


More information about the llvm-bugs mailing list