aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/long_mode/mod.rs7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/long_mode/mod.rs b/test/long_mode/mod.rs
index 3e8a307..130a7ab 100644
--- a/test/long_mode/mod.rs
+++ b/test/long_mode/mod.rs
@@ -1375,7 +1375,10 @@ fn test_misc() {
test_display(&[0x66, 0x0f, 0xae, 0x3f], "clflushopt [rdi]"); // or clflush without 66
test_invalid(&[0x66, 0x0f, 0xae, 0xff]);
test_display(&[0x66, 0x0f, 0xae, 0x37], "clwb [rdi]");
- test_invalid(&[0x66, 0x0f, 0xae, 0xf7]);
+ test_display(&[0x66, 0x0f, 0xae, 0xf7], "tpause edi");
+ test_display(&[0xf3, 0x0f, 0xae, 0xf1], "umonitor rcx");
+ test_display(&[0xf2, 0x0f, 0xae, 0xf1], "umwait ecx");
+ test_display(&[0xf2, 0x4f, 0x0f, 0xae, 0xf1], "umwait r9");
test_display(&[0x66, 0x0f, 0x38, 0x80, 0x2f], "invept ebp, [rdi]");
test_display(&[0x66, 0x49, 0x0f, 0x38, 0x80, 0x2f], "invept rbp, [r15]");
test_invalid(&[0x0f, 0x38, 0x80, 0x2f]);
@@ -1388,6 +1391,8 @@ fn test_misc() {
test_display(&[0x66, 0x49, 0x0f, 0x38, 0x82, 0x2f], "invpcid rbp, [r15]");
test_invalid(&[0x0f, 0x38, 0x82, 0x2f]);
test_invalid(&[0x43, 0x0f, 0x38, 0x82, 0x2f]);
+ test_display(&[0x66, 0x0f, 0xae, 0xf1], "tpause ecx");
+ test_display(&[0x66, 0x4f, 0x0f, 0xae, 0xf1], "tpause r9");
}
#[test]