configure: Check for SVE support in MS armasm64 via as_check

This is mostly supported in armasm64 since MSVC 2022 17.10.
This commit is contained in:
Martin Storsjö
2024-02-27 10:43:07 +02:00
parent 4613ac3c15
commit c24e06c2e1
Vendored
+2
View File
@@ -1001,6 +1001,8 @@ if [ $asm = auto -a $ARCH = AARCH64 ] ; then
if [ $compiler = CL ] && cpp_check '' '' 'defined(_M_ARM64)' ; then
define HAVE_AARCH64
define HAVE_NEON
as_check "ptrue p0.b, vl16" && define HAVE_SVE
as_check "smlalb z10.s, z2.h, z1.h" && define HAVE_SVE2
elif cc_check '' '' '__asm__("cmeq v0.8h, v0.8h, #0");' ; then
define HAVE_AARCH64
define HAVE_NEON