aboutsummaryrefslogtreecommitdiff
path: root/test/protected_mode
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2021-07-03 13:38:01 -0700
committeriximeow <me@iximeow.net>2021-07-03 13:38:01 -0700
commit620f731301009349aae40f0b172b463fbb6556e7 (patch)
tree234ea5ac8f2cbc692121a53761e2cf965f7391a4 /test/protected_mode
parentf883f8d99519e745e5dcb239112365c04f90457b (diff)
add hreset
Diffstat (limited to 'test/protected_mode')
-rw-r--r--test/protected_mode/mod.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/protected_mode/mod.rs b/test/protected_mode/mod.rs
index 9221e7d..90b53a6 100644
--- a/test/protected_mode/mod.rs
+++ b/test/protected_mode/mod.rs
@@ -3025,3 +3025,9 @@ fn test_tsxldtrk() {
test_display(&[0xf2, 0x0f, 0x01, 0xe8], "xsusldtrk");
test_display(&[0xf2, 0x0f, 0x01, 0xe9], "xresldtrk");
}
+
+// some test cases are best just lifted from llvm or gcc.
+#[test]
+fn from_llvm() {
+ test_display(&[0xf3, 0x0f, 0x3a, 0xf0, 0xc0, 0x01], "hreset 0x1");
+}