3 ms·
It's probably close enough, vrgather zeros when out-of-bonds and has a masked variant that leaves unmasked elements undisturbed.
by camel-cdr 2y ago
It's probably close enough, vrgather zeros when out-of-bonds and has a masked variant that leaves unmasked elements undisturbed.
- janwas 2y agoRight, though the out of bounds depends on VL, which makes it less generally useful than a known 128-bit limit. It also requires at least one extra instruction to get a mask.