diff options
Diffstat (limited to 'test/protected_mode')
-rw-r--r-- | test/protected_mode/mod.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/protected_mode/mod.rs b/test/protected_mode/mod.rs index 90b53a6..c742516 100644 --- a/test/protected_mode/mod.rs +++ b/test/protected_mode/mod.rs @@ -3026,6 +3026,14 @@ fn test_tsxldtrk() { test_display(&[0xf2, 0x0f, 0x01, 0xe9], "xresldtrk"); } +#[test] +fn test_sevsnp() { + test_display(&[0xf3, 0x0f, 0x01, 0xff], "psmash"); + test_display(&[0xf2, 0x0f, 0x01, 0xff], "pvalidate"); + test_display(&[0xf3, 0x0f, 0x01, 0xfe], "rmpadjust"); + test_display(&[0xf2, 0x0f, 0x01, 0xfe], "rmpupdate"); +} + // some test cases are best just lifted from llvm or gcc. #[test] fn from_llvm() { |