From 9d268df91f8566ea1481cd671d66023a67c8f0ff Mon Sep 17 00:00:00 2001 From: Ryan Houdek Date: Sat, 22 Apr 2023 13:13:54 -0700 Subject: [PATCH] Softfloat: Disable some duplicate BIGFLOAT handlers Since mingw has its reduced precision has double, these handlers were duplicated and causing compile failure. --- External/FEXCore/Source/Common/SoftFloat.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/External/FEXCore/Source/Common/SoftFloat.h b/External/FEXCore/Source/Common/SoftFloat.h index b42800867..31c35d0ad 100644 --- a/External/FEXCore/Source/Common/SoftFloat.h +++ b/External/FEXCore/Source/Common/SoftFloat.h @@ -445,6 +445,7 @@ struct FEX_PACKED X80SoftFloat { return FEXCore::BitCast(Result); } +#ifndef _WIN32 operator BIGFLOAT() const { #if BIGFLOATSIZE == 16 const float128_t Result = extF80_to_f128(*this); @@ -455,6 +456,7 @@ struct FEX_PACKED X80SoftFloat { return result; #endif } +#endif operator int16_t() const { auto rv = extF80_to_i32(*this, softfloat_roundingMode, false); @@ -523,6 +525,7 @@ struct FEX_PACKED X80SoftFloat { *this = f64_to_extF80(FEXCore::BitCast(rhs)); } +#ifndef _WIN32 X80SoftFloat(BIGFLOAT rhs) { #if BIGFLOATSIZE == 16 *this = f128_to_extF80(FEXCore::BitCast(rhs)); @@ -530,6 +533,7 @@ struct FEX_PACKED X80SoftFloat { *this = FEXCore::BitCast(rhs); #endif } +#endif X80SoftFloat(const int16_t rhs) { *this = i32_to_extF80(rhs);