bnjbvr commented on Issue #2610:
@cfallin done! Also done popcnt, same category of easy todos.
For Clz/Ctz, in theory we could use Tzcount/Lzcount for i128 too: that requires local control flow (e.g. for Clz, lzcount on high component, if it's non zero it's the right result, otherwise the result is lzcount on the low component), so a new Vcode inst. Could be done in a subsequent PR.
Last updated: Nov 22 2024 at 16:03 UTC