N
Hacker Next
new
past
show
ask
show
jobs
submit
login
▲
Vectorized CLZ and CTZ
(
purplesyringa.moe
)
27 points by
zX41ZdbW
1 days ago
|
3 comments
add comment
Rendered at 04:40:02 GMT+0000 (Coordinated Universal Time) with Cloudflare Workers.
wahern 20 minutes ago
[-]
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...
jandrewrogers 2 hours ago
[-]
This is a good illustration of what competent SIMD code requires.
saagarjha 2 hours ago
[-]
Might be useful on a GPU or something I guess?