about summary refs log tree commit diff stats
path: root/src/core.c
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2024-06-06 13:47:47 +0200
committerptitSeb <sebastien.chev@gmail.com>2024-06-06 13:47:47 +0200
commit0cedc70eb36e0c136bfa90be1e275c8792052195 (patch)
tree266012e48b5960bd8b3b21e88b705d587b05530a /src/core.c
parent1612687acfd6200515fc38fd46180f09f5a41661 (diff)
downloadbox64-0cedc70eb36e0c136bfa90be1e275c8792052195.tar.gz
box64-0cedc70eb36e0c136bfa90be1e275c8792052195.zip
[ARM64_DYNAREC] Added a new small batch of AVX/BMI2 opcodes
Diffstat (limited to 'src/core.c')
-rw-r--r--src/core.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core.c b/src/core.c
index 01e40fd9..6391b302 100644
--- a/src/core.c
+++ b/src/core.c
@@ -92,6 +92,7 @@ int arm64_aes = 0;
 int arm64_pmull = 0;
 int arm64_crc32 = 0;
 int arm64_atomics = 0;
+int arm64_asimdhp = 0;
 int arm64_sha1 = 0;
 int arm64_sha2 = 0;
 int arm64_uscat = 0;
@@ -404,6 +405,8 @@ HWCAP2_ECV
     // ATOMIC use are disable for now. They crashes Batman Arkham Knight, bossibly other (also seems to make steamwebhelper unstable)
     if(hwcap&HWCAP_ATOMICS)
         arm64_atomics = 1;
+    if(hwcap&HWCAP_ASIMDHP)
+        arm64_asimdhp = 1;
     #ifdef HWCAP_SHA1
     if(hwcap&HWCAP_SHA1)
         arm64_sha1 = 1;
@@ -442,6 +445,8 @@ HWCAP2_ECV
         printf_log(LOG_INFO, " PMULL");
     if(arm64_atomics)
         printf_log(LOG_INFO, " ATOMICS");
+    if(arm64_asimdhp)
+        printf_log(LOG_INFO, " ASIMDHP");
     if(arm64_sha1)
         printf_log(LOG_INFO, " SHA1");
     if(arm64_sha2)