about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core.c b/src/core.c
index e4521c4a..de004a9f 100644
--- a/src/core.c
+++ b/src/core.c
@@ -512,10 +512,10 @@ HWCAP2_AFP
     if(p == NULL || p[0] == '0') {
         uint32_t cpucfg2 = 0, idx = 2;
         asm volatile("cpucfg %0, %1" : "=r"(cpucfg2) : "r"(idx));
-        if ((cpucfg2 >> 6) & 0b1) {
-            printf_log(LOG_INFO, "with extension LSX");
+        if (((cpucfg2 >> 6) & 0b11) == 3) {
+            printf_log(LOG_INFO, "with extension LSX LASX");
         } else {
-            printf_log(LOG_INFO, "\nMissing LSX extension support, disabling Dynarec\n");
+            printf_log(LOG_INFO, "\nMissing LSX and/or LASX extension support, disabling Dynarec\n");
             box64_dynarec = 0;
             return;
         }