Lines Matching refs:X87

2 ; RUN: llc -O3 -mtriple=i686-pc-linux -mattr=+cmov < %s | FileCheck %s --check-prefix=X87
18 ; X87-LABEL: f1:
19 ; X87: # %bb.0: # %entry
20 ; X87-NEXT: fld1
21 ; X87-NEXT: fdivs {{\.LCPI.*}}
22 ; X87-NEXT: wait
23 ; X87-NEXT: retl
67 ; X87-LABEL: f2:
68 ; X87: # %bb.0: # %entry
69 ; X87-NEXT: fldz
70 ; X87-NEXT: fsubrl {{[0-9]+}}(%esp)
71 ; X87-NEXT: wait
72 ; X87-NEXT: retl
118 ; X87-LABEL: f3:
119 ; X87: # %bb.0: # %entry
120 ; X87-NEXT: fldz
121 ; X87-NEXT: fchs
122 ; X87-NEXT: fld %st(0)
123 ; X87-NEXT: fsubl {{[0-9]+}}(%esp)
124 ; X87-NEXT: fmull {{[0-9]+}}(%esp)
125 ; X87-NEXT: fsubrp %st, %st(1)
126 ; X87-NEXT: wait
127 ; X87-NEXT: retl
191 ; X87-LABEL: f4:
192 ; X87: # %bb.0: # %entry
193 ; X87-NEXT: fldl {{[0-9]+}}(%esp)
194 ; X87-NEXT: wait
195 ; X87-NEXT: cmpl $0, {{[0-9]+}}(%esp)
196 ; X87-NEXT: jle .LBB3_2
197 ; X87-NEXT: # %bb.1: # %if.then
198 ; X87-NEXT: fld1
199 ; X87-NEXT: faddp %st, %st(1)
200 ; X87-NEXT: wait
201 ; X87-NEXT: .LBB3_2: # %if.end
202 ; X87-NEXT: retl
256 ; X87-LABEL: f5:
257 ; X87: # %bb.0: # %entry
258 ; X87-NEXT: flds {{\.LCPI.*}}
259 ; X87-NEXT: fsqrt
260 ; X87-NEXT: wait
261 ; X87-NEXT: retl
296 ; X87-LABEL: f6:
297 ; X87: # %bb.0: # %entry
298 ; X87-NEXT: subl $28, %esp
299 ; X87-NEXT: .cfi_def_cfa_offset 32
300 ; X87-NEXT: flds {{\.LCPI.*}}
301 ; X87-NEXT: fstpl {{[0-9]+}}(%esp)
302 ; X87-NEXT: fldl {{\.LCPI.*}}
303 ; X87-NEXT: fstpl (%esp)
304 ; X87-NEXT: wait
305 ; X87-NEXT: calll pow
306 ; X87-NEXT: addl $28, %esp
307 ; X87-NEXT: .cfi_def_cfa_offset 4
308 ; X87-NEXT: retl
354 ; X87-LABEL: f7:
355 ; X87: # %bb.0: # %entry
356 ; X87-NEXT: subl $12, %esp
357 ; X87-NEXT: .cfi_def_cfa_offset 16
358 ; X87-NEXT: fldl {{\.LCPI.*}}
359 ; X87-NEXT: fstpl (%esp)
360 ; X87-NEXT: wait
361 ; X87-NEXT: movl $3, {{[0-9]+}}(%esp)
362 ; X87-NEXT: calll __powidf2
363 ; X87-NEXT: addl $12, %esp
364 ; X87-NEXT: .cfi_def_cfa_offset 4
365 ; X87-NEXT: retl
410 ; X87-LABEL: f8:
411 ; X87: # %bb.0: # %entry
412 ; X87-NEXT: subl $12, %esp
413 ; X87-NEXT: .cfi_def_cfa_offset 16
414 ; X87-NEXT: flds {{\.LCPI.*}}
415 ; X87-NEXT: fstpl (%esp)
416 ; X87-NEXT: wait
417 ; X87-NEXT: calll sin
418 ; X87-NEXT: addl $12, %esp
419 ; X87-NEXT: .cfi_def_cfa_offset 4
420 ; X87-NEXT: retl
461 ; X87-LABEL: f9:
462 ; X87: # %bb.0: # %entry
463 ; X87-NEXT: subl $12, %esp
464 ; X87-NEXT: .cfi_def_cfa_offset 16
465 ; X87-NEXT: flds {{\.LCPI.*}}
466 ; X87-NEXT: fstpl (%esp)
467 ; X87-NEXT: wait
468 ; X87-NEXT: calll cos
469 ; X87-NEXT: addl $12, %esp
470 ; X87-NEXT: .cfi_def_cfa_offset 4
471 ; X87-NEXT: retl
512 ; X87-LABEL: f10:
513 ; X87: # %bb.0: # %entry
514 ; X87-NEXT: subl $12, %esp
515 ; X87-NEXT: .cfi_def_cfa_offset 16
516 ; X87-NEXT: flds {{\.LCPI.*}}
517 ; X87-NEXT: fstpl (%esp)
518 ; X87-NEXT: wait
519 ; X87-NEXT: calll exp
520 ; X87-NEXT: addl $12, %esp
521 ; X87-NEXT: .cfi_def_cfa_offset 4
522 ; X87-NEXT: retl
563 ; X87-LABEL: f11:
564 ; X87: # %bb.0: # %entry
565 ; X87-NEXT: subl $12, %esp
566 ; X87-NEXT: .cfi_def_cfa_offset 16
567 ; X87-NEXT: fldl {{\.LCPI.*}}
568 ; X87-NEXT: fstpl (%esp)
569 ; X87-NEXT: wait
570 ; X87-NEXT: calll exp2
571 ; X87-NEXT: addl $12, %esp
572 ; X87-NEXT: .cfi_def_cfa_offset 4
573 ; X87-NEXT: retl
614 ; X87-LABEL: f12:
615 ; X87: # %bb.0: # %entry
616 ; X87-NEXT: subl $12, %esp
617 ; X87-NEXT: .cfi_def_cfa_offset 16
618 ; X87-NEXT: flds {{\.LCPI.*}}
619 ; X87-NEXT: fstpl (%esp)
620 ; X87-NEXT: wait
621 ; X87-NEXT: calll log
622 ; X87-NEXT: addl $12, %esp
623 ; X87-NEXT: .cfi_def_cfa_offset 4
624 ; X87-NEXT: retl
665 ; X87-LABEL: f13:
666 ; X87: # %bb.0: # %entry
667 ; X87-NEXT: subl $12, %esp
668 ; X87-NEXT: .cfi_def_cfa_offset 16
669 ; X87-NEXT: flds {{\.LCPI.*}}
670 ; X87-NEXT: fstpl (%esp)
671 ; X87-NEXT: wait
672 ; X87-NEXT: calll log10
673 ; X87-NEXT: addl $12, %esp
674 ; X87-NEXT: .cfi_def_cfa_offset 4
675 ; X87-NEXT: retl
716 ; X87-LABEL: f14:
717 ; X87: # %bb.0: # %entry
718 ; X87-NEXT: subl $12, %esp
719 ; X87-NEXT: .cfi_def_cfa_offset 16
720 ; X87-NEXT: flds {{\.LCPI.*}}
721 ; X87-NEXT: fstpl (%esp)
722 ; X87-NEXT: wait
723 ; X87-NEXT: calll log2
724 ; X87-NEXT: addl $12, %esp
725 ; X87-NEXT: .cfi_def_cfa_offset 4
726 ; X87-NEXT: retl
767 ; X87-LABEL: f15:
768 ; X87: # %bb.0: # %entry
769 ; X87-NEXT: subl $12, %esp
770 ; X87-NEXT: .cfi_def_cfa_offset 16
771 ; X87-NEXT: fldl {{\.LCPI.*}}
772 ; X87-NEXT: fstpl (%esp)
773 ; X87-NEXT: wait
774 ; X87-NEXT: calll rint
775 ; X87-NEXT: addl $12, %esp
776 ; X87-NEXT: .cfi_def_cfa_offset 4
777 ; X87-NEXT: retl
815 ; X87-LABEL: f16:
816 ; X87: # %bb.0: # %entry
817 ; X87-NEXT: subl $12, %esp
818 ; X87-NEXT: .cfi_def_cfa_offset 16
819 ; X87-NEXT: fldl {{\.LCPI.*}}
820 ; X87-NEXT: fstpl (%esp)
821 ; X87-NEXT: wait
822 ; X87-NEXT: calll nearbyint
823 ; X87-NEXT: addl $12, %esp
824 ; X87-NEXT: .cfi_def_cfa_offset 4
825 ; X87-NEXT: retl
862 ; X87-LABEL: f19:
863 ; X87: # %bb.0: # %entry
864 ; X87-NEXT: subl $28, %esp
865 ; X87-NEXT: .cfi_def_cfa_offset 32
866 ; X87-NEXT: flds {{\.LCPI.*}}
867 ; X87-NEXT: fstpl {{[0-9]+}}(%esp)
868 ; X87-NEXT: wait
869 ; X87-NEXT: movl $1072693248, {{[0-9]+}}(%esp) # imm = 0x3FF00000
870 ; X87-NEXT: movl $0, (%esp)
871 ; X87-NEXT: calll fmod
872 ; X87-NEXT: addl $28, %esp
873 ; X87-NEXT: .cfi_def_cfa_offset 4
874 ; X87-NEXT: retl
925 ; X87-LABEL: f20s8:
926 ; X87: # %bb.0: # %entry
927 ; X87-NEXT: subl $8, %esp
928 ; X87-NEXT: .cfi_def_cfa_offset 12
929 ; X87-NEXT: fldl {{[0-9]+}}(%esp)
930 ; X87-NEXT: wait
931 ; X87-NEXT: fnstcw {{[0-9]+}}(%esp)
932 ; X87-NEXT: movzwl {{[0-9]+}}(%esp), %eax
933 ; X87-NEXT: orl $3072, %eax # imm = 0xC00
934 ; X87-NEXT: movw %ax, {{[0-9]+}}(%esp)
935 ; X87-NEXT: fldcw {{[0-9]+}}(%esp)
936 ; X87-NEXT: fistps {{[0-9]+}}(%esp)
937 ; X87-NEXT: fldcw {{[0-9]+}}(%esp)
938 ; X87-NEXT: movb {{[0-9]+}}(%esp), %al
939 ; X87-NEXT: addl $8, %esp
940 ; X87-NEXT: .cfi_def_cfa_offset 4
941 ; X87-NEXT: retl
972 ; X87-LABEL: f20s16:
973 ; X87: # %bb.0: # %entry
974 ; X87-NEXT: subl $8, %esp
975 ; X87-NEXT: .cfi_def_cfa_offset 12
976 ; X87-NEXT: fldl {{[0-9]+}}(%esp)
977 ; X87-NEXT: wait
978 ; X87-NEXT: fnstcw {{[0-9]+}}(%esp)
979 ; X87-NEXT: movzwl {{[0-9]+}}(%esp), %eax
980 ; X87-NEXT: orl $3072, %eax # imm = 0xC00
981 ; X87-NEXT: movw %ax, {{[0-9]+}}(%esp)
982 ; X87-NEXT: fldcw {{[0-9]+}}(%esp)
983 ; X87-NEXT: fistps {{[0-9]+}}(%esp)
984 ; X87-NEXT: fldcw {{[0-9]+}}(%esp)
985 ; X87-NEXT: movzwl {{[0-9]+}}(%esp), %eax
986 ; X87-NEXT: addl $8, %esp
987 ; X87-NEXT: .cfi_def_cfa_offset 4
988 ; X87-NEXT: retl
1017 ; X87-LABEL: f20s:
1018 ; X87: # %bb.0: # %entry
1019 ; X87-NEXT: subl $8, %esp
1020 ; X87-NEXT: .cfi_def_cfa_offset 12
1021 ; X87-NEXT: fldl {{[0-9]+}}(%esp)
1022 ; X87-NEXT: wait
1023 ; X87-NEXT: fnstcw (%esp)
1024 ; X87-NEXT: movzwl (%esp), %eax
1025 ; X87-NEXT: orl $3072, %eax # imm = 0xC00
1026 ; X87-NEXT: movw %ax, {{[0-9]+}}(%esp)
1027 ; X87-NEXT: fldcw {{[0-9]+}}(%esp)
1028 ; X87-NEXT: fistpl {{[0-9]+}}(%esp)
1029 ; X87-NEXT: fldcw (%esp)
1030 ; X87-NEXT: movl {{[0-9]+}}(%esp), %eax
1031 ; X87-NEXT: addl $8, %esp
1032 ; X87-NEXT: .cfi_def_cfa_offset 4
1033 ; X87-NEXT: retl
1060 ; X87-LABEL: f20s64:
1061 ; X87: # %bb.0: # %entry
1062 ; X87-NEXT: subl $20, %esp
1063 ; X87-NEXT: .cfi_def_cfa_offset 24
1064 ; X87-NEXT: fldl {{[0-9]+}}(%esp)
1065 ; X87-NEXT: wait
1066 ; X87-NEXT: fnstcw {{[0-9]+}}(%esp)
1067 ; X87-NEXT: movzwl {{[0-9]+}}(%esp), %eax
1068 ; X87-NEXT: orl $3072, %eax # imm = 0xC00
1069 ; X87-NEXT: movw %ax, {{[0-9]+}}(%esp)
1070 ; X87-NEXT: fldcw {{[0-9]+}}(%esp)
1071 ; X87-NEXT: fistpll {{[0-9]+}}(%esp)
1072 ; X87-NEXT: fldcw {{[0-9]+}}(%esp)
1073 ; X87-NEXT: movl {{[0-9]+}}(%esp), %eax
1074 ; X87-NEXT: movl {{[0-9]+}}(%esp), %edx
1075 ; X87-NEXT: addl $20, %esp
1076 ; X87-NEXT: .cfi_def_cfa_offset 4
1077 ; X87-NEXT: retl
1119 ; X87-LABEL: f20s128:
1120 ; X87: # %bb.0: # %entry
1121 ; X87-NEXT: pushl %edi
1122 ; X87-NEXT: pushl %esi
1123 ; X87-NEXT: subl $36, %esp
1124 ; X87-NEXT: movl {{[0-9]+}}(%esp), %esi
1125 ; X87-NEXT: fldl {{[0-9]+}}(%esp)
1126 ; X87-NEXT: fstpl {{[0-9]+}}(%esp)
1127 ; X87-NEXT: wait
1128 ; X87-NEXT: leal {{[0-9]+}}(%esp), %eax
1129 ; X87-NEXT: movl %eax, (%esp)
1130 ; X87-NEXT: calll __fixdfti
1131 ; X87-NEXT: subl $4, %esp
1132 ; X87-NEXT: movl {{[0-9]+}}(%esp), %eax
1133 ; X87-NEXT: movl {{[0-9]+}}(%esp), %ecx
1134 ; X87-NEXT: movl {{[0-9]+}}(%esp), %edx
1135 ; X87-NEXT: movl {{[0-9]+}}(%esp), %edi
1136 ; X87-NEXT: movl %edi, 8(%esi)
1137 ; X87-NEXT: movl %edx, 12(%esi)
1138 ; X87-NEXT: movl %eax, (%esi)
1139 ; X87-NEXT: movl %ecx, 4(%esi)
1140 ; X87-NEXT: movl %esi, %eax
1141 ; X87-NEXT: addl $36, %esp
1142 ; X87-NEXT: popl %esi
1143 ; X87-NEXT: popl %edi
1144 ; X87-NEXT: retl $4
1197 ; X87-LABEL: f20u8:
1198 ; X87: # %bb.0: # %entry
1199 ; X87-NEXT: subl $8, %esp
1200 ; X87-NEXT: .cfi_def_cfa_offset 12
1201 ; X87-NEXT: fldl {{[0-9]+}}(%esp)
1202 ; X87-NEXT: wait
1203 ; X87-NEXT: fnstcw {{[0-9]+}}(%esp)
1204 ; X87-NEXT: movzwl {{[0-9]+}}(%esp), %eax
1205 ; X87-NEXT: orl $3072, %eax # imm = 0xC00
1206 ; X87-NEXT: movw %ax, {{[0-9]+}}(%esp)
1207 ; X87-NEXT: fldcw {{[0-9]+}}(%esp)
1208 ; X87-NEXT: fistps {{[0-9]+}}(%esp)
1209 ; X87-NEXT: fldcw {{[0-9]+}}(%esp)
1210 ; X87-NEXT: movb {{[0-9]+}}(%esp), %al
1211 ; X87-NEXT: addl $8, %esp
1212 ; X87-NEXT: .cfi_def_cfa_offset 4
1213 ; X87-NEXT: retl
1243 ; X87-LABEL: f20u16:
1244 ; X87: # %bb.0: # %entry
1245 ; X87-NEXT: subl $8, %esp
1246 ; X87-NEXT: .cfi_def_cfa_offset 12
1247 ; X87-NEXT: fldl {{[0-9]+}}(%esp)
1248 ; X87-NEXT: wait
1249 ; X87-NEXT: fnstcw (%esp)
1250 ; X87-NEXT: movzwl (%esp), %eax
1251 ; X87-NEXT: orl $3072, %eax # imm = 0xC00
1252 ; X87-NEXT: movw %ax, {{[0-9]+}}(%esp)
1253 ; X87-NEXT: fldcw {{[0-9]+}}(%esp)
1254 ; X87-NEXT: fistpl {{[0-9]+}}(%esp)
1255 ; X87-NEXT: fldcw (%esp)
1256 ; X87-NEXT: movl {{[0-9]+}}(%esp), %eax
1257 ; X87-NEXT: # kill: def $ax killed $ax killed $eax
1258 ; X87-NEXT: addl $8, %esp
1259 ; X87-NEXT: .cfi_def_cfa_offset 4
1260 ; X87-NEXT: retl
1288 ; FIXME: The X87/SSE/AVX1 code does not raise an invalid exception for all
1291 ; X87-LABEL: f20u:
1292 ; X87: # %bb.0: # %entry
1293 ; X87-NEXT: subl $20, %esp
1294 ; X87-NEXT: .cfi_def_cfa_offset 24
1295 ; X87-NEXT: fldl {{[0-9]+}}(%esp)
1296 ; X87-NEXT: wait
1297 ; X87-NEXT: fnstcw {{[0-9]+}}(%esp)
1298 ; X87-NEXT: movzwl {{[0-9]+}}(%esp), %eax
1299 ; X87-NEXT: orl $3072, %eax # imm = 0xC00
1300 ; X87-NEXT: movw %ax, {{[0-9]+}}(%esp)
1301 ; X87-NEXT: fldcw {{[0-9]+}}(%esp)
1302 ; X87-NEXT: fistpll {{[0-9]+}}(%esp)
1303 ; X87-NEXT: fldcw {{[0-9]+}}(%esp)
1304 ; X87-NEXT: movl {{[0-9]+}}(%esp), %eax
1305 ; X87-NEXT: addl $20, %esp
1306 ; X87-NEXT: .cfi_def_cfa_offset 4
1307 ; X87-NEXT: retl
1354 ; X87-LABEL: f20u64:
1355 ; X87: # %bb.0: # %entry
1356 ; X87-NEXT: subl $20, %esp
1357 ; X87-NEXT: .cfi_def_cfa_offset 24
1358 ; X87-NEXT: fldl {{[0-9]+}}(%esp)
1359 ; X87-NEXT: flds {{\.LCPI.*}}
1360 ; X87-NEXT: wait
1361 ; X87-NEXT: xorl %edx, %edx
1362 ; X87-NEXT: fcomi %st(1), %st
1363 ; X87-NEXT: wait
1364 ; X87-NEXT: setbe %dl
1365 ; X87-NEXT: fldz
1366 ; X87-NEXT: fcmovbe %st(1), %st
1367 ; X87-NEXT: fstp %st(1)
1368 ; X87-NEXT: fsubrp %st, %st(1)
1369 ; X87-NEXT: wait
1370 ; X87-NEXT: fnstcw {{[0-9]+}}(%esp)
1371 ; X87-NEXT: movzwl {{[0-9]+}}(%esp), %eax
1372 ; X87-NEXT: orl $3072, %eax # imm = 0xC00
1373 ; X87-NEXT: movw %ax, {{[0-9]+}}(%esp)
1374 ; X87-NEXT: fldcw {{[0-9]+}}(%esp)
1375 ; X87-NEXT: fistpll {{[0-9]+}}(%esp)
1376 ; X87-NEXT: fldcw {{[0-9]+}}(%esp)
1377 ; X87-NEXT: shll $31, %edx
1378 ; X87-NEXT: xorl {{[0-9]+}}(%esp), %edx
1379 ; X87-NEXT: movl {{[0-9]+}}(%esp), %eax
1380 ; X87-NEXT: addl $20, %esp
1381 ; X87-NEXT: .cfi_def_cfa_offset 4
1382 ; X87-NEXT: retl
1464 ; X87-LABEL: f20u128:
1465 ; X87: # %bb.0: # %entry
1466 ; X87-NEXT: pushl %edi
1467 ; X87-NEXT: pushl %esi
1468 ; X87-NEXT: subl $36, %esp
1469 ; X87-NEXT: movl {{[0-9]+}}(%esp), %esi
1470 ; X87-NEXT: fldl {{[0-9]+}}(%esp)
1471 ; X87-NEXT: fstpl {{[0-9]+}}(%esp)
1472 ; X87-NEXT: wait
1473 ; X87-NEXT: leal {{[0-9]+}}(%esp), %eax
1474 ; X87-NEXT: movl %eax, (%esp)
1475 ; X87-NEXT: calll __fixunsdfti
1476 ; X87-NEXT: subl $4, %esp
1477 ; X87-NEXT: movl {{[0-9]+}}(%esp), %eax
1478 ; X87-NEXT: movl {{[0-9]+}}(%esp), %ecx
1479 ; X87-NEXT: movl {{[0-9]+}}(%esp), %edx
1480 ; X87-NEXT: movl {{[0-9]+}}(%esp), %edi
1481 ; X87-NEXT: movl %edi, 8(%esi)
1482 ; X87-NEXT: movl %edx, 12(%esi)
1483 ; X87-NEXT: movl %eax, (%esi)
1484 ; X87-NEXT: movl %ecx, 4(%esi)
1485 ; X87-NEXT: movl %esi, %eax
1486 ; X87-NEXT: addl $36, %esp
1487 ; X87-NEXT: popl %esi
1488 ; X87-NEXT: popl %edi
1489 ; X87-NEXT: retl $4
1540 ; X87-LABEL: f21:
1541 ; X87: # %bb.0: # %entry
1542 ; X87-NEXT: pushl %eax
1543 ; X87-NEXT: .cfi_def_cfa_offset 8
1544 ; X87-NEXT: fldl {{\.LCPI.*}}
1545 ; X87-NEXT: fstps (%esp)
1546 ; X87-NEXT: flds (%esp)
1547 ; X87-NEXT: wait
1548 ; X87-NEXT: popl %eax
1549 ; X87-NEXT: .cfi_def_cfa_offset 4
1550 ; X87-NEXT: retl
1585 ; X87-LABEL: f22:
1586 ; X87: # %bb.0: # %entry
1587 ; X87-NEXT: flds {{[0-9]+}}(%esp)
1588 ; X87-NEXT: wait
1589 ; X87-NEXT: retl
1620 ; X87-LABEL: f23:
1621 ; X87: # %bb.0: # %entry
1622 ; X87-NEXT: subl $12, %esp
1623 ; X87-NEXT: .cfi_def_cfa_offset 16
1624 ; X87-NEXT: fldl {{[0-9]+}}(%esp)
1625 ; X87-NEXT: fstpl (%esp)
1626 ; X87-NEXT: wait
1627 ; X87-NEXT: calll lrint
1628 ; X87-NEXT: addl $12, %esp
1629 ; X87-NEXT: .cfi_def_cfa_offset 4
1630 ; X87-NEXT: retl
1668 ; X87-LABEL: f24:
1669 ; X87: # %bb.0: # %entry
1670 ; X87-NEXT: subl $12, %esp
1671 ; X87-NEXT: .cfi_def_cfa_offset 16
1672 ; X87-NEXT: flds {{[0-9]+}}(%esp)
1673 ; X87-NEXT: fstps (%esp)
1674 ; X87-NEXT: wait
1675 ; X87-NEXT: calll lrintf
1676 ; X87-NEXT: addl $12, %esp
1677 ; X87-NEXT: .cfi_def_cfa_offset 4
1678 ; X87-NEXT: retl
1716 ; X87-LABEL: f25:
1717 ; X87: # %bb.0: # %entry
1718 ; X87-NEXT: subl $12, %esp
1719 ; X87-NEXT: .cfi_def_cfa_offset 16
1720 ; X87-NEXT: fldl {{[0-9]+}}(%esp)
1721 ; X87-NEXT: fstpl (%esp)
1722 ; X87-NEXT: wait
1723 ; X87-NEXT: calll llrint
1724 ; X87-NEXT: addl $12, %esp
1725 ; X87-NEXT: .cfi_def_cfa_offset 4
1726 ; X87-NEXT: retl
1764 ; X87-LABEL: f26:
1765 ; X87: # %bb.0: # %entry
1766 ; X87-NEXT: subl $12, %esp
1767 ; X87-NEXT: .cfi_def_cfa_offset 16
1768 ; X87-NEXT: flds {{[0-9]+}}(%esp)
1769 ; X87-NEXT: fstps (%esp)
1770 ; X87-NEXT: wait
1771 ; X87-NEXT: calll llrintf
1772 ; X87-NEXT: addl $12, %esp
1773 ; X87-NEXT: .cfi_def_cfa_offset 4
1774 ; X87-NEXT: retl
1812 ; X87-LABEL: f27:
1813 ; X87: # %bb.0: # %entry
1814 ; X87-NEXT: subl $12, %esp
1815 ; X87-NEXT: .cfi_def_cfa_offset 16
1816 ; X87-NEXT: fldl {{[0-9]+}}(%esp)
1817 ; X87-NEXT: fstpl (%esp)
1818 ; X87-NEXT: wait
1819 ; X87-NEXT: calll lround
1820 ; X87-NEXT: addl $12, %esp
1821 ; X87-NEXT: .cfi_def_cfa_offset 4
1822 ; X87-NEXT: retl
1859 ; X87-LABEL: f28:
1860 ; X87: # %bb.0: # %entry
1861 ; X87-NEXT: subl $12, %esp
1862 ; X87-NEXT: .cfi_def_cfa_offset 16
1863 ; X87-NEXT: flds {{[0-9]+}}(%esp)
1864 ; X87-NEXT: fstps (%esp)
1865 ; X87-NEXT: wait
1866 ; X87-NEXT: calll lroundf
1867 ; X87-NEXT: addl $12, %esp
1868 ; X87-NEXT: .cfi_def_cfa_offset 4
1869 ; X87-NEXT: retl
1906 ; X87-LABEL: f29:
1907 ; X87: # %bb.0: # %entry
1908 ; X87-NEXT: subl $12, %esp
1909 ; X87-NEXT: .cfi_def_cfa_offset 16
1910 ; X87-NEXT: fldl {{[0-9]+}}(%esp)
1911 ; X87-NEXT: fstpl (%esp)
1912 ; X87-NEXT: wait
1913 ; X87-NEXT: calll llround
1914 ; X87-NEXT: addl $12, %esp
1915 ; X87-NEXT: .cfi_def_cfa_offset 4
1916 ; X87-NEXT: retl
1953 ; X87-LABEL: f30:
1954 ; X87: # %bb.0: # %entry
1955 ; X87-NEXT: subl $12, %esp
1956 ; X87-NEXT: .cfi_def_cfa_offset 16
1957 ; X87-NEXT: flds {{[0-9]+}}(%esp)
1958 ; X87-NEXT: fstps (%esp)
1959 ; X87-NEXT: wait
1960 ; X87-NEXT: calll llroundf
1961 ; X87-NEXT: addl $12, %esp
1962 ; X87-NEXT: .cfi_def_cfa_offset 4
1963 ; X87-NEXT: retl
2003 ; X87-LABEL: sifdb:
2004 ; X87: # %bb.0: # %entry
2005 ; X87-NEXT: pushl %eax
2006 ; X87-NEXT: .cfi_def_cfa_offset 8
2007 ; X87-NEXT: movsbl {{[0-9]+}}(%esp), %eax
2008 ; X87-NEXT: movw %ax, {{[0-9]+}}(%esp)
2009 ; X87-NEXT: filds {{[0-9]+}}(%esp)
2010 ; X87-NEXT: wait
2011 ; X87-NEXT: popl %eax
2012 ; X87-NEXT: .cfi_def_cfa_offset 4
2013 ; X87-NEXT: retl
2047 ; X87-LABEL: sifdw:
2048 ; X87: # %bb.0: # %entry
2049 ; X87-NEXT: pushl %eax
2050 ; X87-NEXT: .cfi_def_cfa_offset 8
2051 ; X87-NEXT: movzwl {{[0-9]+}}(%esp), %eax
2052 ; X87-NEXT: movw %ax, {{[0-9]+}}(%esp)
2053 ; X87-NEXT: filds {{[0-9]+}}(%esp)
2054 ; X87-NEXT: wait
2055 ; X87-NEXT: popl %eax
2056 ; X87-NEXT: .cfi_def_cfa_offset 4
2057 ; X87-NEXT: retl
2091 ; X87-LABEL: sifdi:
2092 ; X87: # %bb.0: # %entry
2093 ; X87-NEXT: pushl %eax
2094 ; X87-NEXT: .cfi_def_cfa_offset 8
2095 ; X87-NEXT: movl {{[0-9]+}}(%esp), %eax
2096 ; X87-NEXT: movl %eax, (%esp)
2097 ; X87-NEXT: fildl (%esp)
2098 ; X87-NEXT: wait
2099 ; X87-NEXT: popl %eax
2100 ; X87-NEXT: .cfi_def_cfa_offset 4
2101 ; X87-NEXT: retl
2132 ; X87-LABEL: siffb:
2133 ; X87: # %bb.0: # %entry
2134 ; X87-NEXT: pushl %eax
2135 ; X87-NEXT: .cfi_def_cfa_offset 8
2136 ; X87-NEXT: movsbl {{[0-9]+}}(%esp), %eax
2137 ; X87-NEXT: movw %ax, {{[0-9]+}}(%esp)
2138 ; X87-NEXT: filds {{[0-9]+}}(%esp)
2139 ; X87-NEXT: wait
2140 ; X87-NEXT: popl %eax
2141 ; X87-NEXT: .cfi_def_cfa_offset 4
2142 ; X87-NEXT: retl
2176 ; X87-LABEL: siffw:
2177 ; X87: # %bb.0: # %entry
2178 ; X87-NEXT: pushl %eax
2179 ; X87-NEXT: .cfi_def_cfa_offset 8
2180 ; X87-NEXT: movzwl {{[0-9]+}}(%esp), %eax
2181 ; X87-NEXT: movw %ax, {{[0-9]+}}(%esp)
2182 ; X87-NEXT: filds {{[0-9]+}}(%esp)
2183 ; X87-NEXT: wait
2184 ; X87-NEXT: popl %eax
2185 ; X87-NEXT: .cfi_def_cfa_offset 4
2186 ; X87-NEXT: retl
2220 ; X87-LABEL: siffi:
2221 ; X87: # %bb.0: # %entry
2222 ; X87-NEXT: pushl %eax
2223 ; X87-NEXT: .cfi_def_cfa_offset 8
2224 ; X87-NEXT: movl {{[0-9]+}}(%esp), %eax
2225 ; X87-NEXT: movl %eax, (%esp)
2226 ; X87-NEXT: fildl (%esp)
2227 ; X87-NEXT: wait
2228 ; X87-NEXT: popl %eax
2229 ; X87-NEXT: .cfi_def_cfa_offset 4
2230 ; X87-NEXT: retl
2261 ; X87-LABEL: sifdl:
2262 ; X87: # %bb.0: # %entry
2263 ; X87-NEXT: fildll {{[0-9]+}}(%esp)
2264 ; X87-NEXT: wait
2265 ; X87-NEXT: retl
2296 ; X87-LABEL: siffl:
2297 ; X87: # %bb.0: # %entry
2298 ; X87-NEXT: fildll {{[0-9]+}}(%esp)
2299 ; X87-NEXT: wait
2300 ; X87-NEXT: retl
2334 ; X87-LABEL: uifdb:
2335 ; X87: # %bb.0: # %entry
2336 ; X87-NEXT: pushl %eax
2337 ; X87-NEXT: .cfi_def_cfa_offset 8
2338 ; X87-NEXT: movzbl {{[0-9]+}}(%esp), %eax
2339 ; X87-NEXT: movw %ax, {{[0-9]+}}(%esp)
2340 ; X87-NEXT: filds {{[0-9]+}}(%esp)
2341 ; X87-NEXT: wait
2342 ; X87-NEXT: popl %eax
2343 ; X87-NEXT: .cfi_def_cfa_offset 4
2344 ; X87-NEXT: retl
2378 ; X87-LABEL: uifdw:
2379 ; X87: # %bb.0: # %entry
2380 ; X87-NEXT: pushl %eax
2381 ; X87-NEXT: .cfi_def_cfa_offset 8
2382 ; X87-NEXT: movzwl {{[0-9]+}}(%esp), %eax
2383 ; X87-NEXT: movl %eax, (%esp)
2384 ; X87-NEXT: fildl (%esp)
2385 ; X87-NEXT: wait
2386 ; X87-NEXT: popl %eax
2387 ; X87-NEXT: .cfi_def_cfa_offset 4
2388 ; X87-NEXT: retl
2422 ; X87-LABEL: uifdi:
2423 ; X87: # %bb.0: # %entry
2424 ; X87-NEXT: subl $12, %esp
2425 ; X87-NEXT: .cfi_def_cfa_offset 16
2426 ; X87-NEXT: movl {{[0-9]+}}(%esp), %eax
2427 ; X87-NEXT: movl %eax, (%esp)
2428 ; X87-NEXT: movl $0, {{[0-9]+}}(%esp)
2429 ; X87-NEXT: fildll (%esp)
2430 ; X87-NEXT: wait
2431 ; X87-NEXT: addl $12, %esp
2432 ; X87-NEXT: .cfi_def_cfa_offset 4
2433 ; X87-NEXT: retl
2473 ; X87-LABEL: uifdl:
2474 ; X87: # %bb.0: # %entry
2475 ; X87-NEXT: subl $20, %esp
2476 ; X87-NEXT: .cfi_def_cfa_offset 24
2477 ; X87-NEXT: movl {{[0-9]+}}(%esp), %eax
2478 ; X87-NEXT: movl {{[0-9]+}}(%esp), %ecx
2479 ; X87-NEXT: movl %ecx, {{[0-9]+}}(%esp)
2480 ; X87-NEXT: movl %eax, (%esp)
2481 ; X87-NEXT: shrl $31, %ecx
2482 ; X87-NEXT: fildll (%esp)
2483 ; X87-NEXT: fadds {{\.LCPI.*}}(,%ecx,4)
2484 ; X87-NEXT: fstpl {{[0-9]+}}(%esp)
2485 ; X87-NEXT: fldl {{[0-9]+}}(%esp)
2486 ; X87-NEXT: wait
2487 ; X87-NEXT: addl $20, %esp
2488 ; X87-NEXT: .cfi_def_cfa_offset 4
2489 ; X87-NEXT: retl
2555 ; X87-LABEL: uiffb:
2556 ; X87: # %bb.0: # %entry
2557 ; X87-NEXT: pushl %eax
2558 ; X87-NEXT: .cfi_def_cfa_offset 8
2559 ; X87-NEXT: movzbl {{[0-9]+}}(%esp), %eax
2560 ; X87-NEXT: movw %ax, {{[0-9]+}}(%esp)
2561 ; X87-NEXT: filds {{[0-9]+}}(%esp)
2562 ; X87-NEXT: wait
2563 ; X87-NEXT: popl %eax
2564 ; X87-NEXT: .cfi_def_cfa_offset 4
2565 ; X87-NEXT: retl
2599 ; X87-LABEL: uiffw:
2600 ; X87: # %bb.0: # %entry
2601 ; X87-NEXT: pushl %eax
2602 ; X87-NEXT: .cfi_def_cfa_offset 8
2603 ; X87-NEXT: movzwl {{[0-9]+}}(%esp), %eax
2604 ; X87-NEXT: movl %eax, (%esp)
2605 ; X87-NEXT: fildl (%esp)
2606 ; X87-NEXT: wait
2607 ; X87-NEXT: popl %eax
2608 ; X87-NEXT: .cfi_def_cfa_offset 4
2609 ; X87-NEXT: retl
2643 ; X87-LABEL: uiffi:
2644 ; X87: # %bb.0: # %entry
2645 ; X87-NEXT: subl $12, %esp
2646 ; X87-NEXT: .cfi_def_cfa_offset 16
2647 ; X87-NEXT: movl {{[0-9]+}}(%esp), %eax
2648 ; X87-NEXT: movl %eax, (%esp)
2649 ; X87-NEXT: movl $0, {{[0-9]+}}(%esp)
2650 ; X87-NEXT: fildll (%esp)
2651 ; X87-NEXT: wait
2652 ; X87-NEXT: addl $12, %esp
2653 ; X87-NEXT: .cfi_def_cfa_offset 4
2654 ; X87-NEXT: retl
2695 ; X87-LABEL: uiffl:
2696 ; X87: # %bb.0: # %entry
2697 ; X87-NEXT: subl $20, %esp
2698 ; X87-NEXT: .cfi_def_cfa_offset 24
2699 ; X87-NEXT: movl {{[0-9]+}}(%esp), %eax
2700 ; X87-NEXT: movl {{[0-9]+}}(%esp), %ecx
2701 ; X87-NEXT: movl %ecx, {{[0-9]+}}(%esp)
2702 ; X87-NEXT: movl %eax, {{[0-9]+}}(%esp)
2703 ; X87-NEXT: shrl $31, %ecx
2704 ; X87-NEXT: fildll {{[0-9]+}}(%esp)
2705 ; X87-NEXT: fadds {{\.LCPI.*}}(,%ecx,4)
2706 ; X87-NEXT: fstps {{[0-9]+}}(%esp)
2707 ; X87-NEXT: flds {{[0-9]+}}(%esp)
2708 ; X87-NEXT: wait
2709 ; X87-NEXT: addl $20, %esp
2710 ; X87-NEXT: .cfi_def_cfa_offset 4
2711 ; X87-NEXT: retl