Lines Matching refs:SSE1
22 …ows-msvc -mattr=+sse | FileCheck %s --check-prefixes=X86-SSE,X86-SSE1,X86-SSE-WIN,X86-SSE1-WIN
23 …-linux-gnu -mattr=+sse | FileCheck %s --check-prefixes=X86-SSE,X86-SSE1,X86-SSE-LIN,X86-SSE1-LIN
86 ; X86-SSE1-LABEL: f_to_u32:
87 ; X86-SSE1: # %bb.0:
88 ; X86-SSE1-NEXT: movss {{.*#+}} xmm0 = mem[0],zero,zero,zero
89 ; X86-SSE1-NEXT: movss {{.*#+}} xmm1 = mem[0],zero,zero,zero
90 ; X86-SSE1-NEXT: movaps %xmm0, %xmm2
91 ; X86-SSE1-NEXT: subss %xmm1, %xmm2
92 ; X86-SSE1-NEXT: cvttss2si %xmm2, %ecx
93 ; X86-SSE1-NEXT: xorl $-2147483648, %ecx # imm = 0x80000000
94 ; X86-SSE1-NEXT: cvttss2si %xmm0, %eax
95 ; X86-SSE1-NEXT: ucomiss %xmm0, %xmm1
96 ; X86-SSE1-NEXT: cmovbel %ecx, %eax
97 ; X86-SSE1-NEXT: retl
231 ; X86-SSE1-WIN-LABEL: d_to_u32:
232 ; X86-SSE1-WIN: # %bb.0:
233 ; X86-SSE1-WIN-NEXT: pushl %ebp
234 ; X86-SSE1-WIN-NEXT: movl %esp, %ebp
235 ; X86-SSE1-WIN-NEXT: andl $-8, %esp
236 ; X86-SSE1-WIN-NEXT: subl $16, %esp
237 ; X86-SSE1-WIN-NEXT: fldl 8(%ebp)
238 ; X86-SSE1-WIN-NEXT: fnstcw {{[0-9]+}}(%esp)
239 ; X86-SSE1-WIN-NEXT: movzwl {{[0-9]+}}(%esp), %eax
240 ; X86-SSE1-WIN-NEXT: orl $3072, %eax # imm = 0xC00
241 ; X86-SSE1-WIN-NEXT: movw %ax, {{[0-9]+}}(%esp)
242 ; X86-SSE1-WIN-NEXT: fldcw {{[0-9]+}}(%esp)
243 ; X86-SSE1-WIN-NEXT: fistpll {{[0-9]+}}(%esp)
244 ; X86-SSE1-WIN-NEXT: fldcw {{[0-9]+}}(%esp)
245 ; X86-SSE1-WIN-NEXT: movl {{[0-9]+}}(%esp), %eax
246 ; X86-SSE1-WIN-NEXT: movl %ebp, %esp
247 ; X86-SSE1-WIN-NEXT: popl %ebp
248 ; X86-SSE1-WIN-NEXT: retl
250 ; X86-SSE1-LIN-LABEL: d_to_u32:
251 ; X86-SSE1-LIN: # %bb.0:
252 ; X86-SSE1-LIN-NEXT: subl $20, %esp
253 ; X86-SSE1-LIN-NEXT: fldl {{[0-9]+}}(%esp)
254 ; X86-SSE1-LIN-NEXT: fnstcw {{[0-9]+}}(%esp)
255 ; X86-SSE1-LIN-NEXT: movzwl {{[0-9]+}}(%esp), %eax
256 ; X86-SSE1-LIN-NEXT: orl $3072, %eax # imm = 0xC00
257 ; X86-SSE1-LIN-NEXT: movw %ax, {{[0-9]+}}(%esp)
258 ; X86-SSE1-LIN-NEXT: fldcw {{[0-9]+}}(%esp)
259 ; X86-SSE1-LIN-NEXT: fistpll {{[0-9]+}}(%esp)
260 ; X86-SSE1-LIN-NEXT: fldcw {{[0-9]+}}(%esp)
261 ; X86-SSE1-LIN-NEXT: movl {{[0-9]+}}(%esp), %eax
262 ; X86-SSE1-LIN-NEXT: addl $20, %esp
263 ; X86-SSE1-LIN-NEXT: retl
328 ; X86-SSE1-LABEL: d_to_s32:
329 ; X86-SSE1: # %bb.0:
330 ; X86-SSE1-NEXT: subl $8, %esp
331 ; X86-SSE1-NEXT: fldl {{[0-9]+}}(%esp)
332 ; X86-SSE1-NEXT: fnstcw (%esp)
333 ; X86-SSE1-NEXT: movzwl (%esp), %eax
334 ; X86-SSE1-NEXT: orl $3072, %eax # imm = 0xC00
335 ; X86-SSE1-NEXT: movw %ax, {{[0-9]+}}(%esp)
336 ; X86-SSE1-NEXT: fldcw {{[0-9]+}}(%esp)
337 ; X86-SSE1-NEXT: fistpl {{[0-9]+}}(%esp)
338 ; X86-SSE1-NEXT: fldcw (%esp)
339 ; X86-SSE1-NEXT: movl {{[0-9]+}}(%esp), %eax
340 ; X86-SSE1-NEXT: addl $8, %esp
341 ; X86-SSE1-NEXT: retl
500 ; X86-SSE1-WIN-LABEL: x_to_u32:
501 ; X86-SSE1-WIN: # %bb.0:
502 ; X86-SSE1-WIN-NEXT: pushl %ebp
503 ; X86-SSE1-WIN-NEXT: movl %esp, %ebp
504 ; X86-SSE1-WIN-NEXT: andl $-8, %esp
505 ; X86-SSE1-WIN-NEXT: subl $16, %esp
506 ; X86-SSE1-WIN-NEXT: fldt 8(%ebp)
507 ; X86-SSE1-WIN-NEXT: fnstcw {{[0-9]+}}(%esp)
508 ; X86-SSE1-WIN-NEXT: movzwl {{[0-9]+}}(%esp), %eax
509 ; X86-SSE1-WIN-NEXT: orl $3072, %eax # imm = 0xC00
510 ; X86-SSE1-WIN-NEXT: movw %ax, {{[0-9]+}}(%esp)
511 ; X86-SSE1-WIN-NEXT: fldcw {{[0-9]+}}(%esp)
512 ; X86-SSE1-WIN-NEXT: fistpll {{[0-9]+}}(%esp)
513 ; X86-SSE1-WIN-NEXT: fldcw {{[0-9]+}}(%esp)
514 ; X86-SSE1-WIN-NEXT: movl {{[0-9]+}}(%esp), %eax
515 ; X86-SSE1-WIN-NEXT: movl %ebp, %esp
516 ; X86-SSE1-WIN-NEXT: popl %ebp
517 ; X86-SSE1-WIN-NEXT: retl
519 ; X86-SSE1-LIN-LABEL: x_to_u32:
520 ; X86-SSE1-LIN: # %bb.0:
521 ; X86-SSE1-LIN-NEXT: subl $20, %esp
522 ; X86-SSE1-LIN-NEXT: fldt {{[0-9]+}}(%esp)
523 ; X86-SSE1-LIN-NEXT: fnstcw {{[0-9]+}}(%esp)
524 ; X86-SSE1-LIN-NEXT: movzwl {{[0-9]+}}(%esp), %eax
525 ; X86-SSE1-LIN-NEXT: orl $3072, %eax # imm = 0xC00
526 ; X86-SSE1-LIN-NEXT: movw %ax, {{[0-9]+}}(%esp)
527 ; X86-SSE1-LIN-NEXT: fldcw {{[0-9]+}}(%esp)
528 ; X86-SSE1-LIN-NEXT: fistpll {{[0-9]+}}(%esp)
529 ; X86-SSE1-LIN-NEXT: fldcw {{[0-9]+}}(%esp)
530 ; X86-SSE1-LIN-NEXT: movl {{[0-9]+}}(%esp), %eax
531 ; X86-SSE1-LIN-NEXT: addl $20, %esp
532 ; X86-SSE1-LIN-NEXT: retl
665 ; X86-SSE1-LABEL: x_to_s32:
666 ; X86-SSE1: # %bb.0:
667 ; X86-SSE1-NEXT: subl $8, %esp
668 ; X86-SSE1-NEXT: fldt {{[0-9]+}}(%esp)
669 ; X86-SSE1-NEXT: fnstcw (%esp)
670 ; X86-SSE1-NEXT: movzwl (%esp), %eax
671 ; X86-SSE1-NEXT: orl $3072, %eax # imm = 0xC00
672 ; X86-SSE1-NEXT: movw %ax, {{[0-9]+}}(%esp)
673 ; X86-SSE1-NEXT: fldcw {{[0-9]+}}(%esp)
674 ; X86-SSE1-NEXT: fistpl {{[0-9]+}}(%esp)
675 ; X86-SSE1-NEXT: fldcw (%esp)
676 ; X86-SSE1-NEXT: movl {{[0-9]+}}(%esp), %eax
677 ; X86-SSE1-NEXT: addl $8, %esp
678 ; X86-SSE1-NEXT: retl