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: unassignedclangb...@nondot.org
Reporter: fsb4...@yandex.ru
CC: blitzrak...@gmail.com, dgre...@apple.com,
erik.pilking...@gmail.com, llvm-bugs@lists.llvm.org,
richard-l...@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs