From cdc5c3ad95f6a3c685125740128fb9ea6d4471b5 Mon Sep 17 00:00:00 2001 From: MerryMage Date: Thu, 29 Mar 2018 12:45:33 +0100 Subject: [PATCH] emit_x64_floating_point: Near jump instead of short jump in FPMinNumberic{32,64} --- src/backend_x64/emit_x64_floating_point.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backend_x64/emit_x64_floating_point.cpp b/src/backend_x64/emit_x64_floating_point.cpp index 9c1bf5c5..ccfcf4d7 100644 --- a/src/backend_x64/emit_x64_floating_point.cpp +++ b/src/backend_x64/emit_x64_floating_point.cpp @@ -573,7 +573,7 @@ void EmitX64::EmitFPMinNumeric32(EmitContext& ctx, IR::Inst* inst) { code.jnae(result_is_result); // If result == QNaN && operand != NaN, result = operand. code.movaps(result, operand); - code.jmp(end); + code.jmp(end, code.T_NEAR); code.L(result_is_result); code.movaps(operand, result); @@ -607,7 +607,7 @@ void EmitX64::EmitFPMinNumeric64(EmitContext& ctx, IR::Inst* inst) { code.jnae(result_is_result); // If result == QNaN && operand != NaN, result = operand. code.movaps(result, operand); - code.jmp(end); + code.jmp(end, code.T_NEAR); code.L(result_is_result); code.movaps(operand, result);