mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-23 20:15:19 -07:00
Don't generate SSE2 code if that instruction set hasn't been enabled
This commit is contained in:
parent
09fd953fce
commit
a029b352af
@ -24,7 +24,7 @@ crypto_verify_64_bytes(void)
|
|||||||
return crypto_verify_64_BYTES;
|
return crypto_verify_64_BYTES;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef HAVE_EMMINTRIN_H
|
#if defined(HAVE_EMMINTRIN_H) && defined(__SSE2__)
|
||||||
|
|
||||||
# ifdef __GNUC__
|
# ifdef __GNUC__
|
||||||
# pragma GCC target("sse2")
|
# pragma GCC target("sse2")
|
||||||
|
Loading…
Reference in New Issue
Block a user