id
stringlengths
22
129
text
stringlengths
60
19.5k
arch
stringclasses
9 values
syntax
stringclasses
5 values
kind
stringclasses
4 values
repo
stringclasses
32 values
path
stringlengths
7
108
license
stringclasses
10 values
commit
stringlengths
40
40
source_host
stringclasses
1 value
category
stringclasses
15 values
source_url
stringlengths
85
192
line_start
int64
1
5.48k
line_end
int64
4
5.5k
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S:2
* 6.1) Range reduction: k=trunc(|x|/(Pi/4)), j=(k+1)&0xfffffffe, n=k+3, * t=|x|-j*Pi/4. * 6.2) Reconstruction same as (5.2). * 7) if |x| >= 2^23, very large args: * 7.1) Range reduction: k=trunc(|x|/(Pi/4)), j=(k+1)&0xfffffffe, n=k+3, * t=|x|-j*Pi/4. * 7.2) Reconstruction ...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
LGPL-2.1
581c785bf31bc74430320c7856bbfa3875d025fe
github
libc
https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
41
100
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S:3
ENTRANCE movl ARG_X, %eax /* Bits of x */ cvtss2sd ARG_X, %xmm0 /* DP x */ andl $0x7fffffff, %eax /* |x| */ cmpl $0x3f490fdb, %eax /* |x|<Pi/4? */ jb L(arg_less_pio4) /* Here if |x|>=Pi/4 */ movd %eax, %xmm3 /* SP |x| */ andpd MO1(DP_ABS_MASK),%xmm0 /* DP |x| */ movss MO1(SP_INVPIO4), %xmm2 /* SP 1/(Pi/4...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
LGPL-2.1
581c785bf31bc74430320c7856bbfa3875d025fe
github
libc
https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
81
140
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S:4
movaps %xmm0, %xmm1 /* y */ mulsd %xmm0, %xmm0 /* z=t^4 */ movsd MO1(DP_C4), %xmm4 /* C4 */ mulsd %xmm0, %xmm4 /* z*C4 */ movsd MO1(DP_C3), %xmm3 /* C3 */ mulsd %xmm0, %xmm3 /* z*C3 */ addsd MO1(DP_C2), %xmm4 /* C2+z*C4 */ mulsd %xmm0, %xmm4 /* z*(C2+z*C4) */ lea -8(%esp), %esp /* Borrow 4 bytes of stack...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
LGPL-2.1
581c785bf31bc74430320c7856bbfa3875d025fe
github
libc
https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
121
180
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S:5
movsd MO1(DP_S4), %xmm2 /* S4 */ mulsd %xmm0, %xmm2 /* z*S4 */ movsd MO1(DP_S3), %xmm3 /* S3 */ mulsd %xmm0, %xmm3 /* z*S3 */ lea -8(%esp), %esp /* Borrow 4 bytes of stack frame */ addsd MO1(DP_S2), %xmm2 /* S2+z*S4 */ mulsd %xmm0, %xmm2 /* z*(S2+z*S4) */ addsd MO1(DP_S1), %xmm3 /* S1+z*S3 */ mulsd %xmm0, %...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
LGPL-2.1
581c785bf31bc74430320c7856bbfa3875d025fe
github
libc
https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
161
220
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S:6
movl %eax, %edx andl $0xfffffffe, %edx /* j=(k+1)&0xfffffffe */ cvtsi2sdl %edx, %xmm4 /* DP j */ movsd MO1(DP_PIO4HI), %xmm2 /* -PIO4HI = high part of -Pi/4 */ mulsd %xmm4, %xmm2 /* -j*PIO4HI */ movsd MO1(DP_PIO4LO), %xmm3 /* -PIO4LO = low part of -Pi/4 */ addsd %xmm2, %xmm0 /* |x| - j*PIO4HI */ addl $2, %eax...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
LGPL-2.1
581c785bf31bc74430320c7856bbfa3875d025fe
github
libc
https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
201
260
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S:7
/* Here if bitpos>=j*28+19 */ andpd %xmm3, %xmm4 /* HI(tmp3) */ subsd %xmm4, %xmm3 /* tmp3 = tmp3 - HI(tmp3) */ L(very_large_skip1): movsd MO1(DP_2POW52), %xmm6 movapd %xmm5, %xmm2 /* tmp2 copy */ addsd %xmm3, %xmm5 /* tmp5 = tmp3 + tmp2 */ movl $1, %edx addsd %xmm5, %xmm6 /* tmp6 = tmp5 + 2^52 */ movsd 8...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
LGPL-2.1
581c785bf31bc74430320c7856bbfa3875d025fe
github
libc
https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
241
300
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S:8
mulsd %xmm0, %xmm0 /* y=x^2 */ movaps %xmm0, %xmm1 /* y */ mulsd %xmm0, %xmm0 /* z=x^4 */ movsd MO1(DP_C4), %xmm3 /* C4 */ mulsd %xmm0, %xmm3 /* z*C4 */ movsd MO1(DP_C3), %xmm5 /* C3 */ mulsd %xmm0, %xmm5 /* z*C3 */ addsd MO1(DP_C2), %xmm3 /* C2+z*C4 */ mulsd %xmm0, %xmm3 /* z*(C2+z*C4) */ addsd MO1(DP_C...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
LGPL-2.1
581c785bf31bc74430320c7856bbfa3875d025fe
github
libc
https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
281
340
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S:9
cvtsd2ss %xmm3, %xmm3 /* SP result */ jmp L(epilogue) .p2align 4 L(arg_less_2pn27): /* Here if |x|<2^-27 */ movss ARG_X, %xmm0 /* x */ andps MO1(SP_ABS_MASK),%xmm0 /* |x| */ movss MO1(SP_ONE), %xmm3 /* 1.0 */ subss %xmm0, %xmm3 /* result is 1.0-|x| */ jmp L(epilogue) .p2align 4 L(arg_inf_or_nan): /* Here...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
LGPL-2.1
581c785bf31bc74430320c7856bbfa3875d025fe
github
libc
https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
321
380
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S:10
.long 0x54442d18,0x401921fb .long 0xbeccb2bb,0x401c463a .long 0x2955385e,0x401f6a7a .type L(PIO4J), @object ASM_SIZE_DIRECTIVE(L(PIO4J)) .p2align 3 L(_FPI): /* 4/Pi broken into sum of positive DP values */ .long 0x00000000,0x00000000 .long 0x6c000000,0x3ff45f30 .long 0x2a000000,0x3e3c9c88 .long 0xa8000000,0x3...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
LGPL-2.1
581c785bf31bc74430320c7856bbfa3875d025fe
github
libc
https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
361
420
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S:11
.long 0xff5cc6fd,0xbfdfffff .type L(DP_COS2_0), @object ASM_SIZE_DIRECTIVE(L(DP_COS2_0)) .p2align 3 L(DP_COS2_1): .long 0xb178dac5,0x3fa55514 .type L(DP_COS2_1), @object ASM_SIZE_DIRECTIVE(L(DP_COS2_1)) .p2align 3 L(DP_ZERONE): .long 0x00000000,0x00000000 /* 0.0 */ .long 0x00000000,0xbff00000 /* 1.0 */ .typ...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
LGPL-2.1
581c785bf31bc74430320c7856bbfa3875d025fe
github
libc
https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
401
460
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S:12
.long 0x1674b58a,0xbe5a947e .type L(DP_S4), @object ASM_SIZE_DIRECTIVE(L(DP_S4)) .p2align 3 L(DP_S2): .long 0x8b4bd1f9,0xbf2a019f .type L(DP_S2), @object ASM_SIZE_DIRECTIVE(L(DP_S2)) .p2align 3 L(DP_S0): .long 0x55551cd9,0xbfc55555 .type L(DP_S0), @object ASM_SIZE_DIRECTIVE(L(DP_S0)) /* Coefficients of pol...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
LGPL-2.1
581c785bf31bc74430320c7856bbfa3875d025fe
github
libc
https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
441
500
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S:13
ASM_SIZE_DIRECTIVE(L(DP_C2)) .p2align 3 L(DP_C0): .long 0xfffe98ae,0xbfdfffff .type L(DP_C0), @object ASM_SIZE_DIRECTIVE(L(DP_C0)) .p2align 3 L(DP_PIO4): .long 0x54442d18,0x3fe921fb /* Pi/4 */ .type L(DP_PIO4), @object ASM_SIZE_DIRECTIVE(L(DP_PIO4)) .p2align 3 L(DP_2POW52): .long 0x00000000,0x43300000 /* +...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
LGPL-2.1
581c785bf31bc74430320c7856bbfa3875d025fe
github
libc
https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
481
540
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S:14
L(SP_INVPIO4): .long 0x3fa2f983 /* 4/Pi */ .type L(SP_INVPIO4), @object ASM_SIZE_DIRECTIVE(L(SP_INVPIO4)) .p2align 4 L(DP_ABS_MASK): /* Mask for getting DP absolute value */ .long 0xffffffff,0x7fffffff .long 0xffffffff,0x7fffffff .type L(DP_ABS_MASK), @object ASM_SIZE_DIRECTIVE(L(DP_ABS_MASK)) .p2align 3 L(...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
LGPL-2.1
581c785bf31bc74430320c7856bbfa3875d025fe
github
libc
https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
521
552
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S:1
/* Optimized with sse2 version of cosf Copyright (C) 2012-2021 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Fo...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
LGPL-2.1
2b778ceb4010c28d70de9b8eab20e8d88eed586b
github
libc
https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
1
60
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S:1
/* Optimized with sse2 version of cosf Copyright (C) 2012-2020 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Fo...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
LGPL-2.1
d614a7539657941a9201c236b2f15afac18e1213
github
libc
https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
1
60
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S:1
/* Optimized with sse2 version of cosf Copyright (C) 2012-2019 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Fo...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
LGPL-2.1
5a82c74822d3272df2f5929133680478c0cfb4bd
github
libc
https://github.com/bminor/glibc/blob/5a82c74822d3272df2f5929133680478c0cfb4bd/sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
1
60
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S:1
/* Optimized with sse2 version of cosf Copyright (C) 2012-2019 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Fo...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
LGPL-2.1
04277e02d7f54d3582bebcf8386b317018cd5e1d
github
libc
https://github.com/bminor/glibc/blob/04277e02d7f54d3582bebcf8386b317018cd5e1d/sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
1
60
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S:1
/* Optimized with sse2 version of cosf Copyright (C) 2012-2018 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Fo...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
LGPL-2.1
688903eb3ef01301d239ab753d309d45720610a7
github
libc
https://github.com/bminor/glibc/blob/688903eb3ef01301d239ab753d309d45720610a7/sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
1
60
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S:1
/* Optimized with sse2 version of cosf Copyright (C) 2012-2017 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Fo...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
LGPL-2.1
fd860eaaa8757b221d9169e460c9ec41ea51f317
github
libc
https://github.com/bminor/glibc/blob/fd860eaaa8757b221d9169e460c9ec41ea51f317/sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
1
60
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S:1
/* Optimized with sse2 version of cosf Copyright (C) 2012-2017 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Fo...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
LGPL-2.1
bfff8b1becd7d01c074177df7196ab327cd8c844
github
libc
https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
1
60
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S:2
* 6) if |x| < 2^23, large args: * 6.1) Range reduction: k=trunc(|x|/(Pi/4)), j=(k+1)&0xfffffffe, n=k+3, * t=|x|-j*Pi/4. * 6.2) Reconstruction same as (5.2). * 7) if |x| >= 2^23, very large args: * 7.1) Range reduction: k=trunc(|x|/(Pi/4)), j=(k+1)&0xfffffffe, n=k+3, * t=|x|-j*...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
LGPL-2.1
bfff8b1becd7d01c074177df7196ab327cd8c844
github
libc
https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
41
100
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S:3
/* Input: single precision x on stack at address ARG_X */ ENTRANCE movl ARG_X, %eax /* Bits of x */ cvtss2sd ARG_X, %xmm0 /* DP x */ andl $0x7fffffff, %eax /* |x| */ cmpl $0x3f490fdb, %eax /* |x|<Pi/4? */ jb L(arg_less_pio4) /* Here if |x|>=Pi/4 */ movd %eax, %xmm3 /* SP |x| */ andpd MO1(DP_ABS_MASK),%x...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
LGPL-2.1
bfff8b1becd7d01c074177df7196ab327cd8c844
github
libc
https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
81
140
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S:4
andl $1, %eax /* (n>>2)&1 */ movaps %xmm0, %xmm1 /* y */ mulsd %xmm0, %xmm0 /* z=t^4 */ movsd MO1(DP_C4), %xmm4 /* C4 */ mulsd %xmm0, %xmm4 /* z*C4 */ movsd MO1(DP_C3), %xmm3 /* C3 */ mulsd %xmm0, %xmm3 /* z*C3 */ addsd MO1(DP_C2), %xmm4 /* C2+z*C4 */ mulsd %xmm0, %xmm4 /* z*(C2+z*C4) */ lea -8(%esp), %...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
LGPL-2.1
bfff8b1becd7d01c074177df7196ab327cd8c844
github
libc
https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
121
180
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S:5
mulsd %xmm0, %xmm0 /* z=t^4 */ movsd MO1(DP_S4), %xmm2 /* S4 */ mulsd %xmm0, %xmm2 /* z*S4 */ movsd MO1(DP_S3), %xmm3 /* S3 */ mulsd %xmm0, %xmm3 /* z*S3 */ lea -8(%esp), %esp /* Borrow 4 bytes of stack frame */ addsd MO1(DP_S2), %xmm2 /* S2+z*S4 */ mulsd %xmm0, %xmm2 /* z*(S2+z*S4) */ addsd MO1(DP_S1), %...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
LGPL-2.1
bfff8b1becd7d01c074177df7196ab327cd8c844
github
libc
https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
161
220
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S:6
addl $1, %eax /* k+1 */ movl %eax, %edx andl $0xfffffffe, %edx /* j=(k+1)&0xfffffffe */ cvtsi2sdl %edx, %xmm4 /* DP j */ movsd MO1(DP_PIO4HI), %xmm2 /* -PIO4HI = high part of -Pi/4 */ mulsd %xmm4, %xmm2 /* -j*PIO4HI */ movsd MO1(DP_PIO4LO), %xmm3 /* -PIO4LO = low part of -Pi/4 */ addsd %xmm2, %xmm0 /* |x| - ...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
LGPL-2.1
bfff8b1becd7d01c074177df7196ab327cd8c844
github
libc
https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
201
260
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S:7
jl L(very_large_skip1) /* Here if bitpos>=j*28+19 */ andpd %xmm3, %xmm4 /* HI(tmp3) */ subsd %xmm4, %xmm3 /* tmp3 = tmp3 - HI(tmp3) */ L(very_large_skip1): movsd MO1(DP_2POW52), %xmm6 movapd %xmm5, %xmm2 /* tmp2 copy */ addsd %xmm3, %xmm5 /* tmp5 = tmp3 + tmp2 */ movl $1, %edx addsd %xmm5, %xmm6 /* tmp6 ...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
LGPL-2.1
bfff8b1becd7d01c074177df7196ab327cd8c844
github
libc
https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
241
300
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S:8
/* Here if 2^-5<=|x|<Pi/4 */ mulsd %xmm0, %xmm0 /* y=x^2 */ movaps %xmm0, %xmm1 /* y */ mulsd %xmm0, %xmm0 /* z=x^4 */ movsd MO1(DP_C4), %xmm3 /* C4 */ mulsd %xmm0, %xmm3 /* z*C4 */ movsd MO1(DP_C3), %xmm5 /* C3 */ mulsd %xmm0, %xmm5 /* z*C3 */ addsd MO1(DP_C2), %xmm3 /* C2+z*C4 */ mulsd %xmm0, %xmm3 /* ...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
LGPL-2.1
bfff8b1becd7d01c074177df7196ab327cd8c844
github
libc
https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
281
340
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S:9
addsd MO1(DP_ONES), %xmm3 cvtsd2ss %xmm3, %xmm3 /* SP result */ jmp L(epilogue) .p2align 4 L(arg_less_2pn27): /* Here if |x|<2^-27 */ movss ARG_X, %xmm0 /* x */ andps MO1(SP_ABS_MASK),%xmm0 /* |x| */ movss MO1(SP_ONE), %xmm3 /* 1.0 */ subss %xmm0, %xmm3 /* result is 1.0-|x| */ jmp L(epilogue) .p2align 4 ...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
LGPL-2.1
bfff8b1becd7d01c074177df7196ab327cd8c844
github
libc
https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
321
380
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S:10
.long 0xe9bba775,0x4015fdbb .long 0x54442d18,0x401921fb .long 0xbeccb2bb,0x401c463a .long 0x2955385e,0x401f6a7a .type L(PIO4J), @object ASM_SIZE_DIRECTIVE(L(PIO4J)) .p2align 3 L(_FPI): /* 4/Pi broken into sum of positive DP values */ .long 0x00000000,0x00000000 .long 0x6c000000,0x3ff45f30 .long 0x2a000000,0x3...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
LGPL-2.1
bfff8b1becd7d01c074177df7196ab327cd8c844
github
libc
https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
361
420
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S:11
L(DP_COS2_0): .long 0xff5cc6fd,0xbfdfffff .type L(DP_COS2_0), @object ASM_SIZE_DIRECTIVE(L(DP_COS2_0)) .p2align 3 L(DP_COS2_1): .long 0xb178dac5,0x3fa55514 .type L(DP_COS2_1), @object ASM_SIZE_DIRECTIVE(L(DP_COS2_1)) .p2align 3 L(DP_ZERONE): .long 0x00000000,0x00000000 /* 0.0 */ .long 0x00000000,0xbff00000 ...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
LGPL-2.1
bfff8b1becd7d01c074177df7196ab327cd8c844
github
libc
https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
401
460
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S:12
L(DP_S4): .long 0x1674b58a,0xbe5a947e .type L(DP_S4), @object ASM_SIZE_DIRECTIVE(L(DP_S4)) .p2align 3 L(DP_S2): .long 0x8b4bd1f9,0xbf2a019f .type L(DP_S2), @object ASM_SIZE_DIRECTIVE(L(DP_S2)) .p2align 3 L(DP_S0): .long 0x55551cd9,0xbfc55555 .type L(DP_S0), @object ASM_SIZE_DIRECTIVE(L(DP_S0)) /* Coeffici...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
LGPL-2.1
bfff8b1becd7d01c074177df7196ab327cd8c844
github
libc
https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
441
500
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S:13
.type L(DP_C2), @object ASM_SIZE_DIRECTIVE(L(DP_C2)) .p2align 3 L(DP_C0): .long 0xfffe98ae,0xbfdfffff .type L(DP_C0), @object ASM_SIZE_DIRECTIVE(L(DP_C0)) .p2align 3 L(DP_PIO4): .long 0x54442d18,0x3fe921fb /* Pi/4 */ .type L(DP_PIO4), @object ASM_SIZE_DIRECTIVE(L(DP_PIO4)) .p2align 3 L(DP_2POW52): .long 0...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
LGPL-2.1
bfff8b1becd7d01c074177df7196ab327cd8c844
github
libc
https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
481
540
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S:14
.p2align 2 L(SP_INVPIO4): .long 0x3fa2f983 /* 4/Pi */ .type L(SP_INVPIO4), @object ASM_SIZE_DIRECTIVE(L(SP_INVPIO4)) .p2align 4 L(DP_ABS_MASK): /* Mask for getting DP absolute value */ .long 0xffffffff,0x7fffffff .long 0xffffffff,0x7fffffff .type L(DP_ABS_MASK), @object ASM_SIZE_DIRECTIVE(L(DP_ABS_MASK)) .p...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
LGPL-2.1
bfff8b1becd7d01c074177df7196ab327cd8c844
github
libc
https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
521
553
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S:1
/* Optimized with sse2 version of cosf Copyright (C) 2012-2016 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Fo...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
LGPL-2.1
f7a9f785e547bd599dee496fd906a28bcb4ec7fe
github
libc
https://github.com/bminor/glibc/blob/f7a9f785e547bd599dee496fd906a28bcb4ec7fe/sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
1
60
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S:1
/* Optimized with sse2 version of cosf Copyright (C) 2012-2015 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Fo...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
LGPL-2.1
890b7a4b33d482b5c768ab47d70758b80227e9bc
github
libc
https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
1
60
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S:1
/* Optimized with sse2 version of sincosf Copyright (C) 2012-2022 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
LGPL-2.1
581c785bf31bc74430320c7856bbfa3875d025fe
github
libc
https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
1
60
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S:3
# define MO1(symbol) L(symbol) # define MO2(symbol,reg2,_scale) L(symbol)(,reg2,_scale) # define ENTRANCE # define RETURN ret # define ARG_X 4(%esp) # define ARG_SIN_PTR 8(%esp) # define ARG_COS_PTR 12(%esp) #endif .text ENTRY(__sincosf_sse2) /* Input: single precision x on stack at address ARG_X */ /* ...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
LGPL-2.1
581c785bf31bc74430320c7856bbfa3875d025fe
github
libc
https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
81
140
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S:4
L(reconstruction): /* Input: %eax=n, %xmm0=t, %ecx=sign(x) */ movaps %xmm0, %xmm4 /* t */ movhpd MO1(DP_ONES), %xmm4 /* 1|t */ mulsd %xmm0, %xmm0 /* y=t^2 */ movl $2, %edx unpcklpd %xmm0, %xmm0 /* y|y */ addl %eax, %edx /* k+2 */ movaps %xmm0, %xmm1 /* y|y */ mulpd %xmm0, %xmm0 /* z=t^4|z=t^4 */ movap...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
LGPL-2.1
581c785bf31bc74430320c7856bbfa3875d025fe
github
libc
https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
121
180
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S:5
movsd MO2(DP_ONES,%ecx,8), %xmm4/* 0|sign_sin */ movhpd MO2(DP_ONES,%edx,8), %xmm4/* sign_cos|sign_sin */ mulpd %xmm4, %xmm3 /* result_cos|result_sin */ movl ARG_SIN_PTR, %eax cvtpd2ps %xmm3, %xmm0 /* SP results */ movl ARG_COS_PTR, %ecx movss %xmm0, (%eax) /* store sin(x) from xmm0[0] */ shufps $1, %xmm0, %x...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
LGPL-2.1
581c785bf31bc74430320c7856bbfa3875d025fe
github
libc
https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
161
220
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S:6
movsd MO1(DP_INVPIO4), %xmm1 /* 1/(Pi/4) */ mulsd %xmm0, %xmm1 /* |x|/(Pi/4) */ cvttsd2si %xmm1, %eax /* k=trunc(|x|/(Pi/4)) */ addl $1, %eax /* k+1 */ movl %eax, %edx andl $0xfffffffe, %edx /* j=(k+1)&0xfffffffe */ cvtsi2sdl %edx, %xmm4 /* DP j */ movl ARG_X, %ecx /* Load x */ movsd MO1(DP_PIO4HI), %xmm2 ...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
LGPL-2.1
581c785bf31bc74430320c7856bbfa3875d025fe
github
libc
https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
201
260
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S:7
addl $19, %ecx /* j*28+19 */ mulsd 1*8+MO2(_FPI,%eax,8), %xmm1/* tmp1 = FPI[j+1]*|x| */ cmpl %ecx, %edx /* bitpos>=j*28+19 ? */ jl L(very_large_skip1) /* Here if bitpos>=j*28+19 */ andpd %xmm3, %xmm4 /* HI(tmp3) */ subsd %xmm4, %xmm3 /* tmp3 = tmp3 - HI(tmp3) */ L(very_large_skip1): movsd MO1(DP_2POW52), %...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
LGPL-2.1
581c785bf31bc74430320c7856bbfa3875d025fe
github
libc
https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
241
300
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S:8
L(arg_less_pio4): /* Here if |x|<Pi/4 */ cmpl $0x3d000000, %eax /* |x|<2^-5 ? */ jl L(arg_less_2pn5) /* Here if 2^-5<=|x|<Pi/4 */ movaps %xmm0, %xmm3 /* DP x */ movhpd MO1(DP_ONES), %xmm3 /* DP 1|x */ mulsd %xmm0, %xmm0 /* DP y=x^2 */ unpcklpd %xmm0, %xmm0 /* DP y|y */ movaps %xmm0, %xmm1 /* y|y */ mulpd...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
LGPL-2.1
581c785bf31bc74430320c7856bbfa3875d025fe
github
libc
https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
281
340
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S:9
/* Here if 2^-27<=|x|<2^-5 */ movaps %xmm0, %xmm1 /* DP x */ movhpd MO1(DP_ONES), %xmm1 /* DP 1|x */ mulsd %xmm0, %xmm0 /* DP x^2 */ unpcklpd %xmm0, %xmm0 /* DP x^2|x^2 */ movaps MO1(DP_SINCOS2_1), %xmm3/* DP DP_SIN2_1 */ mulpd %xmm0, %xmm3 /* DP x^2*DP_SIN2_1 */ addpd MO1(DP_SINCOS2_0), %xmm3/* DP DP_SIN2_...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
LGPL-2.1
581c785bf31bc74430320c7856bbfa3875d025fe
github
libc
https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
321
380
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S:10
movss MO1(SP_ONE), %xmm1 /* SP 1.0 */ movss %xmm0, (%eax) /* sin(x) store */ movl ARG_COS_PTR, %ecx subss %xmm7, %xmm1 /* cos(x) */ movss %xmm1, (%ecx) /* cos(x) store */ RETURN .p2align 4 L(arg_zero): movss MO1(SP_ONE), %xmm0 /* 1.0 */ movl ARG_SIN_PTR, %eax movl ARG_COS_PTR, %ecx movss %xmm7, (%eax) /*...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
LGPL-2.1
581c785bf31bc74430320c7856bbfa3875d025fe
github
libc
https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
361
420
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S:11
.long 0x00000000,0x00000000 .long 0x54442d18,0x3fe921fb .long 0x54442d18,0x3ff921fb .long 0x7f3321d2,0x4002d97c .long 0x54442d18,0x400921fb .long 0x2955385e,0x400f6a7a .long 0x7f3321d2,0x4012d97c .long 0xe9bba775,0x4015fdbb .long 0x54442d18,0x401921fb .long 0xbeccb2bb,0x401c463a .long 0x2955385e,0x401f6a7a ....
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
LGPL-2.1
581c785bf31bc74430320c7856bbfa3875d025fe
github
libc
https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
401
460
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S:12
.long 0x16000000,0x17b908bf .type L(_FPI), @object ASM_SIZE_DIRECTIVE(L(_FPI)) /* Coefficients of polynomials for */ /* sin(x)~=x+x*x^2*(DP_SIN2_0+x^2*DP_SIN2_1) in low DP part, */ /* cos(x)~=1+1*x^2*(DP_COS2_0+x^2*DP_COS2_1) in high DP part, */ /* for |x|<2^-5. */ .p2align 4 L(DP_SINCOS2_0): .long 0x5543d49d,0xb...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
LGPL-2.1
581c785bf31bc74430320c7856bbfa3875d025fe
github
libc
https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
441
500
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S:13
.p2align 4 L(DP_SC4): .long 0x1674b58a,0xbe5a947e .long 0xdd8844d7,0xbe923c97 .type L(DP_SC4), @object ASM_SIZE_DIRECTIVE(L(DP_SC4)) .p2align 4 L(DP_SC3): .long 0x64e6b5b4,0x3ec71d72 .long 0x9ac43cc0,0x3efa00eb .type L(DP_SC3), @object ASM_SIZE_DIRECTIVE(L(DP_SC3)) .p2align 4 L(DP_SC2): .long 0x8b4bd1f9,0x...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
LGPL-2.1
581c785bf31bc74430320c7856bbfa3875d025fe
github
libc
https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
481
540
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S:14
.p2align 3 L(DP_PIO4): .long 0x54442d18,0x3fe921fb /* Pi/4 */ .type L(DP_PIO4), @object ASM_SIZE_DIRECTIVE(L(DP_PIO4)) .p2align 3 L(DP_2POW52): .long 0x00000000,0x43300000 /* +2^52 */ .long 0x00000000,0xc3300000 /* -2^52 */ .type L(DP_2POW52), @object ASM_SIZE_DIRECTIVE(L(DP_2POW52)) .p2align 3 L(DP_INVPIO4)...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
LGPL-2.1
581c785bf31bc74430320c7856bbfa3875d025fe
github
libc
https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
521
580
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S:15
.long 0xffffffff,0x7fffffff .long 0xffffffff,0x7fffffff .type L(DP_ABS_MASK), @object ASM_SIZE_DIRECTIVE(L(DP_ABS_MASK)) .p2align 3 L(DP_HI_MASK): /* Mask for getting high 21 bits of DP value */ .long 0x00000000,0xffffffff .type L(DP_HI_MASK), @object ASM_SIZE_DIRECTIVE(L(DP_HI_MASK)) .p2align 4 L(SP_ABS_MASK...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
LGPL-2.1
581c785bf31bc74430320c7856bbfa3875d025fe
github
libc
https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
561
585
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S:1
/* Optimized with sse2 version of sincosf Copyright (C) 2012-2021 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
LGPL-2.1
2b778ceb4010c28d70de9b8eab20e8d88eed586b
github
libc
https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
1
60
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S:1
/* Optimized with sse2 version of sincosf Copyright (C) 2012-2020 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
LGPL-2.1
d614a7539657941a9201c236b2f15afac18e1213
github
libc
https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
1
60
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S:1
/* Optimized with sse2 version of sincosf Copyright (C) 2012-2019 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
LGPL-2.1
5a82c74822d3272df2f5929133680478c0cfb4bd
github
libc
https://github.com/bminor/glibc/blob/5a82c74822d3272df2f5929133680478c0cfb4bd/sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
1
60
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S:1
/* Optimized with sse2 version of sincosf Copyright (C) 2012-2019 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
LGPL-2.1
04277e02d7f54d3582bebcf8386b317018cd5e1d
github
libc
https://github.com/bminor/glibc/blob/04277e02d7f54d3582bebcf8386b317018cd5e1d/sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
1
60
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S:1
/* Optimized with sse2 version of sincosf Copyright (C) 2012-2018 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
LGPL-2.1
688903eb3ef01301d239ab753d309d45720610a7
github
libc
https://github.com/bminor/glibc/blob/688903eb3ef01301d239ab753d309d45720610a7/sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
1
60
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S:1
/* Optimized with sse2 version of sincosf Copyright (C) 2012-2017 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
LGPL-2.1
fd860eaaa8757b221d9169e460c9ec41ea51f317
github
libc
https://github.com/bminor/glibc/blob/fd860eaaa8757b221d9169e460c9ec41ea51f317/sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
1
60
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S:1
/* Optimized with sse2 version of sincosf Copyright (C) 2012-2017 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
LGPL-2.1
bfff8b1becd7d01c074177df7196ab327cd8c844
github
libc
https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
1
60
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S:3
#else # define MO1(symbol) L(symbol) # define MO2(symbol,reg2,_scale) L(symbol)(,reg2,_scale) # define ENTRANCE # define RETURN ret # define ARG_X 4(%esp) # define ARG_SIN_PTR 8(%esp) # define ARG_COS_PTR 12(%esp) #endif .text ENTRY(__sincosf_sse2) /* Input: single precision x on stack at address ARG_X *...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
LGPL-2.1
bfff8b1becd7d01c074177df7196ab327cd8c844
github
libc
https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
81
140
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S:4
subsd MO2(PIO4J,%edx,8), %xmm0/* t = |x| - j * Pi/4 */ L(reconstruction): /* Input: %eax=n, %xmm0=t, %ecx=sign(x) */ movaps %xmm0, %xmm4 /* t */ movhpd MO1(DP_ONES), %xmm4 /* 1|t */ mulsd %xmm0, %xmm0 /* y=t^2 */ movl $2, %edx unpcklpd %xmm0, %xmm0 /* y|y */ addl %eax, %edx /* k+2 */ movaps %xmm0, %xmm1 ...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
LGPL-2.1
bfff8b1becd7d01c074177df7196ab327cd8c844
github
libc
https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
121
180
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S:5
*/ movsd MO2(DP_ONES,%ecx,8), %xmm4/* 0|sign_sin */ movhpd MO2(DP_ONES,%edx,8), %xmm4/* sign_cos|sign_sin */ mulpd %xmm4, %xmm3 /* result_cos|result_sin */ movl ARG_SIN_PTR, %eax cvtpd2ps %xmm3, %xmm0 /* SP results */ movl ARG_COS_PTR, %ecx movss %xmm0, (%eax) /* store sin(x) from xmm0[0] */ shufps $1, %xmm0...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
LGPL-2.1
bfff8b1becd7d01c074177df7196ab327cd8c844
github
libc
https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
161
220
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S:6
/* Here if 9*Pi/4<=|x|<2^23 */ movsd MO1(DP_INVPIO4), %xmm1 /* 1/(Pi/4) */ mulsd %xmm0, %xmm1 /* |x|/(Pi/4) */ cvttsd2si %xmm1, %eax /* k=trunc(|x|/(Pi/4)) */ addl $1, %eax /* k+1 */ movl %eax, %edx andl $0xfffffffe, %edx /* j=(k+1)&0xfffffffe */ cvtsi2sdl %edx, %xmm4 /* DP j */ movl ARG_X, %ecx /* Load x ...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
LGPL-2.1
bfff8b1becd7d01c074177df7196ab327cd8c844
github
libc
https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
201
260
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S:7
mulsd 0*8+MO2(_FPI,%eax,8), %xmm0/* tmp0 = FPI[j]*|x| */ addl $19, %ecx /* j*28+19 */ mulsd 1*8+MO2(_FPI,%eax,8), %xmm1/* tmp1 = FPI[j+1]*|x| */ cmpl %ecx, %edx /* bitpos>=j*28+19 ? */ jl L(very_large_skip1) /* Here if bitpos>=j*28+19 */ andpd %xmm3, %xmm4 /* HI(tmp3) */ subsd %xmm4, %xmm3 /* tmp3 = tmp3 - ...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
LGPL-2.1
bfff8b1becd7d01c074177df7196ab327cd8c844
github
libc
https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
241
300
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S:8
.p2align 4 L(arg_less_pio4): /* Here if |x|<Pi/4 */ cmpl $0x3d000000, %eax /* |x|<2^-5 ? */ jl L(arg_less_2pn5) /* Here if 2^-5<=|x|<Pi/4 */ movaps %xmm0, %xmm3 /* DP x */ movhpd MO1(DP_ONES), %xmm3 /* DP 1|x */ mulsd %xmm0, %xmm0 /* DP y=x^2 */ unpcklpd %xmm0, %xmm0 /* DP y|y */ movaps %xmm0, %xmm1 /* y|...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
LGPL-2.1
bfff8b1becd7d01c074177df7196ab327cd8c844
github
libc
https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
281
340
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S:9
jl L(arg_less_2pn27) /* Here if 2^-27<=|x|<2^-5 */ movaps %xmm0, %xmm1 /* DP x */ movhpd MO1(DP_ONES), %xmm1 /* DP 1|x */ mulsd %xmm0, %xmm0 /* DP x^2 */ unpcklpd %xmm0, %xmm0 /* DP x^2|x^2 */ movaps MO1(DP_SINCOS2_1), %xmm3/* DP DP_SIN2_1 */ mulpd %xmm0, %xmm3 /* DP x^2*DP_SIN2_1 */ addpd MO1(DP_SINCOS2_...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
LGPL-2.1
bfff8b1becd7d01c074177df7196ab327cd8c844
github
libc
https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
321
380
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S:10
movl ARG_SIN_PTR, %eax movss MO1(SP_ONE), %xmm1 /* SP 1.0 */ movss %xmm0, (%eax) /* sin(x) store */ movl ARG_COS_PTR, %ecx subss %xmm7, %xmm1 /* cos(x) */ movss %xmm1, (%ecx) /* cos(x) store */ RETURN .p2align 4 L(arg_zero): movss MO1(SP_ONE), %xmm0 /* 1.0 */ movl ARG_SIN_PTR, %eax movl ARG_COS_PTR, %ecx ...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
LGPL-2.1
bfff8b1becd7d01c074177df7196ab327cd8c844
github
libc
https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
361
420
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S:11
L(PIO4J): /* Table of j*Pi/4, for j=0,1,..,10 */ .long 0x00000000,0x00000000 .long 0x54442d18,0x3fe921fb .long 0x54442d18,0x3ff921fb .long 0x7f3321d2,0x4002d97c .long 0x54442d18,0x400921fb .long 0x2955385e,0x400f6a7a .long 0x7f3321d2,0x4012d97c .long 0xe9bba775,0x4015fdbb .long 0x54442d18,0x401921fb .long 0xb...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
LGPL-2.1
bfff8b1becd7d01c074177df7196ab327cd8c844
github
libc
https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
401
460
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S:12
.long 0x24000000,0x1964ce7d .long 0x16000000,0x17b908bf .type L(_FPI), @object ASM_SIZE_DIRECTIVE(L(_FPI)) /* Coefficients of polynomials for */ /* sin(x)~=x+x*x^2*(DP_SIN2_0+x^2*DP_SIN2_1) in low DP part, */ /* cos(x)~=1+1*x^2*(DP_COS2_0+x^2*DP_COS2_1) in high DP part, */ /* for |x|<2^-5. */ .p2align 4 L(DP_SINC...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
LGPL-2.1
bfff8b1becd7d01c074177df7196ab327cd8c844
github
libc
https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
441
500
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S:13
/* for |t|<Pi/4. */ .p2align 4 L(DP_SC4): .long 0x1674b58a,0xbe5a947e .long 0xdd8844d7,0xbe923c97 .type L(DP_SC4), @object ASM_SIZE_DIRECTIVE(L(DP_SC4)) .p2align 4 L(DP_SC3): .long 0x64e6b5b4,0x3ec71d72 .long 0x9ac43cc0,0x3efa00eb .type L(DP_SC3), @object ASM_SIZE_DIRECTIVE(L(DP_SC3)) .p2align 4 L(DP_SC2):...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
LGPL-2.1
bfff8b1becd7d01c074177df7196ab327cd8c844
github
libc
https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
481
540
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S:14
ASM_SIZE_DIRECTIVE(L(DP_SMALL)) .p2align 3 L(DP_PIO4): .long 0x54442d18,0x3fe921fb /* Pi/4 */ .type L(DP_PIO4), @object ASM_SIZE_DIRECTIVE(L(DP_PIO4)) .p2align 3 L(DP_2POW52): .long 0x00000000,0x43300000 /* +2^52 */ .long 0x00000000,0xc3300000 /* -2^52 */ .type L(DP_2POW52), @object ASM_SIZE_DIRECTIVE(L(DP_2...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
LGPL-2.1
bfff8b1becd7d01c074177df7196ab327cd8c844
github
libc
https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
521
580
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S:15
L(DP_ABS_MASK): /* Mask for getting DP absolute value */ .long 0xffffffff,0x7fffffff .long 0xffffffff,0x7fffffff .type L(DP_ABS_MASK), @object ASM_SIZE_DIRECTIVE(L(DP_ABS_MASK)) .p2align 3 L(DP_HI_MASK): /* Mask for getting high 21 bits of DP value */ .long 0x00000000,0xffffffff .type L(DP_HI_MASK), @object AS...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
LGPL-2.1
bfff8b1becd7d01c074177df7196ab327cd8c844
github
libc
https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
561
586
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S:1
/* Optimized with sse2 version of sincosf Copyright (C) 2012-2016 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
LGPL-2.1
f7a9f785e547bd599dee496fd906a28bcb4ec7fe
github
libc
https://github.com/bminor/glibc/blob/f7a9f785e547bd599dee496fd906a28bcb4ec7fe/sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
1
60
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S:1
/* Optimized with sse2 version of sincosf Copyright (C) 2012-2015 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
LGPL-2.1
890b7a4b33d482b5c768ab47d70758b80227e9bc
github
libc
https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
1
60
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S:1
/* Optimized with sse2 version of sinf Copyright (C) 2012-2022 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Fo...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
LGPL-2.1
581c785bf31bc74430320c7856bbfa3875d025fe
github
libc
https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
1
60
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S:2
* 6.1) Range reduction: k=trunc(|x|/(Pi/4)), j=(k+1)&0xfffffffe, n=k+1, * t=|x|-j*Pi/4. * 6.2) Reconstruction same as (5.2). * 7) if |x| >= 2^23, very large args: * 7.1) Range reduction: k=trunc(|x|/(Pi/4)), j=(k+1)&0xfffffffe, n=k+1, * t=|x|-j*Pi/4. * 7.2) Reconstruction ...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
LGPL-2.1
581c785bf31bc74430320c7856bbfa3875d025fe
github
libc
https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
41
100
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S:3
ENTRANCE movl ARG_X, %eax /* Bits of x */ cvtss2sd ARG_X, %xmm0 /* DP x */ andl $0x7fffffff, %eax /* |x| */ cmpl $0x3f490fdb, %eax /* |x|<Pi/4? */ jb L(arg_less_pio4) /* Here if |x|>=Pi/4 */ movd %eax, %xmm3 /* SP |x| */ andpd MO1(DP_ABS_MASK),%xmm0 /* DP |x| */ movss MO1(SP_INVPIO4), %xmm2 /* SP 1/(Pi/4...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
LGPL-2.1
581c785bf31bc74430320c7856bbfa3875d025fe
github
libc
https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
81
140
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S:4
andl $1, %eax /* (n>>2)&1 */ movaps %xmm0, %xmm1 /* y */ mulsd %xmm0, %xmm0 /* z=t^4 */ movsd MO1(DP_C4), %xmm4 /* C4 */ mulsd %xmm0, %xmm4 /* z*C4 */ xorl %eax, %ecx /* (-1.0)^((n>>2)&1) XOR sign(x) */ movsd MO1(DP_C3), %xmm3 /* C3 */ mulsd %xmm0, %xmm3 /* z*C3 */ addsd MO1(DP_C2), %xmm4 /* C2+z*C4 */ ...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
LGPL-2.1
581c785bf31bc74430320c7856bbfa3875d025fe
github
libc
https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
121
180
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S:5
movaps %xmm0, %xmm1 /* y */ xorl %eax, %ecx /* (-1.0)^((n>>2)&1) XOR sign(x) */ mulsd %xmm0, %xmm0 /* z=t^4 */ movsd MO1(DP_S4), %xmm2 /* S4 */ mulsd %xmm0, %xmm2 /* z*S4 */ movsd MO1(DP_S3), %xmm3 /* S3 */ mulsd %xmm0, %xmm3 /* z*S3 */ lea -8(%esp), %esp /* Borrow 4 bytes of stack frame */ addsd MO1(DP_...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
LGPL-2.1
581c785bf31bc74430320c7856bbfa3875d025fe
github
libc
https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
161
220
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S:6
mulsd %xmm0, %xmm1 /* |x|/(Pi/4) */ cvttsd2si %xmm1, %eax /* k=trunc(|x|/(Pi/4)) */ addl $1, %eax /* k+1 */ movl %eax, %edx andl $0xfffffffe, %edx /* j=(k+1)&0xfffffffe */ cvtsi2sdl %edx, %xmm4 /* DP j */ movl ARG_X, %ecx /* Load x */ movsd MO1(DP_PIO4HI), %xmm2 /* -PIO4HI = high part of -Pi/4 */ shrl $31,...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
LGPL-2.1
581c785bf31bc74430320c7856bbfa3875d025fe
github
libc
https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
201
260
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S:7
addl $19, %ecx /* j*28+19 */ mulsd 1*8+MO2(_FPI,%eax,8), %xmm1 /* tmp1 = FPI[j+1]*|x| */ cmpl %ecx, %edx /* bitpos>=j*28+19? */ jl L(very_large_skip1) /* Here if bitpos>=j*28+19 */ andpd %xmm3, %xmm4 /* HI(tmp3) */ subsd %xmm4, %xmm3 /* tmp3 = tmp3 - HI(tmp3) */ L(very_large_skip1): movsd MO1(DP_2POW52),...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
LGPL-2.1
581c785bf31bc74430320c7856bbfa3875d025fe
github
libc
https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
241
300
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S:8
L(arg_less_pio4): /* Here if |x|<Pi/4 */ cmpl $0x3d000000, %eax /* |x|<2^-5? */ jl L(arg_less_2pn5) /* Here if 2^-5<=|x|<Pi/4 */ movaps %xmm0, %xmm3 /* x */ mulsd %xmm0, %xmm0 /* y=x^2 */ movaps %xmm0, %xmm1 /* y */ mulsd %xmm0, %xmm0 /* z=x^4 */ movsd MO1(DP_S4), %xmm4 /* S4 */ mulsd %xmm0, %xmm4 /* z...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
LGPL-2.1
581c785bf31bc74430320c7856bbfa3875d025fe
github
libc
https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
281
340
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S:9
jl L(arg_less_2pn27) /* Here if 2^-27<=|x|<2^-5 */ movaps %xmm0, %xmm1 /* DP x */ mulsd %xmm0, %xmm0 /* DP x^2 */ movsd MO1(DP_SIN2_1), %xmm3 /* DP DP_SIN2_1 */ mulsd %xmm0, %xmm3 /* DP x^2*DP_SIN2_1 */ addsd MO1(DP_SIN2_0), %xmm3 /* DP DP_SIN2_0+x^2*DP_SIN2_1 */ mulsd %xmm0, %xmm3 /* DP x^2*DP_SIN2_0+x^4*D...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
LGPL-2.1
581c785bf31bc74430320c7856bbfa3875d025fe
github
libc
https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
321
380
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S:10
.p2align 4 L(skip_errno_setting): /* Here if |x| is Inf or NAN. Continued. */ movss ARG_X, %xmm3 /* load x */ subss %xmm3, %xmm3 /* Result is NaN */ jmp L(epilogue) END(__sinf_sse2) .section .rodata, "a" .p2align 3 L(PIO4J): /* Table of j*Pi/4, for j=0,1,..,10 */ .long 0x00000000,0x00000000 .long 0x54442d18...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
LGPL-2.1
581c785bf31bc74430320c7856bbfa3875d025fe
github
libc
https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
361
420
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S:11
.long 0x48000000,0x2c970032 .long 0xe8000000,0x2ad77504 .long 0xe0000000,0x290921cf .long 0xb0000000,0x274deb1c .long 0xe0000000,0x25829a73 .long 0xbe000000,0x23fd1046 .long 0x10000000,0x2224baed .long 0x8e000000,0x20709d33 .long 0x80000000,0x1e535a2f .long 0x64000000,0x1cef904e .long 0x30000000,0x1b0d6398 ....
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
LGPL-2.1
581c785bf31bc74430320c7856bbfa3875d025fe
github
libc
https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
401
460
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S:12
.long 0x00000000,0xbff00000 /* -1.0 */ .type L(DP_ONES), @object ASM_SIZE_DIRECTIVE(L(DP_ONES)) /* Coefficients of polynomial for sin(t)~=t+t^3*(S0+t^2*(S1+t^2*(S2+t^2*(S3+t^2*S4)))), |t|<Pi/4. */ .p2align 3 L(DP_S3): .long 0x64e6b5b4,0x3ec71d72 .type L(DP_S3), @object ASM_SIZE_DIRECTIVE(L(DP_S3)) .p2align...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
LGPL-2.1
581c785bf31bc74430320c7856bbfa3875d025fe
github
libc
https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
441
500
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S:13
ASM_SIZE_DIRECTIVE(L(DP_SMALL)) /* Coefficients of polynomial for cos(t)~=1.0+t^2*(C0+t^2*(C1+t^2*(C2+t^2*(C3+t^2*C4)))), |t|<Pi/4. */ .p2align 3 L(DP_C3): .long 0x9ac43cc0,0x3efa00eb .type L(DP_C3), @object ASM_SIZE_DIRECTIVE(L(DP_C3)) .p2align 3 L(DP_C1): .long 0x545c50c7,0x3fa55555 .type L(DP_C1), @obje...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
LGPL-2.1
581c785bf31bc74430320c7856bbfa3875d025fe
github
libc
https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
481
540
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S:14
.p2align 3 L(DP_2POW52): .long 0x00000000,0x43300000 /* +2^52 */ .long 0x00000000,0xc3300000 /* -2^52 */ .type L(DP_2POW52), @object ASM_SIZE_DIRECTIVE(L(DP_2POW52)) .p2align 3 L(DP_INVPIO4): .long 0x6dc9c883,0x3ff45f30 /* 4/Pi */ .type L(DP_INVPIO4), @object ASM_SIZE_DIRECTIVE(L(DP_INVPIO4)) .p2align 3 L(DP...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
LGPL-2.1
581c785bf31bc74430320c7856bbfa3875d025fe
github
libc
https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
521
565
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S:1
/* Optimized with sse2 version of sinf Copyright (C) 2012-2021 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Fo...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
LGPL-2.1
2b778ceb4010c28d70de9b8eab20e8d88eed586b
github
libc
https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
1
60
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S:1
/* Optimized with sse2 version of sinf Copyright (C) 2012-2020 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Fo...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
LGPL-2.1
d614a7539657941a9201c236b2f15afac18e1213
github
libc
https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
1
60
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S:1
/* Optimized with sse2 version of sinf Copyright (C) 2012-2019 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Fo...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
LGPL-2.1
5a82c74822d3272df2f5929133680478c0cfb4bd
github
libc
https://github.com/bminor/glibc/blob/5a82c74822d3272df2f5929133680478c0cfb4bd/sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
1
60
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S:1
/* Optimized with sse2 version of sinf Copyright (C) 2012-2019 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Fo...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
LGPL-2.1
04277e02d7f54d3582bebcf8386b317018cd5e1d
github
libc
https://github.com/bminor/glibc/blob/04277e02d7f54d3582bebcf8386b317018cd5e1d/sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
1
60
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S:1
/* Optimized with sse2 version of sinf Copyright (C) 2012-2018 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Fo...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
LGPL-2.1
688903eb3ef01301d239ab753d309d45720610a7
github
libc
https://github.com/bminor/glibc/blob/688903eb3ef01301d239ab753d309d45720610a7/sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
1
60
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S:1
/* Optimized with sse2 version of sinf Copyright (C) 2012-2017 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Fo...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
LGPL-2.1
fd860eaaa8757b221d9169e460c9ec41ea51f317
github
libc
https://github.com/bminor/glibc/blob/fd860eaaa8757b221d9169e460c9ec41ea51f317/sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
1
60
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S:1
/* Optimized with sse2 version of sinf Copyright (C) 2012-2017 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Fo...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
LGPL-2.1
bfff8b1becd7d01c074177df7196ab327cd8c844
github
libc
https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
1
60
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S:2
* 6) if |x| < 2^23, large args: * 6.1) Range reduction: k=trunc(|x|/(Pi/4)), j=(k+1)&0xfffffffe, n=k+1, * t=|x|-j*Pi/4. * 6.2) Reconstruction same as (5.2). * 7) if |x| >= 2^23, very large args: * 7.1) Range reduction: k=trunc(|x|/(Pi/4)), j=(k+1)&0xfffffffe, n=k+1, * t=|x|-j*...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
LGPL-2.1
bfff8b1becd7d01c074177df7196ab327cd8c844
github
libc
https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
41
100
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S:3
/* Input: single precision x on stack at address ARG_X */ ENTRANCE movl ARG_X, %eax /* Bits of x */ cvtss2sd ARG_X, %xmm0 /* DP x */ andl $0x7fffffff, %eax /* |x| */ cmpl $0x3f490fdb, %eax /* |x|<Pi/4? */ jb L(arg_less_pio4) /* Here if |x|>=Pi/4 */ movd %eax, %xmm3 /* SP |x| */ andpd MO1(DP_ABS_MASK),%x...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
LGPL-2.1
bfff8b1becd7d01c074177df7196ab327cd8c844
github
libc
https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
81
140
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S:4
mulsd %xmm0, %xmm0 /* y=t^2 */ andl $1, %eax /* (n>>2)&1 */ movaps %xmm0, %xmm1 /* y */ mulsd %xmm0, %xmm0 /* z=t^4 */ movsd MO1(DP_C4), %xmm4 /* C4 */ mulsd %xmm0, %xmm4 /* z*C4 */ xorl %eax, %ecx /* (-1.0)^((n>>2)&1) XOR sign(x) */ movsd MO1(DP_C3), %xmm3 /* C3 */ mulsd %xmm0, %xmm3 /* z*C3 */ addsd ...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
LGPL-2.1
bfff8b1becd7d01c074177df7196ab327cd8c844
github
libc
https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
121
180
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S:5
andl $1, %eax /* (n>>2)&1 */ movaps %xmm0, %xmm1 /* y */ xorl %eax, %ecx /* (-1.0)^((n>>2)&1) XOR sign(x) */ mulsd %xmm0, %xmm0 /* z=t^4 */ movsd MO1(DP_S4), %xmm2 /* S4 */ mulsd %xmm0, %xmm2 /* z*S4 */ movsd MO1(DP_S3), %xmm3 /* S3 */ mulsd %xmm0, %xmm3 /* z*S3 */ lea -8(%esp), %esp /* Borrow 4 bytes o...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
LGPL-2.1
bfff8b1becd7d01c074177df7196ab327cd8c844
github
libc
https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
161
220
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S:6
movsd MO1(DP_INVPIO4), %xmm1 /* 1/(Pi/4) */ mulsd %xmm0, %xmm1 /* |x|/(Pi/4) */ cvttsd2si %xmm1, %eax /* k=trunc(|x|/(Pi/4)) */ addl $1, %eax /* k+1 */ movl %eax, %edx andl $0xfffffffe, %edx /* j=(k+1)&0xfffffffe */ cvtsi2sdl %edx, %xmm4 /* DP j */ movl ARG_X, %ecx /* Load x */ movsd MO1(DP_PIO4HI), %xmm2 ...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
LGPL-2.1
bfff8b1becd7d01c074177df7196ab327cd8c844
github
libc
https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
201
260
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S:7
mulsd 0*8+MO2(_FPI,%eax,8), %xmm0 /* tmp0 = FPI[j]*|x| */ addl $19, %ecx /* j*28+19 */ mulsd 1*8+MO2(_FPI,%eax,8), %xmm1 /* tmp1 = FPI[j+1]*|x| */ cmpl %ecx, %edx /* bitpos>=j*28+19? */ jl L(very_large_skip1) /* Here if bitpos>=j*28+19 */ andpd %xmm3, %xmm4 /* HI(tmp3) */ subsd %xmm4, %xmm3 /* tmp3 = tmp3...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
LGPL-2.1
bfff8b1becd7d01c074177df7196ab327cd8c844
github
libc
https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
241
300
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S:8
.p2align 4 L(arg_less_pio4): /* Here if |x|<Pi/4 */ cmpl $0x3d000000, %eax /* |x|<2^-5? */ jl L(arg_less_2pn5) /* Here if 2^-5<=|x|<Pi/4 */ movaps %xmm0, %xmm3 /* x */ mulsd %xmm0, %xmm0 /* y=x^2 */ movaps %xmm0, %xmm1 /* y */ mulsd %xmm0, %xmm0 /* z=x^4 */ movsd MO1(DP_S4), %xmm4 /* S4 */ mulsd %xmm0, ...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
LGPL-2.1
bfff8b1becd7d01c074177df7196ab327cd8c844
github
libc
https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
281
340
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S:9
cmpl $0x32000000, %eax /* |x|<2^-27? */ jl L(arg_less_2pn27) /* Here if 2^-27<=|x|<2^-5 */ movaps %xmm0, %xmm1 /* DP x */ mulsd %xmm0, %xmm0 /* DP x^2 */ movsd MO1(DP_SIN2_1), %xmm3 /* DP DP_SIN2_1 */ mulsd %xmm0, %xmm3 /* DP x^2*DP_SIN2_1 */ addsd MO1(DP_SIN2_0), %xmm3 /* DP DP_SIN2_0+x^2*DP_SIN2_1 */ mul...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
LGPL-2.1
bfff8b1becd7d01c074177df7196ab327cd8c844
github
libc
https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
321
380