From f18f5c9b85feecb3b5d1744b2cfaf5a2fe6068b5 Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Sat, 3 Feb 2024 17:59:11 +0100 Subject: [DYNAREC_TEST] Force enabled x87double when using DYNAREC_TEST to limit false positive --- src/main.c | 1 + src/tools/rcfile.c | 1 + 2 files changed, 2 insertions(+) (limited to 'src') diff --git a/src/main.c b/src/main.c index 1e26cce6..ed3a1525 100644 --- a/src/main.c +++ b/src/main.c @@ -735,6 +735,7 @@ void LoadLogEnv() if(box64_dynarec_test) { box64_dynarec_fastnan = 0; box64_dynarec_fastround = 0; + box64_dynarec_x87double = 1; box64_dynarec_callret = 0; printf_log(LOG_INFO, "Dynarec will compare it's execution with the interpreter (super slow, only for testing)\n"); } diff --git a/src/tools/rcfile.c b/src/tools/rcfile.c index 8a74c0d0..1bd0da27 100644 --- a/src/tools/rcfile.c +++ b/src/tools/rcfile.c @@ -630,6 +630,7 @@ void ApplyParams(const char* name) if(param->is_box64_dynarec_test_present && box64_dynarec_test) { box64_dynarec_fastnan = 0; box64_dynarec_fastround = 0; + box64_dynarec_x87double = 1; box64_dynarec_callret = 0; } #endif -- cgit 1.4.1