aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2020-02-22 00:53:41 -0800
committeriximeow <me@iximeow.net>2020-02-22 00:53:41 -0800
commitcb6a086884adc0ea2119f5619f3616e31f34ffa5 (patch)
treec1f98f4c468bd98b8c8b0ad37e58d2de8c74628a
parent33c520341b373ac18e7924eb9227615ac65c2618 (diff)
add vmclear test
this instruction is decoded with the sse2 660f map but not actually added in sse2
-rw-r--r--test/test.rs5
1 files changed, 5 insertions, 0 deletions
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]