aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/MC/ARM/arm_instructions.s3
-rw-r--r--test/MC/ARM/thumb2.s3
2 files changed, 6 insertions, 0 deletions
diff --git a/test/MC/ARM/arm_instructions.s b/test/MC/ARM/arm_instructions.s
index a26db1b4eb..28a49aa9f0 100644
--- a/test/MC/ARM/arm_instructions.s
+++ b/test/MC/ARM/arm_instructions.s
@@ -161,3 +161,6 @@
@ CHECK: clrex @ encoding: [0x1f,0xf0,0x7f,0xf5]
clrex
+
+@ CHECK: clz r9, r0 @ encoding: [0x10,0x9f,0x6f,0xe1]
+ clz r9, r0
diff --git a/test/MC/ARM/thumb2.s b/test/MC/ARM/thumb2.s
index 146d674c3e..4a7bc6a4cc 100644
--- a/test/MC/ARM/thumb2.s
+++ b/test/MC/ARM/thumb2.s
@@ -199,3 +199,6 @@
@ CHECK: clrex @ encoding: [0xbf,0xf3,0x2f,0x8f]
clrex
+
+@ CHECK: clz r9, r0 @ encoding: [0xb0,0xfa,0x80,0xf9]
+ clz r9, r0