• Home
  • Raw
  • Download

Lines Matching refs:PIC

3 …riple=i386-macosx -relocation-model=pic -verify-machineinstrs < %s | FileCheck %s -check-prefix=PIC
32 ; PIC-LABEL: atomic_max_i64:
33 ; PIC: ## %bb.0: ## %entry
34 ; PIC-NEXT: pushl %ebx
35 ; PIC-NEXT: pushl %edi
36 ; PIC-NEXT: pushl %esi
37 ; PIC-NEXT: calll L0$pb
38 ; PIC-NEXT: L0$pb:
39 ; PIC-NEXT: popl %eax
40 ; PIC-NEXT: movl L_sc64$non_lazy_ptr-L0$pb(%eax), %esi
41 ; PIC-NEXT: movl (%esi), %eax
42 ; PIC-NEXT: movl 4(%esi), %edx
43 ; PIC-NEXT: movl $5, %edi
44 ; PIC-NEXT: .p2align 4, 0x90
45 ; PIC-NEXT: LBB0_1: ## %atomicrmw.start
46 ; PIC-NEXT: ## =>This Inner Loop Header: Depth=1
47 ; PIC-NEXT: cmpl %eax, %edi
48 ; PIC-NEXT: movl $0, %ecx
49 ; PIC-NEXT: sbbl %edx, %ecx
50 ; PIC-NEXT: movl $0, %ecx
51 ; PIC-NEXT: cmovll %edx, %ecx
52 ; PIC-NEXT: movl $5, %ebx
53 ; PIC-NEXT: cmovll %eax, %ebx
54 ; PIC-NEXT: lock cmpxchg8b (%esi)
55 ; PIC-NEXT: jne LBB0_1
56 ; PIC-NEXT: ## %bb.2: ## %atomicrmw.end
57 ; PIC-NEXT: popl %esi
58 ; PIC-NEXT: popl %edi
59 ; PIC-NEXT: popl %ebx
60 ; PIC-NEXT: retl
61 ; PIC-NEXT: ## -- End function
89 ; PIC-LABEL: atomic_min_i64:
90 ; PIC: ## %bb.0: ## %entry
91 ; PIC-NEXT: pushl %ebx
92 ; PIC-NEXT: pushl %esi
93 ; PIC-NEXT: calll L1$pb
94 ; PIC-NEXT: L1$pb:
95 ; PIC-NEXT: popl %eax
96 ; PIC-NEXT: movl L_sc64$non_lazy_ptr-L1$pb(%eax), %esi
97 ; PIC-NEXT: movl (%esi), %eax
98 ; PIC-NEXT: movl 4(%esi), %edx
99 ; PIC-NEXT: .p2align 4, 0x90
100 ; PIC-NEXT: LBB1_1: ## %atomicrmw.start
101 ; PIC-NEXT: ## =>This Inner Loop Header: Depth=1
102 ; PIC-NEXT: cmpl $7, %eax
103 ; PIC-NEXT: movl %edx, %ecx
104 ; PIC-NEXT: sbbl $0, %ecx
105 ; PIC-NEXT: movl $0, %ecx
106 ; PIC-NEXT: cmovll %edx, %ecx
107 ; PIC-NEXT: movl $6, %ebx
108 ; PIC-NEXT: cmovll %eax, %ebx
109 ; PIC-NEXT: lock cmpxchg8b (%esi)
110 ; PIC-NEXT: jne LBB1_1
111 ; PIC-NEXT: ## %bb.2: ## %atomicrmw.end
112 ; PIC-NEXT: popl %esi
113 ; PIC-NEXT: popl %ebx
114 ; PIC-NEXT: retl
115 ; PIC-NEXT: ## -- End function
146 ; PIC-LABEL: atomic_umax_i64:
147 ; PIC: ## %bb.0: ## %entry
148 ; PIC-NEXT: pushl %ebx
149 ; PIC-NEXT: pushl %edi
150 ; PIC-NEXT: pushl %esi
151 ; PIC-NEXT: calll L2$pb
152 ; PIC-NEXT: L2$pb:
153 ; PIC-NEXT: popl %eax
154 ; PIC-NEXT: movl L_sc64$non_lazy_ptr-L2$pb(%eax), %esi
155 ; PIC-NEXT: movl (%esi), %eax
156 ; PIC-NEXT: movl 4(%esi), %edx
157 ; PIC-NEXT: movl $7, %edi
158 ; PIC-NEXT: .p2align 4, 0x90
159 ; PIC-NEXT: LBB2_1: ## %atomicrmw.start
160 ; PIC-NEXT: ## =>This Inner Loop Header: Depth=1
161 ; PIC-NEXT: cmpl %eax, %edi
162 ; PIC-NEXT: movl $0, %ecx
163 ; PIC-NEXT: sbbl %edx, %ecx
164 ; PIC-NEXT: movl $0, %ecx
165 ; PIC-NEXT: cmovbl %edx, %ecx
166 ; PIC-NEXT: movl $7, %ebx
167 ; PIC-NEXT: cmovbl %eax, %ebx
168 ; PIC-NEXT: lock cmpxchg8b (%esi)
169 ; PIC-NEXT: jne LBB2_1
170 ; PIC-NEXT: ## %bb.2: ## %atomicrmw.end
171 ; PIC-NEXT: popl %esi
172 ; PIC-NEXT: popl %edi
173 ; PIC-NEXT: popl %ebx
174 ; PIC-NEXT: retl
175 ; PIC-NEXT: ## -- End function
203 ; PIC-LABEL: atomic_umin_i64:
204 ; PIC: ## %bb.0: ## %entry
205 ; PIC-NEXT: pushl %ebx
206 ; PIC-NEXT: pushl %esi
207 ; PIC-NEXT: calll L3$pb
208 ; PIC-NEXT: L3$pb:
209 ; PIC-NEXT: popl %eax
210 ; PIC-NEXT: movl L_sc64$non_lazy_ptr-L3$pb(%eax), %esi
211 ; PIC-NEXT: movl (%esi), %eax
212 ; PIC-NEXT: movl 4(%esi), %edx
213 ; PIC-NEXT: .p2align 4, 0x90
214 ; PIC-NEXT: LBB3_1: ## %atomicrmw.start
215 ; PIC-NEXT: ## =>This Inner Loop Header: Depth=1
216 ; PIC-NEXT: cmpl $9, %eax
217 ; PIC-NEXT: movl %edx, %ecx
218 ; PIC-NEXT: sbbl $0, %ecx
219 ; PIC-NEXT: movl $0, %ecx
220 ; PIC-NEXT: cmovbl %edx, %ecx
221 ; PIC-NEXT: movl $8, %ebx
222 ; PIC-NEXT: cmovbl %eax, %ebx
223 ; PIC-NEXT: lock cmpxchg8b (%esi)
224 ; PIC-NEXT: jne LBB3_1
225 ; PIC-NEXT: ## %bb.2: ## %atomicrmw.end
226 ; PIC-NEXT: popl %esi
227 ; PIC-NEXT: popl %ebx
228 ; PIC-NEXT: retl
229 ; PIC-NEXT: ## -- End function
263 ; PIC-LABEL: tf_bug:
264 ; PIC: ## %bb.0: ## %entry
265 ; PIC-NEXT: pushl %ebx
266 ; PIC-NEXT: pushl %edi
267 ; PIC-NEXT: pushl %esi
268 ; PIC-NEXT: calll L4$pb
269 ; PIC-NEXT: L4$pb:
270 ; PIC-NEXT: popl %edi
271 ; PIC-NEXT: movl {{[0-9]+}}(%esp), %esi
272 ; PIC-NEXT: movl (_id-L4$pb)+4(%edi), %edx
273 ; PIC-NEXT: movl _id-L4$pb(%edi), %eax
274 ; PIC-NEXT: .p2align 4, 0x90
275 ; PIC-NEXT: LBB4_1: ## %atomicrmw.start
276 ; PIC-NEXT: ## =>This Inner Loop Header: Depth=1
277 ; PIC-NEXT: movl %eax, %ebx
278 ; PIC-NEXT: addl $1, %ebx
279 ; PIC-NEXT: movl %edx, %ecx
280 ; PIC-NEXT: adcl $0, %ecx
281 ; PIC-NEXT: lock cmpxchg8b _id-L4$pb(%edi)
282 ; PIC-NEXT: jne LBB4_1
283 ; PIC-NEXT: ## %bb.2: ## %atomicrmw.end
284 ; PIC-NEXT: addl $1, %eax
285 ; PIC-NEXT: adcl $0, %edx
286 ; PIC-NEXT: movl %eax, (%esi)
287 ; PIC-NEXT: movl %edx, 4(%esi)
288 ; PIC-NEXT: popl %esi
289 ; PIC-NEXT: popl %edi
290 ; PIC-NEXT: popl %ebx
291 ; PIC-NEXT: retl
292 ; PIC-NEXT: ## -- End function
293 ; PIC-NEXT: .zerofill __DATA,__bss,_id,8,3 ## @id