Lines Matching refs:X87
8 ; RUN: llc < %s -mtriple=i686-unknown-unknown -mattr=-sse -O3 | FileCheck %s --check-prefixes=X87
81 ; X87-LABEL: sitofp_i1tof32:
82 ; X87: # %bb.0:
83 ; X87-NEXT: pushl %eax
84 ; X87-NEXT: .cfi_def_cfa_offset 8
85 ; X87-NEXT: movb {{[0-9]+}}(%esp), %al
86 ; X87-NEXT: andb $1, %al
87 ; X87-NEXT: negb %al
88 ; X87-NEXT: movsbl %al, %eax
89 ; X87-NEXT: movw %ax, {{[0-9]+}}(%esp)
90 ; X87-NEXT: filds {{[0-9]+}}(%esp)
91 ; X87-NEXT: wait
92 ; X87-NEXT: popl %eax
93 ; X87-NEXT: .cfi_def_cfa_offset 4
94 ; X87-NEXT: retl
140 ; X87-LABEL: sitofp_i8tof32:
141 ; X87: # %bb.0:
142 ; X87-NEXT: pushl %eax
143 ; X87-NEXT: .cfi_def_cfa_offset 8
144 ; X87-NEXT: movsbl {{[0-9]+}}(%esp), %eax
145 ; X87-NEXT: movw %ax, {{[0-9]+}}(%esp)
146 ; X87-NEXT: filds {{[0-9]+}}(%esp)
147 ; X87-NEXT: wait
148 ; X87-NEXT: popl %eax
149 ; X87-NEXT: .cfi_def_cfa_offset 4
150 ; X87-NEXT: retl
196 ; X87-LABEL: sitofp_i16tof32:
197 ; X87: # %bb.0:
198 ; X87-NEXT: pushl %eax
199 ; X87-NEXT: .cfi_def_cfa_offset 8
200 ; X87-NEXT: movzwl {{[0-9]+}}(%esp), %eax
201 ; X87-NEXT: movw %ax, {{[0-9]+}}(%esp)
202 ; X87-NEXT: filds {{[0-9]+}}(%esp)
203 ; X87-NEXT: wait
204 ; X87-NEXT: popl %eax
205 ; X87-NEXT: .cfi_def_cfa_offset 4
206 ; X87-NEXT: retl
248 ; X87-LABEL: sitofp_i32tof32:
249 ; X87: # %bb.0:
250 ; X87-NEXT: pushl %eax
251 ; X87-NEXT: .cfi_def_cfa_offset 8
252 ; X87-NEXT: movl {{[0-9]+}}(%esp), %eax
253 ; X87-NEXT: movl %eax, (%esp)
254 ; X87-NEXT: fildl (%esp)
255 ; X87-NEXT: wait
256 ; X87-NEXT: popl %eax
257 ; X87-NEXT: .cfi_def_cfa_offset 4
258 ; X87-NEXT: retl
300 ; X87-LABEL: sitofp_i64tof32:
301 ; X87: # %bb.0:
302 ; X87-NEXT: fildll {{[0-9]+}}(%esp)
303 ; X87-NEXT: wait
304 ; X87-NEXT: retl
354 ; X87-LABEL: uitofp_i1tof32:
355 ; X87: # %bb.0:
356 ; X87-NEXT: pushl %eax
357 ; X87-NEXT: .cfi_def_cfa_offset 8
358 ; X87-NEXT: movb {{[0-9]+}}(%esp), %al
359 ; X87-NEXT: andb $1, %al
360 ; X87-NEXT: movzbl %al, %eax
361 ; X87-NEXT: movw %ax, {{[0-9]+}}(%esp)
362 ; X87-NEXT: filds {{[0-9]+}}(%esp)
363 ; X87-NEXT: wait
364 ; X87-NEXT: popl %eax
365 ; X87-NEXT: .cfi_def_cfa_offset 4
366 ; X87-NEXT: retl
412 ; X87-LABEL: uitofp_i8tof32:
413 ; X87: # %bb.0:
414 ; X87-NEXT: pushl %eax
415 ; X87-NEXT: .cfi_def_cfa_offset 8
416 ; X87-NEXT: movzbl {{[0-9]+}}(%esp), %eax
417 ; X87-NEXT: movw %ax, {{[0-9]+}}(%esp)
418 ; X87-NEXT: filds {{[0-9]+}}(%esp)
419 ; X87-NEXT: wait
420 ; X87-NEXT: popl %eax
421 ; X87-NEXT: .cfi_def_cfa_offset 4
422 ; X87-NEXT: retl
468 ; X87-LABEL: uitofp_i16tof32:
469 ; X87: # %bb.0:
470 ; X87-NEXT: pushl %eax
471 ; X87-NEXT: .cfi_def_cfa_offset 8
472 ; X87-NEXT: movzwl {{[0-9]+}}(%esp), %eax
473 ; X87-NEXT: movl %eax, (%esp)
474 ; X87-NEXT: fildl (%esp)
475 ; X87-NEXT: wait
476 ; X87-NEXT: popl %eax
477 ; X87-NEXT: .cfi_def_cfa_offset 4
478 ; X87-NEXT: retl
545 ; X87-LABEL: uitofp_i32tof32:
546 ; X87: # %bb.0:
547 ; X87-NEXT: pushl %ebp
548 ; X87-NEXT: .cfi_def_cfa_offset 8
549 ; X87-NEXT: .cfi_offset %ebp, -8
550 ; X87-NEXT: movl %esp, %ebp
551 ; X87-NEXT: .cfi_def_cfa_register %ebp
552 ; X87-NEXT: andl $-8, %esp
553 ; X87-NEXT: subl $8, %esp
554 ; X87-NEXT: movl 8(%ebp), %eax
555 ; X87-NEXT: movl %eax, (%esp)
556 ; X87-NEXT: movl $0, {{[0-9]+}}(%esp)
557 ; X87-NEXT: fildll (%esp)
558 ; X87-NEXT: wait
559 ; X87-NEXT: movl %ebp, %esp
560 ; X87-NEXT: popl %ebp
561 ; X87-NEXT: .cfi_def_cfa %esp, 4
562 ; X87-NEXT: retl
659 ; X87-LABEL: uitofp_i64tof32:
660 ; X87: # %bb.0:
661 ; X87-NEXT: pushl %ebp
662 ; X87-NEXT: .cfi_def_cfa_offset 8
663 ; X87-NEXT: .cfi_offset %ebp, -8
664 ; X87-NEXT: movl %esp, %ebp
665 ; X87-NEXT: .cfi_def_cfa_register %ebp
666 ; X87-NEXT: andl $-8, %esp
667 ; X87-NEXT: subl $16, %esp
668 ; X87-NEXT: movl 8(%ebp), %eax
669 ; X87-NEXT: movl 12(%ebp), %ecx
670 ; X87-NEXT: movl %ecx, {{[0-9]+}}(%esp)
671 ; X87-NEXT: movl %eax, {{[0-9]+}}(%esp)
672 ; X87-NEXT: shrl $31, %ecx
673 ; X87-NEXT: fildll {{[0-9]+}}(%esp)
674 ; X87-NEXT: fadds {{\.LCPI.*}}(,%ecx,4)
675 ; X87-NEXT: fstps {{[0-9]+}}(%esp)
676 ; X87-NEXT: flds {{[0-9]+}}(%esp)
677 ; X87-NEXT: wait
678 ; X87-NEXT: movl %ebp, %esp
679 ; X87-NEXT: popl %ebp
680 ; X87-NEXT: .cfi_def_cfa %esp, 4
681 ; X87-NEXT: retl
739 ; X87-LABEL: sitofp_i8tof64:
740 ; X87: # %bb.0:
741 ; X87-NEXT: pushl %eax
742 ; X87-NEXT: .cfi_def_cfa_offset 8
743 ; X87-NEXT: movsbl {{[0-9]+}}(%esp), %eax
744 ; X87-NEXT: movw %ax, {{[0-9]+}}(%esp)
745 ; X87-NEXT: filds {{[0-9]+}}(%esp)
746 ; X87-NEXT: wait
747 ; X87-NEXT: popl %eax
748 ; X87-NEXT: .cfi_def_cfa_offset 4
749 ; X87-NEXT: retl
807 ; X87-LABEL: sitofp_i16tof64:
808 ; X87: # %bb.0:
809 ; X87-NEXT: pushl %eax
810 ; X87-NEXT: .cfi_def_cfa_offset 8
811 ; X87-NEXT: movzwl {{[0-9]+}}(%esp), %eax
812 ; X87-NEXT: movw %ax, {{[0-9]+}}(%esp)
813 ; X87-NEXT: filds {{[0-9]+}}(%esp)
814 ; X87-NEXT: wait
815 ; X87-NEXT: popl %eax
816 ; X87-NEXT: .cfi_def_cfa_offset 4
817 ; X87-NEXT: retl
871 ; X87-LABEL: sitofp_i32tof64:
872 ; X87: # %bb.0:
873 ; X87-NEXT: pushl %eax
874 ; X87-NEXT: .cfi_def_cfa_offset 8
875 ; X87-NEXT: movl {{[0-9]+}}(%esp), %eax
876 ; X87-NEXT: movl %eax, (%esp)
877 ; X87-NEXT: fildl (%esp)
878 ; X87-NEXT: wait
879 ; X87-NEXT: popl %eax
880 ; X87-NEXT: .cfi_def_cfa_offset 4
881 ; X87-NEXT: retl
935 ; X87-LABEL: sitofp_i64tof64:
936 ; X87: # %bb.0:
937 ; X87-NEXT: fildll {{[0-9]+}}(%esp)
938 ; X87-NEXT: wait
939 ; X87-NEXT: retl
1001 ; X87-LABEL: uitofp_i1tof64:
1002 ; X87: # %bb.0:
1003 ; X87-NEXT: pushl %eax
1004 ; X87-NEXT: .cfi_def_cfa_offset 8
1005 ; X87-NEXT: movb {{[0-9]+}}(%esp), %al
1006 ; X87-NEXT: andb $1, %al
1007 ; X87-NEXT: movzbl %al, %eax
1008 ; X87-NEXT: movw %ax, {{[0-9]+}}(%esp)
1009 ; X87-NEXT: filds {{[0-9]+}}(%esp)
1010 ; X87-NEXT: wait
1011 ; X87-NEXT: popl %eax
1012 ; X87-NEXT: .cfi_def_cfa_offset 4
1013 ; X87-NEXT: retl
1071 ; X87-LABEL: uitofp_i8tof64:
1072 ; X87: # %bb.0:
1073 ; X87-NEXT: pushl %eax
1074 ; X87-NEXT: .cfi_def_cfa_offset 8
1075 ; X87-NEXT: movzbl {{[0-9]+}}(%esp), %eax
1076 ; X87-NEXT: movw %ax, {{[0-9]+}}(%esp)
1077 ; X87-NEXT: filds {{[0-9]+}}(%esp)
1078 ; X87-NEXT: wait
1079 ; X87-NEXT: popl %eax
1080 ; X87-NEXT: .cfi_def_cfa_offset 4
1081 ; X87-NEXT: retl
1139 ; X87-LABEL: uitofp_i16tof64:
1140 ; X87: # %bb.0:
1141 ; X87-NEXT: pushl %eax
1142 ; X87-NEXT: .cfi_def_cfa_offset 8
1143 ; X87-NEXT: movzwl {{[0-9]+}}(%esp), %eax
1144 ; X87-NEXT: movl %eax, (%esp)
1145 ; X87-NEXT: fildl (%esp)
1146 ; X87-NEXT: wait
1147 ; X87-NEXT: popl %eax
1148 ; X87-NEXT: .cfi_def_cfa_offset 4
1149 ; X87-NEXT: retl
1232 ; X87-LABEL: uitofp_i32tof64:
1233 ; X87: # %bb.0:
1234 ; X87-NEXT: pushl %ebp
1235 ; X87-NEXT: .cfi_def_cfa_offset 8
1236 ; X87-NEXT: .cfi_offset %ebp, -8
1237 ; X87-NEXT: movl %esp, %ebp
1238 ; X87-NEXT: .cfi_def_cfa_register %ebp
1239 ; X87-NEXT: andl $-8, %esp
1240 ; X87-NEXT: subl $8, %esp
1241 ; X87-NEXT: movl 8(%ebp), %eax
1242 ; X87-NEXT: movl %eax, (%esp)
1243 ; X87-NEXT: movl $0, {{[0-9]+}}(%esp)
1244 ; X87-NEXT: fildll (%esp)
1245 ; X87-NEXT: wait
1246 ; X87-NEXT: movl %ebp, %esp
1247 ; X87-NEXT: popl %ebp
1248 ; X87-NEXT: .cfi_def_cfa %esp, 4
1249 ; X87-NEXT: retl
1346 ; X87-LABEL: uitofp_i64tof64:
1347 ; X87: # %bb.0:
1348 ; X87-NEXT: pushl %ebp
1349 ; X87-NEXT: .cfi_def_cfa_offset 8
1350 ; X87-NEXT: .cfi_offset %ebp, -8
1351 ; X87-NEXT: movl %esp, %ebp
1352 ; X87-NEXT: .cfi_def_cfa_register %ebp
1353 ; X87-NEXT: andl $-8, %esp
1354 ; X87-NEXT: subl $16, %esp
1355 ; X87-NEXT: movl 8(%ebp), %eax
1356 ; X87-NEXT: movl 12(%ebp), %ecx
1357 ; X87-NEXT: movl %ecx, {{[0-9]+}}(%esp)
1358 ; X87-NEXT: movl %eax, (%esp)
1359 ; X87-NEXT: shrl $31, %ecx
1360 ; X87-NEXT: fildll (%esp)
1361 ; X87-NEXT: fadds {{\.LCPI.*}}(,%ecx,4)
1362 ; X87-NEXT: fstpl {{[0-9]+}}(%esp)
1363 ; X87-NEXT: fldl {{[0-9]+}}(%esp)
1364 ; X87-NEXT: wait
1365 ; X87-NEXT: movl %ebp, %esp
1366 ; X87-NEXT: popl %ebp
1367 ; X87-NEXT: .cfi_def_cfa %esp, 4
1368 ; X87-NEXT: retl