summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib
diff options
context:
space:
mode:
authorjsing <>2023-06-21 07:48:41 +0000
committerjsing <>2023-06-21 07:48:41 +0000
commitf91290f116c7d9e13993e1e56be029f210d76516 (patch)
tree279fd7ba83f6adb19a12c4a0d34196850a955e43 /src/lib/libc/stdlib
parente977838d69c1994d3229516f8fca1fe64aafb9cb (diff)
downloadopenbsd-f91290f116c7d9e13993e1e56be029f210d76516.tar.gz
openbsd-f91290f116c7d9e13993e1e56be029f210d76516.tar.bz2
openbsd-f91290f116c7d9e13993e1e56be029f210d76516.zip
Provide and use bn_clzw() in place of bn_word_clz().
On some architectures, we can provide an optimised (often single instruction) count-leading-zero implementation. In order to do this effectively, provide bn_clzw() as a static inline that can be replaced by an architecture specific version. The default implementation defers to the bn_word_clz() function (which may also be architecture specific). ok tb@
Diffstat (limited to 'src/lib/libc/stdlib')
0 files changed, 0 insertions, 0 deletions