123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336 |
- .file "nearbyintf_gen.c"
- .text
- ..TXTST0:
- # -- Begin nearbyintf
- .text
- .align 16,0x90
- .globl nearbyintf
- nearbyintf:
- # parameter 1: %xmm0
- ..B1.1:
- .cfi_startproc
- ..___tag_value_nearbyintf.1:
- ..L2:
- subq $24, %rsp
- .cfi_def_cfa_offset 32
- movss %xmm0, 8(%rsp)
- ..B1.2:
- stmxcsr 4(%rsp)
- ..B1.3:
- movzwl 10(%rsp), %eax
- andl $32640, %eax
- shrl $7, %eax
- cmpl $150, %eax
- jge ..B1.10
- ..B1.4:
- movl 4(%rsp), %edx
- andl $24576, %edx
- cmpl $8192, %edx
- je ..B1.32
- ..B1.5:
- cmpl $16384, %edx
- jne ..B1.15
- ..B1.6:
- cmpl $127, %eax
- jl ..B1.11
- ..B1.7:
- negl %eax
- movl $8388607, %edx
- addl $22, %eax
- movl 8(%rsp), %esi
- movl %esi, %edi
- movl %eax, %ecx
- andl $8388607, %edi
- shll %cl, %edx
- andl $-8388608, %esi
- andl %edi, %edx
- orl %edx, %esi
- movl %esi, %eax
- andl $8388607, %eax
- movl %esi, 8(%rsp)
- testl $-2147483648, %esi
- jne ..B1.10
- ..B1.8:
- cmpl %edi, %eax
- je ..B1.10
- ..B1.9:
- movss 8(%rsp), %xmm0
- addss .L_2il0floatpacket.1(%rip), %xmm0
- addq $24, %rsp
- .cfi_def_cfa_offset 8
- ret
- .cfi_def_cfa_offset 32
- ..B1.10:
- movss 8(%rsp), %xmm0
- addq $24, %rsp
- .cfi_def_cfa_offset 8
- ret
- .cfi_def_cfa_offset 32
- ..B1.11:
- testl %eax, %eax
- jne ..B1.14
- ..B1.12:
- testl $8388607, 8(%rsp)
- je ..B1.10
- ..B1.14:
- movb 11(%rsp), %dl
- lea _pone_nzero(%rip), %rcx
- andb $-128, %dl
- shrb $7, %dl
- movzbl %dl, %esi
- movl 8(%rsp), %eax
- movl %eax, (%rsp)
- movss (%rcx,%rsi,4), %xmm0
- addq $24, %rsp
- .cfi_def_cfa_offset 8
- ret
- .cfi_def_cfa_offset 32
- ..B1.15:
- cmpl $24576, %edx
- jne ..B1.20
- ..B1.16:
- cmpl $127, %eax
- jl ..B1.18
- ..B1.17:
- negl %eax
- movl $8388607, %edx
- addl $22, %eax
- movl %eax, %ecx
- shll %cl, %edx
- movl 8(%rsp), %esi
- movl %esi, %edi
- andl %edx, %esi
- andl $-8388608, %edi
- andl $8388607, %esi
- orl %esi, %edi
- movl %edi, 8(%rsp)
- movss 8(%rsp), %xmm0
- addq $24, %rsp
- .cfi_def_cfa_offset 8
- ret
- .cfi_def_cfa_offset 32
- ..B1.18:
- movb 11(%rsp), %dl
- lea _zeros(%rip), %rcx
- andb $-128, %dl
- movl 8(%rsp), %eax
- movl %eax, (%rsp)
- shrb $7, %dl
- movzbl %dl, %esi
- movss (%rcx,%rsi,4), %xmm0
- ..B1.19:
- addq $24, %rsp
- .cfi_def_cfa_offset 8
- ret
- .cfi_def_cfa_offset 32
- ..B1.20:
- cmpl $127, %eax
- jl ..B1.27
- ..B1.21:
- movl 8(%rsp), %edi
- movl %edi, %esi
- andl $8388607, %esi
- lea 10(%rax), %ecx
- negl %eax
- movl %esi, %r8d
- addl $22, %eax
- movl $8388607, %edx
- shll %cl, %r8d
- movl %eax, %ecx
- shll %cl, %edx
- andl $-8388608, %edi
- andl %edx, %esi
- orl %esi, %edi
- movl %edi, 8(%rsp)
- testl %r8d, %r8d
- jge ..B1.10
- ..B1.22:
- cmpl $-2147483648, %r8d
- jne ..B1.24
- ..B1.23:
- movzwl 10(%rsp), %ecx
- movl $1, %eax
- shrl $7, %ecx
- negl %ecx
- addl $22, %ecx
- shll %cl, %eax
- testl %eax, 8(%rsp)
- je ..B1.10
- ..B1.24:
- movb 11(%rsp), %al
- lea _ones(%rip), %rdx
- andb $-128, %al
- shrb $7, %al
- movss 8(%rsp), %xmm0
- movzbl %al, %ecx
- addss (%rdx,%rcx,4), %xmm0
- addq $24, %rsp
- .cfi_def_cfa_offset 8
- ret
- .cfi_def_cfa_offset 32
- ..B1.27:
- cmpl $126, %eax
- jg ..B1.31
- ..B1.28:
- jne ..B1.30
- ..B1.29:
- testl $8388607, 8(%rsp)
- jg ..B1.31
- ..B1.30:
- movb 11(%rsp), %dl
- lea _zeros(%rip), %rcx
- andb $-128, %dl
- shrb $7, %dl
- movzbl %dl, %esi
- movl 8(%rsp), %eax
- movl %eax, (%rsp)
- movss (%rcx,%rsi,4), %xmm0
- addq $24, %rsp
- .cfi_def_cfa_offset 8
- ret
- .cfi_def_cfa_offset 32
- ..B1.31:
- movb 11(%rsp), %al
- lea _ones(%rip), %rdx
- andb $-128, %al
- shrb $7, %al
- movzbl %al, %ecx
- movss (%rdx,%rcx,4), %xmm0
- addq $24, %rsp
- .cfi_def_cfa_offset 8
- ret
- .cfi_def_cfa_offset 32
- ..B1.32:
- cmpl $127, %eax
- jl ..B1.37
- ..B1.33:
- negl %eax
- movl $8388607, %edx
- addl $22, %eax
- movl 8(%rsp), %esi
- movl %esi, %edi
- movl %eax, %ecx
- andl $8388607, %edi
- shll %cl, %edx
- andl $-8388608, %esi
- andl %edi, %edx
- orl %edx, %esi
- movl %esi, %eax
- andl $8388607, %eax
- movl %esi, 8(%rsp)
- testl $-2147483648, %esi
- je ..B1.10
- ..B1.34:
- cmpl %edi, %eax
- je ..B1.10
- ..B1.35:
- movss 8(%rsp), %xmm0
- addss .L_2il0floatpacket.0(%rip), %xmm0
- addq $24, %rsp
- .cfi_def_cfa_offset 8
- ret
- .cfi_def_cfa_offset 32
- ..B1.37:
- testl %eax, %eax
- jne ..B1.40
- ..B1.38:
- testl $8388607, 8(%rsp)
- je ..B1.10
- ..B1.40:
- movb 11(%rsp), %dl
- lea _pzero_none(%rip), %rcx
- andb $-128, %dl
- shrb $7, %dl
- movzbl %dl, %esi
- movl 8(%rsp), %eax
- movl %eax, (%rsp)
- movss (%rcx,%rsi,4), %xmm0
- addq $24, %rsp
- .cfi_def_cfa_offset 8
- ret
- .align 16,0x90
- .cfi_endproc
- .type nearbyintf,@function
- .size nearbyintf,.-nearbyintf
- .data
- # -- End nearbyintf
- .section .rodata, "a"
- .align 4
- .align 4
- .L_2il0floatpacket.0:
- .long 0xbf800000
- .type .L_2il0floatpacket.0,@object
- .size .L_2il0floatpacket.0,4
- .align 4
- .L_2il0floatpacket.1:
- .long 0x3f800000
- .type .L_2il0floatpacket.1,@object
- .size .L_2il0floatpacket.1,4
- .align 4
- _pone_nzero:
- .long 1065353216
- .long 2147483648
- .type _pone_nzero,@object
- .size _pone_nzero,8
- .align 4
- _zeros:
- .long 0
- .long 2147483648
- .type _zeros,@object
- .size _zeros,8
- .align 4
- _ones:
- .long 1065353216
- .long 3212836864
- .type _ones,@object
- .size _ones,8
- .align 4
- _pzero_none:
- .long 0
- .long 3212836864
- .type _pzero_none,@object
- .size _pzero_none,8
- .data
- .section .note.GNU-stack, ""
- .section .eh_frame,"a",@progbits
- .eh_frame_seg:
- .align 1
- # End
|