1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-20 02:25:14 -07:00

glibc requires #pragma GCC target("sse2") to use SSE2 instructions

This commit is contained in:
Frank Denis 2014-05-01 13:55:09 -07:00
parent 5df1a09f9a
commit 840b0f243d

View File

@ -29,6 +29,7 @@
*/
#ifdef HAVE_EMMINTRIN_H
#pragma GCC target("sse2")
#include <emmintrin.h>
#if defined(__XOP__) && defined(DISABLED)
#include <x86intrin.h>