aboutsummaryrefslogtreecommitdiff
path: root/test/long_mode
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/long_mode
parent148fc10ed26fb025ceb291ae6c03515ee578cbeb (diff)
support endbr{32,64}
Diffstat (limited to 'test/long_mode')
-rw-r--r--test/long_mode/mod.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/long_mode/mod.rs b/test/long_mode/mod.rs
index dab4e91..1efa74e 100644
--- a/test/long_mode/mod.rs
+++ b/test/long_mode/mod.rs
@@ -2677,6 +2677,9 @@ fn prefixed_f20f() {
fn prefixed_f30f() {
test_display(&[0xf3, 0x0f, 0x16, 0xcf], "movshdup xmm1, xmm7");
test_display(&[0xf3, 0x4d, 0x0f, 0x16, 0xcf], "movshdup xmm9, xmm15");
+ test_display(&[0xf3, 0x0f, 0x1e, 0xfa], "endbr64");
+ test_display(&[0xf3, 0x0f, 0x1e, 0xfb], "endbr32");
+ test_display(&[0xf3, 0x0f, 0x1e, 0xfc], "nop esp, edi");
}
#[test]