aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/utils/mul128.h
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-12-22 08:31:04 -0500
committerJack Lloyd <[email protected]>2018-12-22 08:31:04 -0500
commit108ccfa35f5d24e41c586c5b1184934f6f538d52 (patch)
tree3d48821506144c9a85f28d7176bf37554db8e575 /src/lib/utils/mul128.h
parent7c92530d47f9c7475f76e3d547480cb62c82a148 (diff)
Make ctz and high_bit faster and const-time-ish
They get compiled as const-time on x86-64 with GCC but I don't think this can be totally relied on. But it is anyway an improvement. And, faster, because we compute it recursively
Diffstat (limited to 'src/lib/utils/mul128.h')
0 files changed, 0 insertions, 0 deletions