logoalt Hacker News

Vectorized CLZ and CTZ

30 points • by zX41ZdbW • yesterday at 3:36 AM • 4 comments • view on HN

Comments

wahern • today at 4:20 AM

Pretty cool that they seemed to have come up with the idea on their own, but they're definitely not the first: https://graphics.stanford.edu/~seander/bithacks.html#ZerosOn...

➕ show 1 reply
jandrewrogers • today at 2:17 AM

This is a good illustration of what competent SIMD code requires.

saagarjha • today at 2:18 AM

Might be useful on a GPU or something I guess?