diff --git a/test/MC/ARM/arm_instructions.s b/test/MC/ARM/arm_instructions.s index a26db1b4eb3..28a49aa9f0d 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 146d674c3eb..4a7bc6a4cce 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