WingNews logo WingNews
top | new | best | ask | show | jobs
top | item 42485731

(no title)

RaisingSpear | 1 year ago

For CPUs that support AVX-512 VBMI, there's a faster reciprocal-based approach: https://avereniect.github.io/2023/04/29/uint8_division_using...

A VBMI2 example implementation can be found in the function named divide_with_lookup_16b: https://godbolt.org/z/xdE1dx5Pj

discuss

order

No comments yet.

powered by hn/api // news.ycombinator.com