Skip to content
Snippets Groups Projects
Commit c24e06c2 authored by Martin Storsjö's avatar Martin Storsjö
Browse files

configure: Check for SVE support in MS armasm64 via as_check

This is mostly supported in armasm64 since MSVC 2022 17.10.
parent 4613ac3c
No related branches found
No related tags found
1 merge request!156configure: Check for SVE support in MS armasm64 via as_check
Pipeline #515112 passed with stages
in 3 minutes and 18 seconds
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment