From 18912d1ee9b7f20e417c0048bcf6b6427d287f49 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Fri, 29 Apr 2022 01:30:16 +0200 Subject: [PATCH] - removed all leftover x87 configuration voodoo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit x86 32 bit without SSE2 hasn’t been a supported target for several years, none of this is still needed --- src/d_main.cpp | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/src/d_main.cpp b/src/d_main.cpp index a310c7498..c18715c00 100644 --- a/src/d_main.cpp +++ b/src/d_main.cpp @@ -1929,23 +1929,6 @@ static void SetMapxxFlag() static void D_DoomInit() { - // Set the FPU precision to 53 significant bits. This is the default - // for Visual C++, but not for GCC, so some slight math variances - // might crop up if we leave it alone. -#if defined(_FPU_GETCW) && defined(_FPU_EXTENDED) && defined(_FPU_DOUBLE) - { - int cw; - _FPU_GETCW(cw); - cw = (cw & ~_FPU_EXTENDED) | _FPU_DOUBLE; - _FPU_SETCW(cw); - } -#elif defined(_PC_53) -// On the x64 architecture, changing the floating point precision is not supported. -#ifndef _WIN64 - int cfp = _control87(_PC_53, _MCW_PC); -#endif -#endif - // Check response files before coalescing file parameters. M_FindResponseFile ();