From c42f84b37c9be599442a44caab289f5fdf971649 Mon Sep 17 00:00:00 2001 From: iximeow Date: Sun, 27 Jun 2021 14:57:03 -0700 Subject: protected-mode avx512 --- test/protected_mode/mod.rs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'test/protected_mode/mod.rs') diff --git a/test/protected_mode/mod.rs b/test/protected_mode/mod.rs index a29b795..2cd5602 100644 --- a/test/protected_mode/mod.rs +++ b/test/protected_mode/mod.rs @@ -1,6 +1,7 @@ mod regspec; mod operand; mod display; +mod evex_generated; use std::fmt::Write; @@ -1344,10 +1345,10 @@ fn test_vex() { test_instr(&[0xc4, 0xc2, 0x75, 0x03, 0x0f], "vphaddsw ymm1, ymm1, [edi]"); test_instr(&[0xc4, 0xc2, 0x71, 0x03, 0xcd], "vphaddsw xmm1, xmm1, xmm5"); test_instr(&[0xc4, 0xc2, 0x75, 0x03, 0xcd], "vphaddsw ymm1, ymm1, ymm5"); - test_instr(&[0xc4, 0xc2, 0x71, 0x04, 0x0f], "vphaddubsw xmm1, xmm1, [edi]"); - test_instr(&[0xc4, 0xc2, 0x75, 0x04, 0x0f], "vphaddubsw ymm1, ymm1, [edi]"); - test_instr(&[0xc4, 0xc2, 0x71, 0x04, 0xcd], "vphaddubsw xmm1, xmm1, xmm5"); - test_instr(&[0xc4, 0xc2, 0x75, 0x04, 0xcd], "vphaddubsw ymm1, ymm1, ymm5"); + test_instr(&[0xc4, 0xc2, 0x71, 0x04, 0x0f], "vpmaddubsw xmm1, xmm1, [edi]"); + test_instr(&[0xc4, 0xc2, 0x75, 0x04, 0x0f], "vpmaddubsw ymm1, ymm1, [edi]"); + test_instr(&[0xc4, 0xc2, 0x71, 0x04, 0xcd], "vpmaddubsw xmm1, xmm1, xmm5"); + test_instr(&[0xc4, 0xc2, 0x75, 0x04, 0xcd], "vpmaddubsw ymm1, ymm1, ymm5"); test_instr(&[0xc4, 0xc2, 0x71, 0x05, 0x0f], "vphsubw xmm1, xmm1, [edi]"); test_instr(&[0xc4, 0xc2, 0x75, 0x05, 0x0f], "vphsubw ymm1, ymm1, [edi]"); test_instr(&[0xc4, 0xc2, 0x71, 0x05, 0xcd], "vphsubw xmm1, xmm1, xmm5"); -- cgit v1.1