ssse3 target is required in addition to sse4.1

This commit is contained in:
Frank Denis 2015-10-10 19:40:29 +02:00
parent f267352eec
commit c3195da04d
2 changed files with 2 additions and 1 deletions

View File

@ -273,7 +273,7 @@ noinst_LTLIBRARIES = libaesni.la libsse2.la
libaesni_la_LDFLAGS = $(libsodium_la_LDFLAGS) libaesni_la_LDFLAGS = $(libsodium_la_LDFLAGS)
libaesni_la_CPPFLAGS = $(libsodium_la_CPPFLAGS) \ libaesni_la_CPPFLAGS = $(libsodium_la_CPPFLAGS) \
@CFLAGS_SSE4_1@ @CFLAGS_AESNI@ @CFLAGS_PCLMUL@ @CFLAGS_SSSE3@ @CFLAGS_SSE4_1@ @CFLAGS_AESNI@ @CFLAGS_PCLMUL@
libaesni_la_SOURCES = \ libaesni_la_SOURCES = \
crypto_aead/aes256gcm/aesni/aead_aes256gcm_aesni.c crypto_aead/aes256gcm/aesni/aead_aes256gcm_aesni.c

View File

@ -13,6 +13,7 @@
#ifdef HAVE_WMMINTRIN_H #ifdef HAVE_WMMINTRIN_H
#pragma GCC target("ssse3")
#pragma GCC target("sse4.1") #pragma GCC target("sse4.1")
#pragma GCC target("aes") #pragma GCC target("aes")
#pragma GCC target("pclmul") #pragma GCC target("pclmul")