mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-02-22 00:40:41 +00:00
Replace cpu modifier flags
`crypto` should be replace with `aes`. See https://arm-software.github.io/acle/main/acle.html#cryptographic-extensions Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
This commit is contained in:
parent
8bfa24b021
commit
893be8d10f
@ -78,11 +78,11 @@
|
|||||||
# if __ARMCOMPILER_VERSION <= 6090000
|
# if __ARMCOMPILER_VERSION <= 6090000
|
||||||
# error "Must use minimum -march=armv8-a+crypto for MBEDTLS_AESCE_C"
|
# error "Must use minimum -march=armv8-a+crypto for MBEDTLS_AESCE_C"
|
||||||
# else
|
# else
|
||||||
# pragma clang attribute push (__attribute__((target("crypto,aes"))), apply_to=function)
|
# pragma clang attribute push (__attribute__((target("aes"))), apply_to=function)
|
||||||
# define MBEDTLS_POP_TARGET_PRAGMA
|
# define MBEDTLS_POP_TARGET_PRAGMA
|
||||||
# endif
|
# endif
|
||||||
# elif defined(__clang__)
|
# elif defined(__clang__)
|
||||||
# pragma clang attribute push (__attribute__((target("crypto"))), apply_to=function)
|
# pragma clang attribute push (__attribute__((target("aes"))), apply_to=function)
|
||||||
# define MBEDTLS_POP_TARGET_PRAGMA
|
# define MBEDTLS_POP_TARGET_PRAGMA
|
||||||
# elif defined(__GNUC__)
|
# elif defined(__GNUC__)
|
||||||
# pragma GCC push_options
|
# pragma GCC push_options
|
||||||
|
Loading…
x
Reference in New Issue
Block a user