As proposed at https://github.com/WebAssembly/simd/pull/379. Use a target
builtin and intrinsic rather than normal codegen patterns to make the
instruction opt-in until it is merged to the proposal and stabilized in engines.
Details
Details
- Reviewers
aheejin - Commits
- rG1992e30c2d75: [WebAssembly] Prototype i8x16.popcnt
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang/include/clang/Basic/BuiltinsWebAssembly.def | ||
---|---|---|
117 |
|
clang/include/clang/Basic/BuiltinsWebAssembly.def | ||
---|---|---|
117 | Yes, the it does a popcnt on each 1-byte lane individually. |