Adds support for signed packed integer conversion to float

f32x4.convert_i32x4_s
This commit is contained in:
Johnnie Birch
2020-10-13 18:45:27 -07:00
parent 2dad74f9d0
commit f27c0f3434
4 changed files with 45 additions and 20 deletions

View File

@@ -3290,6 +3290,14 @@ fn test_x64_emit() {
"pshufb %xmm11, %xmm2",
));
// ========================================================
// XMM_RM_R: Integer Conversion
insns.push((
Inst::xmm_rm_r(SseOpcode::Cvtdq2ps, RegMem::reg(xmm1), w_xmm8),
"440F5BC1",
"cvtdq2ps %xmm1, %xmm8",
));
// XMM_Mov_R_M: float stores
insns.push((
Inst::xmm_mov_r_m(SseOpcode::Movss, xmm15, Amode::imm_reg(128, r12), None),