From 9284ee8e2018eecd9979a74691af454d51ff42bd Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Sat, 14 Nov 2009 14:29:34 -0800 Subject: [PATCH] Fix references to flonum_zero and flonum_one. --- src/microcode/cmpauxmd/x86-64.m4 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/microcode/cmpauxmd/x86-64.m4 b/src/microcode/cmpauxmd/x86-64.m4 index 66877605e..49115b930 100644 --- a/src/microcode/cmpauxmd/x86-64.m4 +++ b/src/microcode/cmpauxmd/x86-64.m4 @@ -613,7 +613,7 @@ define_hook_label(generic_$1) asm_generic_$1_flo: OP(and,q) TW(rmask,REG(rdx)) movsd TW(QOF(FLONUM_DATA_OFFSET,REG(rdx)),REG(xmm0)) - $4 TW(ABS(flonum_one),REG(xmm0)) + $4 TW(ABS(EVR(flonum_one)),REG(xmm0)) jmp asm_generic_flonum_result asm_generic_$1_fix: @@ -641,7 +641,7 @@ define_hook_label(generic_$1) asm_generic_$1_flo: OP(and,q) TW(rmask,REG(rdx)) movsd TW(QOF(FLONUM_DATA_OFFSET,REG(rdx)),REG(xmm0)) - ucomisd TW(ABS(flonum_zero),REG(xmm0)) + ucomisd TW(ABS(EVR(flonum_zero)),REG(xmm0)) $3 asm_generic_return_sharp_t jmp asm_generic_return_sharp_f @@ -805,7 +805,7 @@ asm_generic_divide_flo_by_flo: OP(and,q) TW(rmask,REG(rcx)) movsd TW(QOF(FLONUM_DATA_OFFSET,REG(rax)),REG(xmm0)) movsd TW(QOF(FLONUM_DATA_OFFSET,REG(rcx)),REG(xmm1)) - ucomisd TW(ABS(flonum_zero),REG(xmm1)) + ucomisd TW(ABS(EVR(flonum_zero)),REG(xmm1)) je asm_generic_divide_fail divsd TW(REG(xmm1),REG(xmm0)) jmp asm_generic_flonum_result -- 2.25.1