diff options
author | iximeow <me@iximeow.net> | 2021-03-21 01:42:24 -0700 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2021-03-21 01:42:24 -0700 |
commit | 0a3811ec18d2154f050aaf6e611a3d65f467c0cc (patch) | |
tree | b10f4737ba9fed51285a765272da4997565e9eb3 /test | |
parent | 68e719a30e989d6580f8077cb9afa5af3ddffa9a (diff) |
add waitpkg, clean up unused values, old comments
Diffstat (limited to 'test')
-rw-r--r-- | test/long_mode/mod.rs | 7 |
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] |