We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 089468f + b2f9715 commit 0b167faCopy full SHA for 0b167fa
1 file changed
wolfssl/wolfcrypt/wc_port.h
@@ -1194,7 +1194,7 @@ WOLFSSL_ABI WOLFSSL_API int wolfCrypt_Cleanup(void);
1194
#ifndef WOLFSSL_NO_FENCE
1195
#if defined (__i386__) || defined(__x86_64__)
1196
#define XFENCE() XASM_VOLATILE("lfence")
1197
- #elif defined (__arm__) || defined(__aarch64__)
+ #elif (defined (__arm__) && (__ARM_ARCH > 6)) || defined(__aarch64__)
1198
#define XFENCE() XASM_VOLATILE("isb")
1199
#elif defined(__riscv)
1200
#define XFENCE() XASM_VOLATILE("fence")
0 commit comments