[machinst x64]: add shuffle implementation

This commit is contained in:
Andrew Brown
2020-09-23 08:39:33 -07:00
parent f4836f9ca9
commit a64abf9b76
4 changed files with 79 additions and 1 deletions

View File

@@ -3243,6 +3243,12 @@ fn test_x64_emit() {
"pxor %xmm11, %xmm2",
));
insns.push((
Inst::xmm_rm_r(SseOpcode::Pshufb, RegMem::reg(xmm11), w_xmm2),
"66410F3800D3",
"pshufb %xmm11, %xmm2",
));
// XMM_Mov_R_M: float stores
insns.push((
Inst::xmm_mov_r_m(SseOpcode::Movss, xmm15, Amode::imm_reg(128, r12), None),