WebAssembly / flexible-vectors

Vector operations for WebAssembly
https://webassembly.github.io/flexible-vectors/
Other
48 stars 6 forks source link

Add `all_true` and `any_true` #23

Closed penzn closed 3 years ago

penzn commented 3 years ago

Add all_true and any_true for integer intputs up to 32-bit lanes.

arunetm commented 3 years ago

Is there broader hardware support for the > 128-bit versions of these ops?

penzn commented 3 years ago

Yeah, there are "packed equal" operations longer than 128 bits.

Yaffle commented 9 months ago

Should it work only for mask vectors?

ppenzin commented 6 months ago

Sorry was between two accounts, didn't see the question. It should work without masking, though it is easy to implement that via masking as well.