about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2023-10-18 19:05:56 +0200
committerptitSeb <sebastien.chev@gmail.com>2023-10-18 19:05:56 +0200
commit3c0297fbdf0fddae44349d23db99aa64b2f3c8ac (patch)
tree93dd5fad0585de2aad297149bb0ae3d29740c5a1
parent479cdb4218ae174b238f88ab28a2bd6f48c65923 (diff)
downloadbox64-3c0297fbdf0fddae44349d23db99aa64b2f3c8ac.tar.gz
box64-3c0297fbdf0fddae44349d23db99aa64b2f3c8ac.zip
[ARM64_DYNAREC] One more extension detected (not used yet)
-rw-r--r--src/main.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 30c6f7c7..4a6195cc 100644
--- a/src/main.c
+++ b/src/main.c
@@ -80,6 +80,7 @@ int arm64_uscat = 0;
 int arm64_flagm = 0;
 int arm64_flagm2 = 0;
 int arm64_frintts = 0;
+int arm64_afp = 0;
 #elif defined(RV64)
 int rv64_zba = 0;
 int rv64_zbb = 0;
@@ -375,6 +376,10 @@ HWCAP2_ECV
         arm64_flagm2 = 1;
     if(hwcap2&HWCAP2_FRINT)
         arm64_frintts = 1;
+    #ifdef HWCAP2_AFP
+    if(hwcap2&HWCAP2_AFP)
+        arm64_afp = 1;
+    #endif
     printf_log(LOG_INFO, "Dynarec for ARM64, with extension: ASIMD");
     if(arm64_aes)
         printf_log(LOG_INFO, " AES");
@@ -392,6 +397,8 @@ HWCAP2_ECV
         printf_log(LOG_INFO, " FLAGM2");
     if(arm64_frintts)
         printf_log(LOG_INFO, " FRINT");
+    if(arm64_afp)
+        printf_log(LOG_INFO, " AFP");
     printf_log(LOG_INFO, " PageSize:%zd ", box64_pagesize);
 #elif defined(LA464)
     printf_log(LOG_INFO, "Dynarec for LoongArch");