<div dir="ltr">From aca6d3d8dfbe3af7989764c5556c94fb9cd40f97 Mon Sep 17 00:00:00 2001<br>From: Uthayakumar Muthu <<a href="mailto:uthayakumar.muthu@multicorewareinc.com">uthayakumar.muthu@multicorewareinc.com</a>><br>Date: Mon, 14 Oct 2024 07:02:02 +0000<br>Subject: [PATCH] Aarch64 : Fix SVE2 architecture flags<br><br>---<br> source/CMakeLists.txt | 2 +-<br> 1 file changed, 1 insertion(+), 1 deletion(-)<br><br>diff --git a/source/CMakeLists.txt b/source/CMakeLists.txt<br>index 8a3128bb7..9cc41be3a 100755<br>--- a/source/CMakeLists.txt<br>+++ b/source/CMakeLists.txt<br>@@ -331,7 +331,7 @@ if(GCC)<br>         if(CPU_HAS_SVE2)<br>             message(STATUS "Found SVE2")<br>             # SVE2 is only available from Armv9.0, and armv9-a implies +dotprod<br>-            set(ARM_ARGS -O3 -march=armv8.2-a+dotprod+i8mm+sve)<br>+            set(ARM_ARGS -O3 -march=armv9-a+i8mm+sve2)<br>             add_definitions(-DHAVE_SVE2=1)<br>         endif()<br>         set(ARM_ARGS ${ARM_ARGS} -fPIC)<br>-- <br>2.43.0<br><br></div>