diff --git a/core/rec-x64/xbyak_base.h b/core/rec-x64/xbyak_base.h index a5d07dd39..3bdd0569b 100644 --- a/core/rec-x64/xbyak_base.h +++ b/core/rec-x64/xbyak_base.h @@ -619,8 +619,8 @@ protected: cmp(rd, 0x80000000); // indefinite integer jne(done, T_SHORT); xor_(eax, eax); - static u32 zero; - ucomiss(mapXRegister(op.rs1), dword[&zero]); + pxor(xmm0, xmm0); + ucomiss(mapXRegister(op.rs1), xmm0); setb(al); add(eax, 0x7fffffff); mov(rd, eax); diff --git a/shell/apple/emulator-osx/reicast-osx.xcodeproj/project.pbxproj b/shell/apple/emulator-osx/reicast-osx.xcodeproj/project.pbxproj index 7a2f59943..38ccf6e43 100644 --- a/shell/apple/emulator-osx/reicast-osx.xcodeproj/project.pbxproj +++ b/shell/apple/emulator-osx/reicast-osx.xcodeproj/project.pbxproj @@ -3061,7 +3061,7 @@ ENABLE_STRICT_OBJC_MSGSEND = YES; GCC_C_LANGUAGE_STANDARD = gnu99; GCC_DYNAMIC_NO_PIC = NO; - GCC_FAST_MATH = YES; + GCC_FAST_MATH = NO; GCC_OPTIMIZATION_LEVEL = 0; GCC_PREPROCESSOR_DEFINITIONS = ( TARGET_NO_OPENMP, @@ -3114,7 +3114,7 @@ ENABLE_NS_ASSERTIONS = NO; ENABLE_STRICT_OBJC_MSGSEND = YES; GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_FAST_MATH = YES; + GCC_FAST_MATH = NO; GCC_PREPROCESSOR_DEFINITIONS = ( TARGET_NO_OPENMP, CHD5_LZMA,