diff --git a/src/backend/x64/emit_x64_vector_floating_point.cpp b/src/backend/x64/emit_x64_vector_floating_point.cpp index a715c99e..4039554b 100644 --- a/src/backend/x64/emit_x64_vector_floating_point.cpp +++ b/src/backend/x64/emit_x64_vector_floating_point.cpp @@ -1094,11 +1094,7 @@ void EmitFPVectorRoundInt(BlockOfCode& code, EmitContext& ctx, IR::Inst* inst) { }(); EmitTwoOpVectorOperation(code, ctx, inst, [&](const Xbyak::Xmm& result, const Xbyak::Xmm& xmm_a){ - if constexpr (fsize == 32) { - code.roundps(result, xmm_a, round_imm); - } else { - code.roundpd(result, xmm_a, round_imm); - } + FCODE(roundp)(result, xmm_a, round_imm); }); return;