From 0a3811ec18d2154f050aaf6e611a3d65f467c0cc Mon Sep 17 00:00:00 2001 From: iximeow Date: Sun, 21 Mar 2021 01:42:24 -0700 Subject: add waitpkg, clean up unused values, old comments --- test/long_mode/mod.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'test/long_mode') 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] -- cgit v1.1