aboutsummaryrefslogtreecommitdiff
path: root/test/long_mode
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2020-07-26 04:20:35 -0700
committeriximeow <me@iximeow.net>2020-07-26 04:20:35 -0700
commitf6c153d4cf511d05d8f1df21190b73d62c2412bb (patch)
treeb2584dd3a9c1d3aa9895a0a04b8d0e4787929554 /test/long_mode
parentc54b230323e49222d188b409a1efa9dc99c62ec6 (diff)
bitwise ops, test cases, btr
Diffstat (limited to 'test/long_mode')
-rw-r--r--test/long_mode/mod.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/long_mode/mod.rs b/test/long_mode/mod.rs
index 545a2d5..2ddb7d1 100644
--- a/test/long_mode/mod.rs
+++ b/test/long_mode/mod.rs
@@ -967,6 +967,10 @@ fn test_bitwise() {
test_display_under(&InstDecoder::minimal(), &[0x41, 0x0f, 0xbc, 0xd3], "bsf edx, r11d");
test_display(&[0x48, 0x0f, 0xa3, 0xd0], "bt rax, rdx");
test_display(&[0x48, 0x0f, 0xab, 0xd0], "bts rax, rdx");
+ test_display(&[0x48, 0x0f, 0xb3, 0xd0], "btr rax, rdx");
+ test_display(&[0x0f, 0xb3, 0xd0], "btr eax, edx");
+ test_display(&[0x66, 0x41, 0x0f, 0xb3, 0xc0], "btr r8w, ax");
+ test_display(&[0xd2, 0xe0], "shl al, cl");
}
#[test]