Add support for palignr for X86_64 vcode backend

This commit is contained in:
Johnnie Birch
2020-11-22 21:55:37 -08:00
parent f9937575d6
commit 124096735b
3 changed files with 13 additions and 1 deletions

View File

@@ -3481,6 +3481,11 @@ fn test_x64_emit() {
"410FC2FF00",
"cmpps $0, %xmm15, %xmm7",
));
insns.push((
Inst::xmm_rm_r_imm(SseOpcode::Palignr, RegMem::reg(xmm1), w_xmm9, 3, false),
"66440F3A0FC903",
"palignr $3, %xmm1, %xmm9",
));
// ========================================================
// Pertaining to atomics.