Re:How to check if any word is zero
by pklausler on Friday October 21, 2022 @01:02PM
(#33290376)
Besides reduction with unsigned min, one can compute a product, which will of course be zero if any element is zero. An OR reduction of the leading/trailing zero counts of the elements would also work, but would be unlikely to be fastest.
[ Parent
| on HN ]
There are no comments on this comment yet.