about summary refs log tree commit diff stats
path: root/src/core.c
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2024-12-23 13:26:52 +0100
committerptitSeb <sebastien.chev@gmail.com>2024-12-23 13:26:52 +0100
commit1360e7112c8a027dd7e1a6cdd7942d1038aa54f2 (patch)
tree7f262a4002ab6cd3142b101826a071e4f7f9bccf /src/core.c
parent12987af5619489d945d45d2dd05af1656707e2a2 (diff)
downloadbox64-1360e7112c8a027dd7e1a6cdd7942d1038aa54f2.tar.gz
box64-1360e7112c8a027dd7e1a6cdd7942d1038aa54f2.zip
[ARM64_DYNAREC] Added work in progress BOX64_DYNAREC_DF env. var.
Diffstat (limited to 'src/core.c')
-rw-r--r--src/core.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/core.c b/src/core.c
index 4810146b..c97a57db 100644
--- a/src/core.c
+++ b/src/core.c
@@ -98,6 +98,7 @@ uintptr_t box64_nodynarec_end = 0;
 uintptr_t box64_dynarec_test_start = 0;
 uintptr_t box64_dynarec_test_end = 0;
 int box64_dynarec_gdbjit = 0;
+int box64_dynarec_df = 1;
 #ifdef ARM64
 int arm64_asimd = 0;
 int arm64_aes = 0;
@@ -911,6 +912,15 @@ void LoadLogEnv()
         if (box64_dynarec_gdbjit)
             printf_log(LOG_INFO, "Dynarec will generate debuginfo for gdbjit\n");
     }
+    p = getenv("BOX64_DYNAREC_DF");
+    if(p) {
+        if(strlen(p)==1) {
+            if(p[0]>='0' && p[0]<='1')
+                box64_dynarec_df = p[0]-'0';
+        }
+        if(!box64_dynarec_df)
+            printf_log(LOG_INFO, "Dynarec will not use/generate defered flags\n");
+    }
     p = getenv("BOX64_DYNAREC_ALIGNED_ATOMICS");
     if(p) {
         if(strlen(p)==1) {