aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-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]