1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-19 18:15:18 -07:00

autoconf: proper check for ARM crypto extensions

This commit is contained in:
Frank Denis 2023-09-13 19:28:12 +02:00
parent 97f7722f2c
commit 86a53a901a
2 changed files with 8 additions and 4 deletions

6
configure vendored
View File

@ -18580,8 +18580,9 @@ int
main (void)
{
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
@ -18664,8 +18665,9 @@ int
main (void)
{
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

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