Add support for i32x4_trunc_sat_f64x2_s for x64

This commit is contained in:
Johnnie Birch
2021-07-25 17:36:16 -07:00
parent 23290f0450
commit 500f530322
5 changed files with 75 additions and 3 deletions

View File

@@ -3761,6 +3761,12 @@ fn test_x64_emit() {
"cvtdq2ps %xmm1, %xmm8",
));
insns.push((
Inst::xmm_rm_r(SseOpcode::Cvttpd2dq, RegMem::reg(xmm15), w_xmm7),
"66410FE6FF",
"cvttpd2dq %xmm15, %xmm7",
));
insns.push((
Inst::xmm_rm_r(SseOpcode::Cvttps2dq, RegMem::reg(xmm9), w_xmm8),
"F3450F5BC1",