From 345eacf8f1dc29cb4cd836e3d585d30497e7ea72 Mon Sep 17 00:00:00 2001 From: iximeow Date: Sun, 2 Aug 2026 19:35:19 +0000 Subject: pkhbt/pkhtb bitmask confusion --- tests/armv7/thumb.rs | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'tests/armv7') diff --git a/tests/armv7/thumb.rs b/tests/armv7/thumb.rs index b1b9399..e6e1bfb 100644 --- a/tests/armv7/thumb.rs +++ b/tests/armv7/thumb.rs @@ -4573,6 +4573,18 @@ fn msr_mrs() { } #[test] +fn pkh() { + test_display( + &[0xc7, 0xea, 0xe8, 0x77], + "pkhtb.w r7, r7, r8, asr 31" + ); + test_display( + &[0xc7, 0xea, 0xc8, 0x77], + "pkhbt.w r7, r7, r8, lsl 31" + ); +} + +#[test] fn test_target() { // the v8 manuals list a new Test Target with some variants to it.. test_nonconforming( -- cgit v1.1