1 # RUN: llvm-mc --disassemble %s -triple=thumb-apple-darwin9 | FileCheck %s
3 # CHECK: add r5, sp, #68
6 # CHECK: adcs r0, r0, #1
15 # CHECK: bfc r0, #10, #10
18 # CHECK: bfi r2, r10, #0, #1
27 # CHECK: cmn.w r0, #31
30 # CHECK: ldmia r0!, {r1}
39 # CHECK: str r0, [r3, #4]
42 # CHECK: str r2, [r5, r3]
45 # CHECK: ldrb.w r8, #-24
48 # CHECK: ldrd r0, r1, [r7, #64]!
51 # CHECK: lsls.w r0, r5, #1
57 # CHECK: pkhtb r2, r4, r6, asr #16
60 # CHECK-NOT: pkhbt r2, r4, r6, lsl #0
61 # CHECK: pkhbt r2, r4, r6
64 # CHECK: pop.w {r2, r4, r6, r8, r10, r12}
67 # CHECK: push.w {r2, r4, r6, r8, r10, r12}
70 # CHECK: rsbs r0, r0, #0
73 # CHECK-NOT: rsb r0, r2, r0, lsl #0
74 # CHECK: rsb r0, r2, r0
77 # CHECK-NOT: ssat r0, #17, r12, lsl #0
78 # CHECK: ssat r0, #17, r12
81 # CHECK: strd r0, r1, [r7, #64]
87 # CHECK: subw r0, pc, #1
90 # CHECK: subw r0, sp, #835
93 # CHECK: uqadd16 r3, r4, r5
96 # CHECK: usada8 r5, r4, r3, r2
99 # CHECK: uxtab16 r1, r2, r3, ror #8
106 # CHECK: moveq r3, #3
109 # CHECK: asreq r1, r0, #5
112 # CHECK: lsleq r1, r0, #28
115 # CHECK: stmiane r0!, {r1, r2, r3}
119 # CHECK: rsbs r1, r2, #0
128 # CHECK: cpsie.w if, #10
134 # CHECK: msr cpsr_fc, r0
140 # CHECK: vpush {d8, d9, d10}
143 # CHECK: vcmpe.f64 d8, #0
146 # CHECK: stmdb.w sp, {r0, r2, r3, r8, r11, lr}
149 # CHECK: stmia r5!, {r0, r1, r2, r3, r4}
152 # CHECK: ldmia r5, {r0, r1, r2, r3, r4, r5}
155 # CHECK: ldmia r5!, {r0, r1, r2, r3, r4}
158 # CHECK: addw r0, pc, #1050
161 # CHECK: ldrd r3, r8, [r11, #-60]
164 # CHECK: ldrex r8, [r2]
167 # CHECK: ldrexd r8, r9, [r2]
170 # CHECK: strexd r1, r7, r8, [r2]
173 # CHECK: tbh [r5, r4, lsl #1]
176 # CHECK: tbb [r5, r4]
179 # CHECK: ldr.w r4, [sp, r4, lsl #3]
182 # CHECK: ldr.w r5, [r6, #30]
185 # CHECK: ldrh.w r5, [r6, #30]
188 # CHECK: ldrt r5, [r6, #30]
191 # CHECK: ldr r5, [r6, #-30]
194 # CHECK: sel r7, r3, r5
197 # CHECK: lsl.w r7, r3, r5
200 # CHECK: adds.w r7, r3, r5
203 # CHECK: smlabt r4, r3, r2, r1
206 # CHECK: smmulr r7, r8, r9
209 # CHECK: umull r1, r2, r3, r4
212 # CHECK: pld [r5, r0, lsl #1]
215 # CHECK: pld [pc, #-16]
218 # CHECK: pld [r5, #30]
221 # CHECK: stc2 p12, cr15, [r9], {137}
224 # CHECK: vmov r1, r0, d11
233 # CHECK: asrs r1, r0, #32
236 # CHECK: lsr.w r10, r0, #32
254 # CHECK: mov.w r3, #4294967295