From cf151c1dc6926bf7d14eb5a50afe42b79e6fd481 Mon Sep 17 00:00:00 2001 From: iximeow Date: Fri, 11 Sep 2026 16:12:12 +0000 Subject: fix ssat/16 second operand off by one, testcases --- tests/armv7/thumb.rs | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'tests') diff --git a/tests/armv7/thumb.rs b/tests/armv7/thumb.rs index b0eb262..00b5802 100644 --- a/tests/armv7/thumb.rs +++ b/tests/armv7/thumb.rs @@ -4695,6 +4695,23 @@ fn mrc_mcr_cdp() { } #[test] +fn smml() { + // smmla, smmlar, smmls, smmlsr + test_display( + &[0x64, 0xfb, 0x1f, 0x92], + "smmlsr r2, r4, pc, sb" + ); + test_display( + &[0x59, 0xfb, 0x1b, 0x66], + "smmlar r6, sb, fp, r6" + ); + test_display( + &[0x20, 0xfb, 0x1d, 0xd1], + "smladx r1, r0, sp, sp" + ); +} + +#[test] fn prefetch() { test_display( &[0xb0, 0xf8, 0x03, 0xfe], -- cgit v1.1