about summary refs log tree commit diff stats
path: root/src/include/env.h
diff options
context:
space:
mode:
authorYang Liu <liuyang22@iscas.ac.cn>2025-08-18 18:41:10 +0800
committerGitHub <noreply@github.com>2025-08-18 12:41:10 +0200
commitfe2930cbe3462ae39271781a30c68f2185fc8f3a (patch)
tree0535d34f8c725c1beebe69a18d98f130ba71323b /src/include/env.h
parentbf6c1533b373b32c48744e191667a82830935b27 (diff)
downloadbox64-fe2930cbe3462ae39271781a30c68f2185fc8f3a.tar.gz
box64-fe2930cbe3462ae39271781a30c68f2185fc8f3a.zip
[LA64_DYNAREC] Enable AVX/AVX2 by default (#2946)
Diffstat (limited to 'src/include/env.h')
-rw-r--r--src/include/env.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/env.h b/src/include/env.h
index a1a1719a..f11dcad9 100644
--- a/src/include/env.h
+++ b/src/include/env.h
@@ -128,9 +128,9 @@ extern char* ftrace_name;
     BOOLEAN(BOX64_X87_NO80BITS, x87_no80bits, 0, 1)                           \
     INTEGER(BOX64_DYNACACHE, dynacache, 2, 0, 2, 0)                           \
     STRING(BOX64_DYNACACHE_FOLDER, dynacache_folder, 0)                       \
-    INTEGER(BOX64_DYNACACHE_MIN, dynacache_min, 350, 0, 10240, 0)             \
+    INTEGER(BOX64_DYNACACHE_MIN, dynacache_min, 350, 0, 10240, 0)
 
-#ifdef ARM64
+#if defined(ARM64) || defined(LA64)
 #define ENVSUPER2() \
     INTEGER(BOX64_AVX, avx, 2, 0, 2, 1)
 #else