From cb6a086884adc0ea2119f5619f3616e31f34ffa5 Mon Sep 17 00:00:00 2001 From: iximeow Date: Sat, 22 Feb 2020 00:53:41 -0800 Subject: add vmclear test this instruction is decoded with the sse2 660f map but not actually added in sse2 --- test/test.rs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test') diff --git a/test/test.rs b/test/test.rs index e13f587..4722267 100644 --- a/test/test.rs +++ b/test/test.rs @@ -729,6 +729,11 @@ fn test_misc() { test_display(&[0xf3, 0x48, 0xab], "rep stos es:[rdi], rax"); test_display(&[0xf3, 0x48, 0xa5], "rep movs es:[rdi], ds:[rsi]"); test_display(&[0xf3, 0x45, 0x0f, 0xbc, 0xd7], "tzcnt r10d, r15d"); + + // this is actually vmx + // test_invalid(&[0x66, 0x0f, 0xc7, 0x03]); + test_display(&[0x66, 0x4f, 0x0f, 0xc7, 0x33], "vmclear [r11]"); + test_display(&[0x66, 0x0f, 0xc7, 0x33], "vmclear [rbx]"); } #[test] -- cgit v1.1