From 83452b206459f56454443b4caffa2e5bf1422def Mon Sep 17 00:00:00 2001 From: Jim Grosbach Date: Fri, 2 Sep 2011 23:46:10 +0000 Subject: [PATCH] Thumb2 parsing and encoding for CBZ/CBNZ. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139054 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/MC/ARM/basic-thumb2-instructions.s | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/MC/ARM/basic-thumb2-instructions.s b/test/MC/ARM/basic-thumb2-instructions.s index 3c3247f256d..ee5d74735f6 100644 --- a/test/MC/ARM/basic-thumb2-instructions.s +++ b/test/MC/ARM/basic-thumb2-instructions.s @@ -271,9 +271,15 @@ _func: @------------------------------------------------------------------------------ cbnz r7, #6 cbnz r7, #12 + cbz r6, _bar + cbnz r6, _bar @ CHECK: cbnz r7, #6 @ encoding: [0x1f,0xb9] @ CHECK: cbnz r7, #12 @ encoding: [0x37,0xb9] +@ CHECK: cbz r6, _bar @ encoding: [0x06'A',0xb1'A'] + @ fixup A - offset: 0, value: _bar, kind: fixup_arm_thumb_cb +@ CHECK: cbnz r6, _bar @ encoding: [0x06'A',0xb9'A'] + @ fixup A - offset: 0, value: _bar, kind: fixup_arm_thumb_cb @------------------------------------------------------------------------------ -- 2.34.1