From 620f731301009349aae40f0b172b463fbb6556e7 Mon Sep 17 00:00:00 2001 From: iximeow Date: Sat, 3 Jul 2021 13:38:01 -0700 Subject: add hreset --- test/protected_mode/mod.rs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'test/protected_mode') 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"); +} -- cgit v1.1