diff --git a/src/libsodium/crypto_aead/aes256gcm/aesni/aead_aes256gcm_aesni.c b/src/libsodium/crypto_aead/aes256gcm/aesni/aead_aes256gcm_aesni.c index 2fa675ad..7c82a472 100644 --- a/src/libsodium/crypto_aead/aes256gcm/aesni/aead_aes256gcm_aesni.c +++ b/src/libsodium/crypto_aead/aes256gcm/aesni/aead_aes256gcm_aesni.c @@ -57,8 +57,8 @@ typedef __m128i BlockVec; #define CLMULHI128(a, b) _mm_clmulepi64_si128((a), (b), 0x11) #define CLMULLOHI128(a, b) _mm_clmulepi64_si128((a), (b), 0x10) #define CLMULHILO128(a, b) _mm_clmulepi64_si128((a), (b), 0x01) -#define PREFETCH_READ(x) _mm_prefetch((x), 2) -#define PREFETCH_WRITE(x) _mm_prefetch((x), 2) +#define PREFETCH_READ(x) _mm_prefetch((x), _MM_HINT_T1) +#define PREFETCH_WRITE(x) _mm_prefetch((x), _MM_HINT_T1) #define ROUNDS 14