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
42 # CHECK: ldclvc p5, cr15, [r8], #-0
45 # CHECK: ldr r0, [r2], #15
48 # CHECK: ldr r5, [r7, -r10, lsl #2]
51 # CHECK: ldrh r0, [r2], #0
54 # CHECK: ldrht r0, [r2], #15
57 # CHECK: ldrsbtvs lr, [r2], -r9
60 # CHECK: lsls r0, r2, #31
63 # CHECK: mcr2 p0, #0, r2, c1, c0, #7
66 # CHECK: movt r8, #65535
69 # CHECK: mvnspl r7, #245, #2
72 # CHECK-NOT: orr r7, r8, r7, rrx #0
73 # CHECK: orr r7, r8, r7, rrx
76 # CHECK: pkhbt r8, r9, r10, lsl #4
79 # CHECK-NOT: pkhbtls r10, r11, r11, lsl #0
80 # CHECK: pkhbtls r10, r11, r11
83 # CHECK: pkhtbmi lr, r1, r6, asr #21
86 # CHECK: pop {r0, r2, r4, r6, r8, r10}
89 # CHECK: push {r0, r2, r4, r6, r8, r10}
92 # CHECK: qsax r8, r9, r10
98 # CHECK-NOT: rsbeq r0, r2, r0, lsl #0
99 # CHECK: rsbeq r0, r2, r0
102 # CHECK-NOT: rscseq r0, r0, r1, lsl #0
103 # CHECK: rscseq r0, r0, r1
106 # CHECK: sbcs r0, pc, #1
109 # CHECK: sbfx r0, r1, #0, #8
112 # CHECK: ssat r8, #1, r10, lsl #8
115 # CHECK-NOT: ssatmi r0, #17, r12, lsl #0
116 # CHECK: ssatmi r0, #17, r12
119 # CHECK: stmdb r10!, {r4, r5, r6, r7, lr}
125 # CHECK: ubfx r0, r0, #16, #1
128 # CHECK: usat r8, #0, r10, asr #32
143 # CHECK: cpsie if, #10
146 # CHECK: msr cpsr_fc, r0
149 # CHECK: msrmi cpsr_c, #241, #8
152 # CHECK: rsbs r6, r7, r8
161 # CHECK: uqadd16mi r6, r11, r8
164 # CHECK: str r0, [sp, #4]
167 # CHECK: str r1, [sp]
170 # CHECK: ldr r3, [pc, #144]
173 # CHECK: ldr r3, [r0, #-4]
176 # CHECK: ldr r5, [sp, r0, lsl #1]!
179 # CHECK: ldr r5, [r7], -r0, lsr #2
182 # CHECK: strdeq r2, r3, [r0], -r8
185 # CHECK: ldrdeq r2, r3, [r0], -r12
188 # CHECK: ldrbt r3, [r4], -r5, lsl #12
191 # CHECK: vcmpe.f64 d8, #0
194 # CHECK: vldmdb r2!, {s7, s8, s9, s10, s11}
197 # CHECK: vldr.32 s23, [r2, #660]
200 # CHECK: strtvc r5, [r3], r0, lsr #20
203 # CHECK: stmiblo sp, {r0, r4, r8, r11, r12, pc}
206 # CHECK: ldmdb sp, {r0, r4, r8, r11, r12, pc}
209 # CHECK: swpge r3, r2, [r6]
212 # CHECK: umull r1, r2, r3, r4
215 # CHECK: pld [pc, #-0]
218 # CHECK: pli [pc, #-0]
221 # CHECK: pli [r3, r1, lsl #2]
224 # CHECK: stc p2, cr4, [r9], {157}
227 # CHECK: stc2 p2, cr4, [r9], {157}
233 # CHECK-NOT: adcs r10, r8, r0, asr #6
234 # CHECK: adcshi r10, r8, r0, asr #6
237 # CHECK: adcshi r10, r8, r0, asr r3
240 # CHECK: streq r1, [sp], #-1567
243 # CHECK: mrchs p2, #3, r11, c13, c6, #6
246 # CHECK: smlsldx r4, r12, r11, r4