aboutsummaryrefslogtreecommitdiff
path: root/test/real_mode/mod.rs
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2021-10-10 14:40:55 -0700
committeriximeow <me@iximeow.net>2021-10-10 14:40:55 -0700
commited5c76a0f8e92656539f305b9b7ea5e032517f36 (patch)
treecdb68a927f2f6fbe5fea284464e3b1d09cf02a60 /test/real_mode/mod.rs
parent148fc10ed26fb025ceb291ae6c03515ee578cbeb (diff)
support endbr{32,64}
Diffstat (limited to 'test/real_mode/mod.rs')
-rw-r--r--test/real_mode/mod.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/real_mode/mod.rs b/test/real_mode/mod.rs
index dfbe4e8..6dcc3a2 100644
--- a/test/real_mode/mod.rs
+++ b/test/real_mode/mod.rs
@@ -17828,6 +17828,9 @@ fn test_real_mode() {
test_display(&[0xf3, 0x0f, 0x16, 0x0f], "movshdup xmm1, xmmword [bx]");
test_display(&[0xf3, 0x0f, 0x16, 0xcf], "movshdup xmm1, xmm7");
test_display(&[0xf3, 0x0f, 0x16, 0xcf], "movshdup xmm1, xmm7");
+ test_display(&[0xf3, 0x0f, 0x1e, 0xfa], "endbr64");
+ test_display(&[0xf3, 0x0f, 0x1e, 0xfb], "endbr32");
+ test_display(&[0xf3, 0x0f, 0x1e, 0xfc], "nop sp, di");
test_display(&[0xf3, 0x0f, 0x21, 0xc8], "mov eax, dr1");
test_display(&[0xf3, 0x0f, 0x2a, 0x00], "cvtsi2ss xmm0, dword [bx + si]");
test_display(&[0xf3, 0x0f, 0x2a, 0x01], "cvtsi2ss xmm0, dword [bx + di]");