diff options
| author | iximeow <me@iximeow.net> | 2026-08-02 19:35:19 +0000 |
|---|---|---|
| committer | iximeow <me@iximeow.net> | 2026-08-02 19:35:19 +0000 |
| commit | 345eacf8f1dc29cb4cd836e3d585d30497e7ea72 (patch) | |
| tree | e6f1424a12ec12d59ff8ed2bcd6ef676da05bbf5 /tests/armv7 | |
| parent | bc4ffbe7a8ffe1bfbf2e0785c561a339bfa25321 (diff) | |
pkhbt/pkhtb bitmask confusion
Diffstat (limited to 'tests/armv7')
| -rw-r--r-- | tests/armv7/thumb.rs | 12 |
1 files changed, 12 insertions, 0 deletions
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( |
