diff options
author | jsing <> | 2025-06-09 14:28:34 +0000 |
---|---|---|
committer | jsing <> | 2025-06-09 14:28:34 +0000 |
commit | 011a1f76b32897df27867f465cf66a9db9a7ddf0 (patch) | |
tree | 6c411eca3de0b4b777e48c9aba4d6dd13c8e899a /src/lib/libc | |
parent | 1a0c3eab9c4462c15d6a3062e0053989404f8a8d (diff) | |
download | openbsd-011a1f76b32897df27867f465cf66a9db9a7ddf0.tar.gz openbsd-011a1f76b32897df27867f465cf66a9db9a7ddf0.tar.bz2 openbsd-011a1f76b32897df27867f465cf66a9db9a7ddf0.zip |
Make OPENSSL_IA32_SSE2 the default for i386 and remove the flag.
The OPENSSL_IA32_SSE2 flag controls whether a number of the perlasm
scripts generate additional implementations that use SSE2 functionality.
In all cases except ghash, the code checks OPENSSL_ia32cap_P for SSE2
support, before trying to run SSE2 code. For ghash it generates a CLMUL
based implementation in addition to different MMX version (one MMX
version hides behind OPENSSL_IA32_SSE2, the other does not), however this
does not appear to actually use SSE2. We also disable AES-NI on i386 if
OPENSSL_IA32_SSE2.
On OpenBSD, we've always defined OPENSSL_IA32_SSE2 so this is effectively
a no-op. The only change is that we now check MMX rather than SSE2 for the
ghash MMX implementation.
ok bcook@ beck@
Diffstat (limited to 'src/lib/libc')
0 files changed, 0 insertions, 0 deletions