autoconf: proper check for ARM crypto extensions

This commit is contained in:
Frank Denis
2023-09-13 19:28:12 +02:00
parent e5deb2c85d
commit 3e86d95ae0
+4 -2
View File
@@ -412,8 +412,9 @@ AS_IF([test "x$EMSCRIPTEN" = "x"], [
#include <arm_neon.h>
]], [[
int64x2_t x = { 0, 0 };
vaeseq_u8(vmovq_n_u8(0), vmovq_n_u8(0));
vmull_high_p64(vmovq_n_u8(0), vmovq_n_u8(0));
vmull_high_p64(vreinterpretq_p64_s64(x), vreinterpretq_p64_s64(x));
#ifdef __clang__
# pragma clang attribute pop
@@ -445,8 +446,9 @@ AS_IF([test "x$EMSCRIPTEN" = "x"], [
#include <arm_neon.h>
]], [[
int64x2_t x = { 0, 0 };
vaeseq_u8(vmovq_n_u8(0), vmovq_n_u8(0));
vmull_high_p64(vmovq_n_u8(0), vmovq_n_u8(0));
vmull_high_p64(vreinterpretq_p64_s64(x), vreinterpretq_p64_s64(x));
#ifdef __clang__
# pragma clang attribute pop