diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2022-12-04 10:13:35 +0100 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2022-12-04 10:13:35 +0100 |
| commit | fb02ae0e9afb089d0807af0b8c8419f2d16df363 (patch) | |
| tree | 9c4c082aecdc4c58f87bafc1b04eefece85b7296 /src/main.c | |
| parent | ffb293fe0a9952c32fe2ebd164d6409facf8d921 (diff) | |
| download | box64-fb02ae0e9afb089d0807af0b8c8419f2d16df363.tar.gz box64-fb02ae0e9afb089d0807af0b8c8419f2d16df363.zip | |
Added experimental (undocumented) BOX64_SSE_FLUSHTO0 env. var. (not sure it's really usefull)
Diffstat (limited to 'src/main.c')
| -rwxr-xr-x | src/main.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c index e7bc7d39..83348dac 100755 --- a/src/main.c +++ b/src/main.c @@ -86,6 +86,7 @@ int box64_x11glx = 1; int allow_missing_libs = 0; int box64_prefer_emulated = 0; int box64_prefer_wrapped = 0; +int box64_sse_flushto0 = 0; int fix_64bit_inodes = 0; int box64_dummy_crashhandler = 1; int box64_mapclean = 0; @@ -896,6 +897,12 @@ void LoadEnvVars(box64context_t *context) AddPath("libcrypto.so.1.0.0", &context->box64_emulated_libs, 0); AddPath("libunwind.so.8", &context->box64_emulated_libs, 0); + if(getenv("BOX64_SSE_FLUSHTO0")) { + if (strcmp(getenv("BOX64_SSE_FLUSHTO0"), "1")==0) { + box64_sse_flushto0 = 1; + printf_log(LOG_INFO, "BOX64: Direct apply of SSE Flush to 0 flag\n"); + } + } if(getenv("BOX64_PREFER_WRAPPED")) { if (strcmp(getenv("BOX64_PREFER_WRAPPED"), "1")==0) { box64_prefer_wrapped = 1; |