emit_x64_vector_floating_point: EmitFPVectorRoundInt: Use FCODE
This commit is contained in:
parent
b8fde48732
commit
e7a5592699
1 changed files with 1 additions and 5 deletions
|
@ -1094,11 +1094,7 @@ void EmitFPVectorRoundInt(BlockOfCode& code, EmitContext& ctx, IR::Inst* inst) {
|
|||
}();
|
||||
|
||||
EmitTwoOpVectorOperation<fsize, DefaultIndexer>(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;
|
||||
|
|
Loading…
Reference in a new issue