1 # RUN: llvm-mc --disassemble %s -triple=arm-apple-darwin9 | FileCheck %s
3 # CHECK: addpl r4, pc, #19, #8
15 # CHECK: bfc r8, #0, #16
18 # CHECK: bfi r8, r0, #16, #1
24 # CHECK: mov pc, #255, #2
27 # CHECK: movw r7, #4096
48 # CHECK: ldclvc p5, cr15, [r8], #-0
51 # CHECK: ldr r0, [r2], #15
54 # CHECK: ldr r5, [r7, -r10, lsl #2]
57 # CHECK: ldrh r0, [r2], #0
60 # CHECK: ldrht r0, [r2], #15
63 # CHECK: ldrsbtvs lr, [r2], -r9
66 # CHECK: lsls r0, r2, #31
69 # CHECK: mcr2 p0, #0, r2, c1, c0, #7
72 # CHECK: movt r8, #65535
75 # CHECK: mvnspl r7, #245, #2
78 # CHECK-NOT: orr r7, r8, r7, rrx #0
79 # CHECK: orr r7, r8, r7, rrx
82 # CHECK: pkhbt r8, r9, r10, lsl #4
85 # CHECK-NOT: pkhbtls r10, r11, r11, lsl #0
86 # CHECK: pkhbtls r10, r11, r11
89 # CHECK: pkhtbmi lr, r1, r6, asr #21
92 # CHECK: pop {r0, r2, r4, r6, r8, r10}
95 # CHECK: push {r0, r2, r4, r6, r8, r10}
98 # CHECK: qsax r8, r9, r10
104 # CHECK-NOT: rsbeq r0, r2, r0, lsl #0
105 # CHECK: rsbeq r0, r2, r0
108 # CHECK-NOT: rscseq r0, r0, r1, lsl #0
109 # CHECK: rscseq r0, r0, r1
112 # CHECK: sbcs r0, pc, #1
115 # CHECK: sbfx r0, r1, #0, #8
118 # CHECK: ssat r8, #1, r10, lsl #8
121 # CHECK-NOT: ssatmi r0, #17, r12, lsl #0
122 # CHECK: ssatmi r0, #17, r12
125 # CHECK: stmdb r10!, {r4, r5, r6, r7, lr}
131 # CHECK: ubfx r0, r0, #16, #1
134 # CHECK: usat r8, #0, r10, asr #32
149 # CHECK: cpsie if, #10
152 # CHECK: msr cpsr_fc, r0
155 # CHECK: msrmi cpsr_c, #241, #8
158 # CHECK: rsbs r6, r7, r8
170 # CHECK: uqadd16mi r6, r11, r8
173 # CHECK: str r0, [sp, #4]
176 # CHECK: str r1, [sp]
179 # CHECK: ldr r3, [pc, #144]
182 # CHECK: ldr r3, [r0, #-4]
185 # CHECK: ldr r5, [sp, r0, lsl #1]!
188 # CHECK: ldr r5, [r7], -r0, lsr #2
191 # CHECK: strdeq r2, r3, [r0], -r8
194 # CHECK: ldrdeq r2, r3, [r0], -r12
197 # CHECK: ldrbt r3, [r4], -r5, lsl #12
200 # CHECK: vcmpe.f64 d8, #0
203 # CHECK: vldmdb r2!, {s7, s8, s9, s10, s11}
206 # CHECK: vldr.32 s23, [r2, #660]
209 # CHECK: strtvc r5, [r3], r0, lsr #20
212 # CHECK: stmiblo sp, {r0, r4, r8, r11, r12, pc}
215 # CHECK: ldmdb sp, {r0, r4, r8, r11, r12, pc}
218 # CHECK: swpge r3, r2, [r6]
221 # CHECK: umull r1, r2, r3, r4
224 # CHECK: pld [pc, #-0]
227 # CHECK: pli [pc, #-0]
230 # CHECK: pli [r3, r1, lsl #2]
233 # CHECK: stc p2, cr4, [r9], {157}
236 # CHECK: stc2 p2, cr4, [r9], {157}
242 # CHECK-NOT: adcs r10, r8, r0, asr #6
243 # CHECK: adcshi r10, r8, r0, asr #6
246 # CHECK: adcshi r10, r8, r0, asr r3
249 # CHECK: streq r1, [sp], #-1567
252 # CHECK: mrchs p2, #3, r11, c13, c6, #6
255 # CHECK: smlsldx r4, r12, r11, r4
258 # CHECK: lsl r3, r2, r1
261 # CHECK: sxtab r9, r8, r5
264 # CHECK: sxtb r9, r5, ror #8
267 # CHECK: bfc r5, #0, #16
270 # CHECK: bfi r5, r6, #0, #16
273 # CHECK: sbfx r5, r6, #8, #8
276 # CHECK: rsb pc, r5, r0
279 # CHECK: uqadd8 r5, r6, r7
282 # CHECK: uqsax r5, r6, r7
285 # CHECK: smmlareq r0, r0, r0, r0