AArch64: Fix typo in sve configure check (BZ# 29394)

Fix a typo in the SVE configure check. This fixes [BZ# 29394].

(cherry picked from commit 12182ba18d)
This commit is contained in:
Wilco Dijkstra 2022-08-11 17:52:00 +01:00 committed by Wilco Dijkstra
parent c4f4b53eee
commit 41c34cc7c7
2 changed files with 4 additions and 4 deletions

View File

@ -308,7 +308,7 @@ aarch64-variant-pcs = $libc_cv_aarch64_variant_pcs"
# Check if asm support armv8.2-a+sve # Check if asm support armv8.2-a+sve
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SVE support in assembler" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SVE support in assembler" >&5
$as_echo_n "checking for SVE support in assembler... " >&6; } $as_echo_n "checking for SVE support in assembler... " >&6; }
if ${libc_cv_asm_sve+:} false; then : if ${libc_cv_aarch64_sve_asm+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
cat > conftest.s <<\EOF cat > conftest.s <<\EOF
@ -326,8 +326,8 @@ else
fi fi
rm -f conftest* rm -f conftest*
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_sve" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_aarch64_sve_asm" >&5
$as_echo "$libc_cv_asm_sve" >&6; } $as_echo "$libc_cv_aarch64_sve_asm" >&6; }
if test $libc_cv_aarch64_sve_asm = yes; then if test $libc_cv_aarch64_sve_asm = yes; then
$as_echo "#define HAVE_AARCH64_SVE_ASM 1" >>confdefs.h $as_echo "#define HAVE_AARCH64_SVE_ASM 1" >>confdefs.h

View File

@ -92,7 +92,7 @@ EOF
LIBC_CONFIG_VAR([aarch64-variant-pcs], [$libc_cv_aarch64_variant_pcs]) LIBC_CONFIG_VAR([aarch64-variant-pcs], [$libc_cv_aarch64_variant_pcs])
# Check if asm support armv8.2-a+sve # Check if asm support armv8.2-a+sve
AC_CACHE_CHECK(for SVE support in assembler, libc_cv_asm_sve, [dnl AC_CACHE_CHECK([for SVE support in assembler], [libc_cv_aarch64_sve_asm], [dnl
cat > conftest.s <<\EOF cat > conftest.s <<\EOF
ptrue p0.b ptrue p0.b
EOF EOF