diff options
| author | jsing <> | 2023-02-16 11:13:05 +0000 |
|---|---|---|
| committer | jsing <> | 2023-02-16 11:13:05 +0000 |
| commit | 78b6c67232479df5c8a2d1b39ea628f0341a4202 (patch) | |
| tree | a71844b7fce221564ef504741b86d1f18d98a9eb /src/lib/libc | |
| parent | 3c4a975cefd1abb53303b3878d5531bcd9212000 (diff) | |
| download | openbsd-78b6c67232479df5c8a2d1b39ea628f0341a4202.tar.gz openbsd-78b6c67232479df5c8a2d1b39ea628f0341a4202.tar.bz2 openbsd-78b6c67232479df5c8a2d1b39ea628f0341a4202.zip | |
Enable s2n-bignum word_clz() on amd64.
The BN_num_bits_word() function is a hot path, being called more than
80 million times during a libcrypto regress run. The word_clz()
implementation uses five instructions to do the same as the generic code
that uses more than 60 instructions.
Discussed with tb@
Diffstat (limited to 'src/lib/libc')
0 files changed, 0 insertions, 0 deletions
