From f6c153d4cf511d05d8f1df21190b73d62c2412bb Mon Sep 17 00:00:00 2001 From: iximeow Date: Sun, 26 Jul 2020 04:20:35 -0700 Subject: bitwise ops, test cases, btr --- test/long_mode/mod.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test/long_mode') 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] -- cgit v1.1