[x264-devel] [Git][videolan/x264][master] configure: Check for SVE support in MS armasm64 via as_check

Martin Storsjö (@mstorsjo) gitlab at videolan.org
Wed Sep 18 12:52:11 UTC 2024



Martin Storsjö pushed to branch master at VideoLAN / x264


Commits:
c24e06c2 by Martin Storsjö at 2024-09-17T14:07:10+03:00
configure: Check for SVE support in MS armasm64 via as_check

This is mostly supported in armasm64 since MSVC 2022 17.10.

- - - - -


1 changed file:

- configure


Changes:

=====================================
configure
=====================================
@@ -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



View it on GitLab: https://code.videolan.org/videolan/x264/-/commit/c24e06c2e184345ceb33eb20a15d1024d9fd3497

-- 
View it on GitLab: https://code.videolan.org/videolan/x264/-/commit/c24e06c2e184345ceb33eb20a15d1024d9fd3497
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the x264-devel mailing list