@@ -76,24 +76,6 @@ static const short kConsoleModes[3] = {
76
76
kNtEnableVirtualTerminalProcessing ,
77
77
};
78
78
79
- forceinline void MakeLongDoubleLongAgain (void ) {
80
- /* 8087 FPU Control Word
81
- IM: Invalid Operation ───────────────┐
82
- DM: Denormal Operand ───────────────┐│
83
- ZM: Zero Divide ───────────────────┐││
84
- OM: Overflow ─────────────────────┐│││
85
- UM: Underflow ───────────────────┐││││
86
- PM: Precision ──────────────────┐│││││
87
- PC: Precision Control ────────┐ ││││││
88
- {float,∅,double,long double} │ ││││││
89
- RC: Rounding Control ───────┐ │ ││││││
90
- {even, →-∞, →+∞, →0} │┌┤ ││││││
91
- ┌┤││ ││││││
92
- d││││rr││││││*/
93
- int x87cw = 0b0000000000000000001101111111 ;
94
- asm volatile ("fldcw\t%0" : /* no outputs */ : "m" (x87cw ));
95
- }
96
-
97
79
// https://nullprogram.com/blog/2022/02/18/
98
80
static inline char16_t * MyCommandLine (void ) {
99
81
void * cmd ;
@@ -259,7 +241,6 @@ __msabi textwindows int64_t WinMain(int64_t hInstance, int64_t hPrevInstance,
259
241
if (__strstr16 (cmdline , u"--strace" )) ++ __strace ;
260
242
#endif
261
243
NTTRACE ("WinMain()" );
262
- MakeLongDoubleLongAgain ();
263
244
if (_weaken (WinSockInit )) _weaken (WinSockInit )();
264
245
if (_weaken (WinMainForked )) _weaken (WinMainForked )();
265
246
WinMainNew (cmdline );
0 commit comments