1 # RUN: llvm-mc --disassemble %s -triple=thumbv7-apple-darwin9 -mcpu=cortex-a9-mp | 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: ldm r0!, {r1}
39 # CHECK: str r0, [r3, #4]
42 # CHECK: str r2, [r5, r3]
45 # CHECK: ldrb.w r8, [pc, #-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: stmne 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 sp, {r0, r2, r3, r8, r11, lr}
149 # CHECK: stm r5!, {r0, r1, r2, r3, r4}
152 # CHECK: ldm r5, {r0, r1, r2, r3, r4, r5}
155 # CHECK: ldm 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, c15, [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
269 # CHECK: vadd.f32 q0, q1, q2
272 # CHECK: ldrsb r1, [r0, r0]
275 # CHECK: ldrsh r1, [r0, r0]
278 # CHECK: and.w r5, r1, r10, ror #7
281 # CHECK: ldrsh r6, [sp], #81
284 # CHECK: usat16 r4, #10, r1
287 # CHECK: smlad r5, r12, r8, r11
290 # CHECK: teq.w r0, r11
293 # CHECK: uxtb16 r9, r12, ror #16
296 # CHECK: pldw [r11, r12, lsl #2]
299 # CHECK: msr CPSR_fc, r0
302 # CHECK: mrs r0, apsr
306 # CHECK: blx #2313244
310 # CHECK: bl #-12303196