X64: port fvpromote to ISLE (#4242)

This commit is contained in:
Trevor Elliott
2022-06-07 17:18:23 -07:00
committed by GitHub
parent 088e568f22
commit bc3c4fa206
3 changed files with 12 additions and 7 deletions

View File

@@ -1045,13 +1045,7 @@ fn lower_insn_to_regs<C: LowerCtx<I = Inst>>(
}
Opcode::FvpromoteLow => {
let src = RegMem::reg(put_input_in_reg(ctx, inputs[0]));
let dst = get_output_reg(ctx, outputs[0]).only_reg().unwrap();
ctx.emit(Inst::xmm_unary_rm_r(
SseOpcode::Cvtps2pd,
RegMem::from(src),
dst,
));
implemented_in_isle(ctx);
}
Opcode::Fdemote => {