mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-23 20:15:19 -07:00
parent
b795a93fa8
commit
fb4533b0a9
@ -20,9 +20,12 @@
|
||||
#ifdef __clang__
|
||||
#pragma clang attribute push(__attribute__((target("neon,crypto,aes"))), apply_to = function)
|
||||
#elif defined(__GNUC__)
|
||||
#pragma GCC target("neon,crypto,aes")
|
||||
#pragma GCC target("+simd+crypto")
|
||||
#endif
|
||||
|
||||
#ifndef __ARM_FEATURE_CRYPTO
|
||||
#define __ARM_FEATURE_CRYPTO 1
|
||||
#endif
|
||||
#ifndef __ARM_FEATURE_AES
|
||||
#define __ARM_FEATURE_AES 1
|
||||
#endif
|
||||
|
@ -20,9 +20,12 @@
|
||||
#ifdef __clang__
|
||||
#pragma clang attribute push(__attribute__((target("neon,crypto,aes"))), apply_to = function)
|
||||
#elif defined(__GNUC__)
|
||||
#pragma GCC target("neon,crypto,aes")
|
||||
#pragma GCC target("+simd+crypto")
|
||||
#endif
|
||||
|
||||
#ifndef __ARM_FEATURE_CRYPTO
|
||||
#define __ARM_FEATURE_CRYPTO 1
|
||||
#endif
|
||||
#ifndef __ARM_FEATURE_AES
|
||||
#define __ARM_FEATURE_AES 1
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user