Lines Matching full:x32
1 ; RUN: llc < %s -mcpu=generic -mtriple=i686-linux -segmented-stacks -verify-machineinstrs | FileCheck %s -check-prefix=X32-Linux
3 ; RUN: llc < %s -mcpu=generic -mtriple=i686-darwin -segmented-stacks -verify-machineinstrs | FileCheck %s -check-prefix=X32-Darwin
5 ; RUN: llc < %s -mcpu=generic -mtriple=i686-mingw32 -segmented-stacks -verify-machineinstrs | FileCheck %s -check-prefix=X32-MinGW
21 ; RUN: FileCheck %s -input-file=%t.log -check-prefix=X32-FreeBSD
25 ; X32-FreeBSD: Segmented stacks not supported on FreeBSD i386
35 ; X32-Linux-LABEL: test_basic:
37 ; X32-Linux: cmpl %gs:48, %esp
38 ; X32-Linux-NEXT: ja .LBB0_2
40 ; X32-Linux: pushl $0
41 ; X32-Linux-NEXT: pushl $60
42 ; X32-Linux-NEXT: calll __morestack
43 ; X32-Linux-NEXT: ret
55 ; X32-Darwin-LABEL: test_basic:
57 ; X32-Darwin: movl $432, %ecx
58 ; X32-Darwin-NEXT: cmpl %gs:(%ecx), %esp
59 ; X32-Darwin-NEXT: ja LBB0_2
61 ; X32-Darwin: pushl $0
62 ; X32-Darwin-NEXT: pushl $60
63 ; X32-Darwin-NEXT: calll ___morestack
64 ; X32-Darwin-NEXT: ret
76 ; X32-MinGW-LABEL: test_basic:
78 ; X32-MinGW: cmpl %fs:20, %esp
79 ; X32-MinGW-NEXT: ja LBB0_2
81 ; X32-MinGW: pushl $0
82 ; X32-MinGW-NEXT: pushl $48
83 ; X32-MinGW-NEXT: calll ___morestack
84 ; X32-MinGW-NEXT: ret
103 ; X32-Linux: cmpl %gs:48, %esp
104 ; X32-Linux-NEXT: ja .LBB1_2
106 ; X32-Linux: pushl $4
107 ; X32-Linux-NEXT: pushl $0
108 ; X32-Linux-NEXT: calll __morestack
109 ; X32-Linux-NEXT: ret
121 ; X32-Darwin: movl $432, %edx
122 ; X32-Darwin-NEXT: cmpl %gs:(%edx), %esp
123 ; X32-Darwin-NEXT: ja LBB1_2
125 ; X32-Darwin: pushl $4
126 ; X32-Darwin-NEXT: pushl $0
127 ; X32-Darwin-NEXT: calll ___morestack
128 ; X32-Darwin-NEXT: ret
140 ; X32-MinGW: cmpl %fs:20, %esp
141 ; X32-MinGW-NEXT: ja LBB1_2
143 ; X32-MinGW: pushl $4
144 ; X32-MinGW-NEXT: pushl $0
145 ; X32-MinGW-NEXT: calll ___morestack
146 ; X32-MinGW-NEXT: ret
165 ; X32-Linux: leal -40012(%esp), %ecx
166 ; X32-Linux-NEXT: cmpl %gs:48, %ecx
167 ; X32-Linux-NEXT: ja .LBB2_2
169 ; X32-Linux: pushl $0
170 ; X32-Linux-NEXT: pushl $40012
171 ; X32-Linux-NEXT: calll __morestack
172 ; X32-Linux-NEXT: ret
183 ; X32-Darwin: leal -40012(%esp), %ecx
184 ; X32-Darwin-NEXT: movl $432, %eax
185 ; X32-Darwin-NEXT: cmpl %gs:(%eax), %ecx
186 ; X32-Darwin-NEXT: ja LBB2_2
188 ; X32-Darwin: pushl $0
189 ; X32-Darwin-NEXT: pushl $40012
190 ; X32-Darwin-NEXT: calll ___morestack
191 ; X32-Darwin-NEXT: ret
202 ; X32-MinGW: leal -40008(%esp), %ecx
203 ; X32-MinGW-NEXT: cmpl %fs:20, %ecx
204 ; X32-MinGW-NEXT: ja LBB2_2
206 ; X32-MinGW: pushl $0
207 ; X32-MinGW-NEXT: pushl $40008
208 ; X32-MinGW-NEXT: calll ___morestack
209 ; X32-MinGW-NEXT: ret
227 ; X32-Linux-LABEL: test_fastcc:
229 ; X32-Linux: cmpl %gs:48, %esp
230 ; X32-Linux-NEXT: ja .LBB3_2
232 ; X32-Linux: pushl $0
233 ; X32-Linux-NEXT: pushl $60
234 ; X32-Linux-NEXT: calll __morestack
235 ; X32-Linux-NEXT: ret
247 ; X32-Darwin-LABEL: test_fastcc:
249 ; X32-Darwin: movl $432, %eax
250 ; X32-Darwin-NEXT: cmpl %gs:(%eax), %esp
251 ; X32-Darwin-NEXT: ja LBB3_2
253 ; X32-Darwin: pushl $0
254 ; X32-Darwin-NEXT: pushl $60
255 ; X32-Darwin-NEXT: calll ___morestack
256 ; X32-Darwin-NEXT: ret
268 ; X32-MinGW-LABEL: test_fastcc:
270 ; X32-MinGW: cmpl %fs:20, %esp
271 ; X32-MinGW-NEXT: ja LBB3_2
273 ; X32-MinGW: pushl $0
274 ; X32-MinGW-NEXT: pushl $48
275 ; X32-MinGW-NEXT: calll ___morestack
276 ; X32-MinGW-NEXT: ret
295 ; X32-Linux-LABEL: test_fastcc_large:
297 ; X32-Linux: leal -40012(%esp), %eax
298 ; X32-Linux-NEXT: cmpl %gs:48, %eax
299 ; X32-Linux-NEXT: ja .LBB4_2
301 ; X32-Linux: pushl $0
302 ; X32-Linux-NEXT: pushl $40012
303 ; X32-Linux-NEXT: calll __morestack
304 ; X32-Linux-NEXT: ret
317 ; X32-Darwin-LABEL: test_fastcc_large:
319 ; X32-Darwin: leal -40012(%esp), %eax
320 ; X32-Darwin-NEXT: movl $432, %ecx
321 ; X32-Darwin-NEXT: cmpl %gs:(%ecx), %eax
322 ; X32-Darwin-NEXT: ja LBB4_2
324 ; X32-Darwin: pushl $0
325 ; X32-Darwin-NEXT: pushl $40012
326 ; X32-Darwin-NEXT: calll ___morestack
327 ; X32-Darwin-NEXT: ret
340 ; X32-MinGW-LABEL: test_fastcc_large:
342 ; X32-MinGW: leal -40008(%esp), %eax
343 ; X32-MinGW-NEXT: cmpl %fs:20, %eax
344 ; X32-MinGW-NEXT: ja LBB4_2
346 ; X32-MinGW: pushl $0
347 ; X32-MinGW-NEXT: pushl $40008
348 ; X32-MinGW-NEXT: calll ___morestack
349 ; X32-MinGW-NEXT: ret
371 ; X32-Darwin-LABEL: test_fastcc_large_with_ecx_arg:
373 ; X32-Darwin: leal -40012(%esp), %eax
374 ; X32-Darwin-NEXT: pushl %ecx
375 ; X32-Darwin-NEXT: movl $432, %ecx
376 ; X32-Darwin-NEXT: cmpl %gs:(%ecx), %eax
377 ; X32-Darwin-NEXT: popl %ecx
378 ; X32-Darwin-NEXT: ja LBB5_2
380 ; X32-Darwin: pushl $0
381 ; X32-Darwin-NEXT: pushl $40012
382 ; X32-Darwin-NEXT: calll ___morestack
383 ; X32-Darwin-NEXT: ret