diff options
author | Jim Grosbach <grosbach@apple.com> | 2011-09-02 23:46:10 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2011-09-02 23:46:10 +0000 |
commit | 83452b206459f56454443b4caffa2e5bf1422def (patch) | |
tree | da1c1d0abf0b297a1c0579da6059e649f889343e | |
parent | 6c3e11ea55172def6f9829cc24cc5c3b071208ba (diff) |
Thumb2 parsing and encoding for CBZ/CBNZ.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139054 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/MC/ARM/basic-thumb2-instructions.s | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/MC/ARM/basic-thumb2-instructions.s b/test/MC/ARM/basic-thumb2-instructions.s index 3c3247f256..ee5d74735f 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 @------------------------------------------------------------------------------ |