WebAssembly / flexible-vectors

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

Add comparison operations #25

Closed penzn closed 3 years ago

lemaitre commented 3 years ago

Is there any plan to have mask types? Because those comparison instructions would definitely generate masks if they exist. Typically, AVX512 and SVE comparisons do generate masks and not vectors.

penzn commented 3 years ago

Good point - we would need to balance operations returning masks and operations setting lanes. I am going to add a note documenting this. Masking ops are not forgotten - we would definitely need to evaluate them.