macos: no fast-math. fix xbyak "offset too big"

This commit is contained in:
Flyinghead 2021-03-13 10:34:13 +01:00
parent 5227259048
commit c61a66257f
2 changed files with 4 additions and 4 deletions

View File

@ -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);

View File

@ -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,