aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/armv7/mod.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/armv7/mod.rs b/tests/armv7/mod.rs
index 58f7e0c..78d725b 100644
--- a/tests/armv7/mod.rs
+++ b/tests/armv7/mod.rs
@@ -740,8 +740,10 @@ fn test_cmp_immediate_decode() {
fn test_cmp_register_decode() {
test_all([0x01, 0x00, 0x52, 0xe1], "cmps r2, r1");
test_all([0x01, 0x03, 0x52, 0xe1], "cmps r2, r1, lsl 6");
+ test_all([0x11, 0x03, 0x52, 0xe1], "cmps r2, r1, lsl r3");
test_all([0x01, 0x00, 0x72, 0xe1], "cmns r2, r1");
test_all([0x01, 0x03, 0x72, 0xe1], "cmns r2, r1, lsl 6");
+ test_all([0x11, 0x03, 0x72, 0xe1], "cmns r2, r1, lsl r3");
}
static INSTRUCTION_BYTES: [u8; 4 * 60] = [