tlively marked an inline comment as done.
tlively added inline comments.

================
Comment at: clang/include/clang/Basic/BuiltinsWebAssembly.def:117
 
+TARGET_BUILTIN(__builtin_wasm_popcnt, "V16ScV16Sc", "nc", "simd128")
+
----------------
aheejin wrote:
> - Even if there's only one vector type for a builtin, it seems others still 
> have type postfix attached.
> - Is the result also a vector? Does that mean this instruction count each 16 
> slot separately?
Yes, the it does a popcnt on each 1-byte lane individually.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D89446/new/

https://reviews.llvm.org/D89446

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to