Home | History | Annotate | Download | only in X86

Lines Matching full:darwin

5 ; RUN: llc < %s -mcpu=generic -mtriple=i686-darwin -verify-machineinstrs | FileCheck %s -check-prefix=X32-Darwin
6 ; RUN: llc < %s -mcpu=generic -mtriple=x86_64-darwin -verify-machineinstrs | FileCheck %s -check-prefix=X64-Darwin
17 ; RUN: llc < %s -mcpu=generic -mtriple=i686-darwin -filetype=obj -o /dev/null
18 ; RUN: llc < %s -mcpu=generic -mtriple=x86_64-darwin -filetype=obj -o /dev/null
81 ; X32-Darwin-LABEL: test_basic:
83 ; X32-Darwin: movl $432, %ecx
84 ; X32-Darwin-NEXT: cmpl %gs:(%ecx), %esp
85 ; X32-Darwin-NEXT: ja LBB0_2
87 ; X32-Darwin: pushl $0
88 ; X32-Darwin-NEXT: pushl $60
89 ; X32-Darwin-NEXT: calll ___morestack
90 ; X32-Darwin-NEXT: ret
92 ; X64-Darwin-LABEL: test_basic:
94 ; X64-Darwin: cmpq %gs:816, %rsp
95 ; X64-Darwin-NEXT: ja LBB0_2
97 ; X64-Darwin: movabsq $40, %r10
98 ; X64-Darwin-NEXT: movabsq $0, %r11
99 ; X64-Darwin-NEXT: callq ___morestack
100 ; X64-Darwin-NEXT: ret
189 ; X32-Darwin: movl $432, %edx
190 ; X32-Darwin-NEXT: cmpl %gs:(%edx), %esp
191 ; X32-Darwin-NEXT: ja LBB1_2
193 ; X32-Darwin: pushl $4
194 ; X32-Darwin-NEXT: pushl $60
195 ; X32-Darwin-NEXT: calll ___morestack
196 ; X32-Darwin-NEXT: ret
198 ; X64-Darwin: cmpq %gs:816, %rsp
199 ; X64-Darwin-NEXT: ja LBB1_2
201 ; X64-Darwin: movq %r10, %rax
202 ; X64-Darwin-NEXT: movabsq $56, %r10
203 ; X64-Darwin-NEXT: movabsq $0, %r11
204 ; X64-Darwin-NEXT: callq ___morestack
205 ; X64-Darwin-NEXT: ret
206 ; X64-Darwin-NEXT: movq %rax, %r10
289 ; X32-Darwin: leal -40012(%esp), %ecx
290 ; X32-Darwin-NEXT: movl $432, %eax
291 ; X32-Darwin-NEXT: cmpl %gs:(%eax), %ecx
292 ; X32-Darwin-NEXT: ja LBB2_2
294 ; X32-Darwin: pushl $0
295 ; X32-Darwin-NEXT: pushl $40012
296 ; X32-Darwin-NEXT: calll ___morestack
297 ; X32-Darwin-NEXT: ret
299 ; X64-Darwin: leaq -40008(%rsp), %r11
300 ; X64-Darwin-NEXT: cmpq %gs:816, %r11
301 ; X64-Darwin-NEXT: ja LBB2_2
303 ; X64-Darwin: movabsq $40008, %r10
304 ; X64-Darwin-NEXT: movabsq $0, %r11
305 ; X64-Darwin-NEXT: callq ___morestack
306 ; X64-Darwin-NEXT: ret
391 ; X32-Darwin-LABEL: test_fastcc:
393 ; X32-Darwin: movl $432, %eax
394 ; X32-Darwin-NEXT: cmpl %gs:(%eax), %esp
395 ; X32-Darwin-NEXT: ja LBB3_2
397 ; X32-Darwin: pushl $0
398 ; X32-Darwin-NEXT: pushl $60
399 ; X32-Darwin-NEXT: calll ___morestack
400 ; X32-Darwin-NEXT: ret
402 ; X64-Darwin-LABEL: test_fastcc:
404 ; X64-Darwin: cmpq %gs:816, %rsp
405 ; X64-Darwin-NEXT: ja LBB3_2
407 ; X64-Darwin: movabsq $40, %r10
408 ; X64-Darwin-NEXT: movabsq $0, %r11
409 ; X64-Darwin-NEXT: callq ___morestack
410 ; X64-Darwin-NEXT: ret
502 ; X32-Darwin-LABEL: test_fastcc_large:
504 ; X32-Darwin: leal -40012(%esp), %eax
505 ; X32-Darwin-NEXT: movl $432, %ecx
506 ; X32-Darwin-NEXT: cmpl %gs:(%ecx), %eax
507 ; X32-Darwin-NEXT: ja LBB4_2
509 ; X32-Darwin: pushl $0
510 ; X32-Darwin-NEXT: pushl $40012
511 ; X32-Darwin-NEXT: calll ___morestack
512 ; X32-Darwin-NEXT: ret
514 ; X64-Darwin-LABEL: test_fastcc_large:
516 ; X64-Darwin: leaq -40008(%rsp), %r11
517 ; X64-Darwin-NEXT: cmpq %gs:816, %r11
518 ; X64-Darwin-NEXT: ja LBB4_2
520 ; X64-Darwin: movabsq $40008, %r10
521 ; X64-Darwin-NEXT: movabsq $0, %r11
522 ; X64-Darwin-NEXT: callq ___morestack
523 ; X64-Darwin-NEXT: ret
589 ; X32-Darwin-LABEL: test_fastcc_large_with_ecx_arg:
591 ; X32-Darwin: leal -40012(%esp), %eax
592 ; X32-Darwin-NEXT: pushl %ecx
593 ; X32-Darwin-NEXT: movl $432, %ecx
594 ; X32-Darwin-NEXT: cmpl %gs:(%ecx), %eax
595 ; X32-Darwin-NEXT: popl %ecx
596 ; X32-Darwin-NEXT: ja LBB5_2
598 ; X32-Darwin: pushl $0
599 ; X32-Darwin-NEXT: pushl $40012
600 ; X32-Darwin-NEXT: calll ___morestack
601 ; X32-Darwin-NEXT: ret
617 ; X32-Darwin-LABEL: test_nostack:
618 ; X32-Darwin-NOT: calll __morestack
620 ; X64-Darwin-LABEL: test_nostack:
621 ; X64-Darwin-NOT: callq __morestack