In the final SIMD spec, there is only a single v128.any_true instruction, rather
than one for each lane interpretation because the semantics do not depend on the
lane interpretation.
Details
Details
- Reviewers
aheejin dschuff - Commits
- rGea8dd3ee2eb4: [WebAssembly] Update v128.any_true
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Not related to this CL, but why isn't all_true also a single instruction? Does that depend on the lane size?
Comment Actions
all_true returns true if all lanes are non-zero, not just if all lanes are -1. So if there are just a few bits set throughout the vector, whether all lanes are non-zero might depend on the lane interpretation.