diff options
author | jsing <> | 2024-10-18 13:36:24 +0000 |
---|---|---|
committer | jsing <> | 2024-10-18 13:36:24 +0000 |
commit | 8ca2cf944a22a441df7aea76d387ae44564b6b72 (patch) | |
tree | 9f24e49a607732139a986f4abb3735d101835046 /src/lib/libc/string/strcpy.c | |
parent | e6bf2a143492c14e535a08bc31d4d0766f703f1a (diff) | |
download | openbsd-8ca2cf944a22a441df7aea76d387ae44564b6b72.tar.gz openbsd-8ca2cf944a22a441df7aea76d387ae44564b6b72.tar.bz2 openbsd-8ca2cf944a22a441df7aea76d387ae44564b6b72.zip |
Provide crypto_cpu_caps_init() for amd64.
This is a CPU capability detection implementation in C, with minimal
inline assembly (for cpuid and xgetbv). This replaces the assembly
mess generated by x86_64cpuid.pl. Rather than populating OPENSSL_ia32cap_P
directly with CPUID output, just set the bits that the remaining
perlasm checks (namely AESNI, AVX, FXSR, INTEL, HT, MMX, PCLMUL, SSE, SSE2
and SSSE3).
ok joshua@ tb@
Diffstat (limited to 'src/lib/libc/string/strcpy.c')
0 files changed, 0 insertions, 0 deletions