aboutsummaryrefslogtreecommitdiff
path: root/tests/armv7
diff options
context:
space:
mode:
Diffstat (limited to 'tests/armv7')
-rw-r--r--tests/armv7/thumb.rs10
1 files changed, 7 insertions, 3 deletions
diff --git a/tests/armv7/thumb.rs b/tests/armv7/thumb.rs
index 1278bd6..f03b046 100644
--- a/tests/armv7/thumb.rs
+++ b/tests/armv7/thumb.rs
@@ -4526,11 +4526,11 @@ fn test_decode_ux_sx_32b_cases() {
);
test_display(
&[0x5f, 0xfa, 0x9c, 0xfc],
- "uxtb.w ip, ip, 0x8"
+ "uxtb.w ip, ip, ror 0x8"
);
test_display(
&[0x1f, 0xfa, 0xab, 0xfb],
- "uxth.w fp, fp, 0x10"
+ "uxth.w fp, fp, ror 0x10"
);
test_display(
&[0x0f, 0xfa, 0x82, 0xf1],
@@ -4538,13 +4538,17 @@ fn test_decode_ux_sx_32b_cases() {
);
test_display(
&[0x52, 0xfa, 0x93, 0xf1],
- "uxtab.w r1, r2, r3, 0x8"
+ "uxtab.w r1, r2, r3, ror 0x8"
);
test_display(
&[0x42, 0xfa, 0x83, 0xf1],
"sxtab.w r1, r2, r3"
);
test_display(
+ &[0x2f, 0xfa, 0xfb, 0xf9],
+ "sxtb16.w sb, fp, ror 0x18"
+ );
+ test_display(
&[0x02, 0xfa, 0x83, 0xf1],
"sxtah.w r1, r2, r3"
);