================
@@ -23,7 +23,7 @@
 static __inline__ __m512i __DEFAULT_FN_ATTRS
 _mm512_popcnt_epi16(__m512i __A)
 {
-  return (__m512i) __builtin_ia32_vpopcntw_512((__v32hi) __A);
+  return (__m512i)__builtin_elementwise_popcount((__v32hi)__A);
----------------
RKSimon wrote:

I've updated all the x86 cases to use unsigned for consistency - 
`__builtin_elementwise_popcount` doesn't really care, although it expects 
src/dst types to match (although x86 casts back to _mXXXi types anyway).

https://github.com/llvm/llvm-project/pull/109160
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to