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/fpu/e_scalbf.S:2 | je 1f
andl $0x4500, %eax
cmpl $0x0100, %eax
je 2f
fxam
fnstsw
andl $0x4500, %eax
cmpl $0x0100, %eax
je 3f
fld %st(1)
frndint
fcomp %st(2)
fnstsw
sahf
jne 4f
fscale
fstp %st(1)
FLT_NARROW_EVAL
ret
/* y is -inf */
1: fxam
#ifdef PIC
LOAD_PIC_REG (cx)
#endif
fnstsw
movl 4(%esp), %edx
shrl $5, %eax... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/e_scalbf.S | LGPL-2.1 | 94ced920a951bcab51f2ef955ccd2cc51668e6f3 | github | libc | https://github.com/bminor/glibc/blob/94ced920a951bcab51f2ef955ccd2cc51668e6f3/sysdeps/i386/fpu/e_scalbf.S | 41 | 100 |
bminor/glibc:sysdeps/i386/fpu/e_scalbf.S:3 | /* The result is NaN, but we must not raise an exception.
So use a variable. */
2: fstp %st
fstp %st
#ifdef PIC
LOAD_PIC_REG (cx)
#endif
fldl MO(nan)
ret
/* The first parameter is a NaN. Return it. */
3: fstp %st(1)
ret
/* Return NaN and raise the invalid exception. */
4: fstp %st
fstp %st
fldz
fdi... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/e_scalbf.S | LGPL-2.1 | 94ced920a951bcab51f2ef955ccd2cc51668e6f3 | github | libc | https://github.com/bminor/glibc/blob/94ced920a951bcab51f2ef955ccd2cc51668e6f3/sysdeps/i386/fpu/e_scalbf.S | 81 | 102 |
bminor/glibc:sysdeps/i386/fpu/e_scalbf.S:1 | /*
* Written by J.T. Conklin <jtc@netbsd.org>.
* Public domain.
* Adapted for float type by Ulrich Drepper <drepper@cygnus.com>.
*
* Correct handling of y==-inf <drepper@gnu>
*/
#include <machine/asm.h>
.section .rodata
.align ALIGNARG(4)
.type zero_nan,@object
zero_nan:
.double 0.0
nan: .byte 0, 0, 0, 0, ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/e_scalbf.S | LGPL-2.1 | 890b7a4b33d482b5c768ab47d70758b80227e9bc | github | libc | https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/fpu/e_scalbf.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/e_scalbf.S:2 | andl $0x4500, %eax
cmpl $0x0100, %eax
je 2f
fxam
fnstsw
andl $0x4500, %eax
cmpl $0x0100, %eax
je 3f
fld %st(1)
frndint
fcomp %st(2)
fnstsw
sahf
jne 4f
fscale
fstp %st(1)
ret
/* y is -inf */
1: fxam
#ifdef PIC
LOAD_PIC_REG (cx)
#endif
fnstsw
movl 4(%esp), %edx
shrl $5, %eax
fstp %st
fstp %st
an... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/e_scalbf.S | LGPL-2.1 | 890b7a4b33d482b5c768ab47d70758b80227e9bc | github | libc | https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/fpu/e_scalbf.S | 41 | 100 |
bminor/glibc:sysdeps/i386/fpu/e_scalbf.S:3 | 2: fstp %st
fstp %st
#ifdef PIC
LOAD_PIC_REG (cx)
#endif
fldl MO(nan)
ret
/* The first parameter is a NaN. Return it. */
3: fstp %st(1)
ret
/* Return NaN and raise the invalid exception. */
4: fstp %st
fstp %st
fldz
fdiv %st
ret
END(__ieee754_scalbf)
strong_alias (__ieee754_scalbf, __scalbf_finite) | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/e_scalbf.S | LGPL-2.1 | 890b7a4b33d482b5c768ab47d70758b80227e9bc | github | libc | https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/fpu/e_scalbf.S | 81 | 100 |
bminor/glibc:sysdeps/i386/fpu/e_scalbl.S:1 | /*
* Public domain.
*/
#include <machine/asm.h>
#include <libm-alias-finite.h>
.section .rodata
.align ALIGNARG(4)
.type zero_nan,@object
zero_nan:
.double 0.0
nan: .byte 0, 0, 0, 0, 0, 0, 0xff, 0x7f
.byte 0, 0, 0, 0, 0, 0, 0, 0x80
.byte 0, 0, 0, 0, 0, 0, 0xff, 0x7f
ASM_SIZE_DIRECTIVE(zero_nan)
#ifdef PIC... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/e_scalbl.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/fpu/e_scalbl.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/e_scalbl.S:2 | fnstsw
andl $0x4500, %eax
cmpl $0x0100, %eax
je 2f
fld %st(1)
frndint
fcomp %st(2)
fnstsw
sahf
jne 4f
fscale
fstp %st(1)
ret
/* y is -inf */
1: fxam
#ifdef PIC
LOAD_PIC_REG (cx)
#endif
fnstsw
movl 12(%esp), %edx
shrl $5, %eax
fstp %st
fstp %st
andl $0x8000, %edx
andl $0x0228, %eax
cmpl $0x0028, ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/e_scalbl.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/fpu/e_scalbl.S | 41 | 86 |
bminor/glibc:sysdeps/i386/fpu/e_scalbl.S:1 | /*
* Written by J.T. Conklin <jtc@netbsd.org>.
* Public domain.
*
* Adapted for `long double' by Ulrich Drepper <drepper@cygnus.com>.
*
* Correct handling of y==-inf <drepper@gnu>
*/
#include <machine/asm.h>
#include <libm-alias-finite.h>
.section .rodata
.align ALIGNARG(4)
.type zero_nan,@object
zero_nan:... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/e_scalbl.S | LGPL-2.1 | 220622dde5704c95a100c2792a280f18f3deba73 | github | libc | https://github.com/bminor/glibc/blob/220622dde5704c95a100c2792a280f18f3deba73/sysdeps/i386/fpu/e_scalbl.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/e_scalbl.S:2 | je 1f
andl $0x4500, %eax
cmpl $0x0100, %eax
je 2f
fxam
fnstsw
andl $0x4500, %eax
cmpl $0x0100, %eax
je 2f
fld %st(1)
frndint
fcomp %st(2)
fnstsw
sahf
jne 4f
fscale
fstp %st(1)
ret
/* y is -inf */
1: fxam
#ifdef PIC
LOAD_PIC_REG (cx)
#endif
fnstsw
movl 12(%esp), %edx
shrl $5, %eax
fstp %st
fstp... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/e_scalbl.S | LGPL-2.1 | 220622dde5704c95a100c2792a280f18f3deba73 | github | libc | https://github.com/bminor/glibc/blob/220622dde5704c95a100c2792a280f18f3deba73/sysdeps/i386/fpu/e_scalbl.S | 41 | 91 |
bminor/glibc:sysdeps/i386/fpu/e_scalbl.S:3 | 2: faddp
ret
/* Return NaN and raise the invalid exception. */
4: fstp %st
fstp %st
fldz
fdiv %st
ret
END(__ieee754_scalbl)
libm_alias_finite (__ieee754_scalbl, __scalbl) | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/e_scalbl.S | LGPL-2.1 | 220622dde5704c95a100c2792a280f18f3deba73 | github | libc | https://github.com/bminor/glibc/blob/220622dde5704c95a100c2792a280f18f3deba73/sysdeps/i386/fpu/e_scalbl.S | 81 | 91 |
bminor/glibc:sysdeps/i386/fpu/e_scalbl.S:1 | /*
* Written by J.T. Conklin <jtc@netbsd.org>.
* Public domain.
*
* Adapted for `long double' by Ulrich Drepper <drepper@cygnus.com>.
*
* Correct handling of y==-inf <drepper@gnu>
*/
#include <machine/asm.h>
.section .rodata
.align ALIGNARG(4)
.type zero_nan,@object
zero_nan:
.double 0.0
nan: .byte 0, 0, ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/e_scalbl.S | LGPL-2.1 | 40244be3729149ff440caf18e445ec17b0d0b511 | github | libc | https://github.com/bminor/glibc/blob/40244be3729149ff440caf18e445ec17b0d0b511/sysdeps/i386/fpu/e_scalbl.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/e_scalbl.S:2 | andl $0x4500, %eax
cmpl $0x0100, %eax
je 2f
fxam
fnstsw
andl $0x4500, %eax
cmpl $0x0100, %eax
je 2f
fld %st(1)
frndint
fcomp %st(2)
fnstsw
sahf
jne 4f
fscale
fstp %st(1)
ret
/* y is -inf */
1: fxam
#ifdef PIC
LOAD_PIC_REG (cx)
#endif
fnstsw
movl 12(%esp), %edx
shrl $5, %eax
fstp %st
fstp %st
a... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/e_scalbl.S | LGPL-2.1 | 40244be3729149ff440caf18e445ec17b0d0b511 | github | libc | https://github.com/bminor/glibc/blob/40244be3729149ff440caf18e445ec17b0d0b511/sysdeps/i386/fpu/e_scalbl.S | 41 | 90 |
bminor/glibc:sysdeps/i386/fpu/e_scalbl.S:3 | ret
/* Return NaN and raise the invalid exception. */
4: fstp %st
fstp %st
fldz
fdiv %st
ret
END(__ieee754_scalbl)
strong_alias (__ieee754_scalbl, __scalbl_finite) | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/e_scalbl.S | LGPL-2.1 | 40244be3729149ff440caf18e445ec17b0d0b511 | github | libc | https://github.com/bminor/glibc/blob/40244be3729149ff440caf18e445ec17b0d0b511/sysdeps/i386/fpu/e_scalbl.S | 81 | 90 |
bminor/glibc:sysdeps/i386/fpu/e_scalbl.S:1 | /*
* Written by J.T. Conklin <jtc@netbsd.org>.
* Public domain.
*
* Adapted for `long double' by Ulrich Drepper <drepper@cygnus.com>.
*
* Correct handling of y==-inf <drepper@gnu>
*/
#include <machine/asm.h>
.section .rodata
.align ALIGNARG(4)
.type zero_nan,@object
zero_nan:
.double 0.0
nan: .byte 0, 0, ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/e_scalbl.S | LGPL-2.1 | 890b7a4b33d482b5c768ab47d70758b80227e9bc | github | libc | https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/fpu/e_scalbl.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/e_scalbl.S:2 | andl $0x4500, %eax
cmpl $0x0100, %eax
je 2f
fxam
fnstsw
andl $0x4500, %eax
cmpl $0x0100, %eax
je 3f
fld %st(1)
frndint
fcomp %st(2)
fnstsw
sahf
jne 4f
fscale
fstp %st(1)
ret
/* y is -inf */
1: fxam
#ifdef PIC
LOAD_PIC_REG (cx)
#endif
fnstsw
movl 12(%esp), %edx
shrl $5, %eax
fstp %st
fstp %st
a... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/e_scalbl.S | LGPL-2.1 | 890b7a4b33d482b5c768ab47d70758b80227e9bc | github | libc | https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/fpu/e_scalbl.S | 41 | 100 |
bminor/glibc:sysdeps/i386/fpu/e_scalbl.S:3 | 2: fstp %st
fstp %st
#ifdef PIC
LOAD_PIC_REG (cx)
#endif
fldl MO(nan)
ret
/* The first parameter is a NaN. Return it. */
3: fstp %st(1)
ret
/* Return NaN and raise the invalid exception. */
4: fstp %st
fstp %st
fldz
fdiv %st
ret
END(__ieee754_scalbl)
strong_alias (__ieee754_scalbl, __scalbl_finite) | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/e_scalbl.S | LGPL-2.1 | 890b7a4b33d482b5c768ab47d70758b80227e9bc | github | libc | https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/fpu/e_scalbl.S | 81 | 100 |
bminor/glibc:sysdeps/i386/fpu/e_sqrt.S:1 | /*
* Public domain.
*/
#include <machine/asm.h>
#include <libm-alias-finite.h>
ENTRY(__ieee754_sqrt)
fldl 4(%esp)
subl $8, %esp
cfi_adjust_cfa_offset (8)
fstcw 4(%esp)
movl $0xfeff, %edx
andl 4(%esp), %edx
movl %edx, (%esp)
fldcw (%esp)
fsqrt
fldcw 4(%esp)
addl $8, %esp
cfi_adjust_cfa_offset (-8)
ret
E... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/fpu/e_sqrt.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/fpu/e_sqrt.S | 1 | 23 |
bminor/glibc:sysdeps/i386/fpu/e_sqrt.S:1 | /*
* Written by J.T. Conklin <jtc@netbsd.org>.
* Public domain.
*/
#include <machine/asm.h>
#include <libm-alias-finite.h>
ENTRY(__ieee754_sqrt)
fldl 4(%esp)
subl $8, %esp
cfi_adjust_cfa_offset (8)
fstcw 4(%esp)
movl $0xfeff, %edx
andl 4(%esp), %edx
movl %edx, (%esp)
fldcw (%esp)
fsqrt
fldcw 4(%esp)
add... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/fpu/e_sqrt.S | LGPL-2.1 | 220622dde5704c95a100c2792a280f18f3deba73 | github | libc | https://github.com/bminor/glibc/blob/220622dde5704c95a100c2792a280f18f3deba73/sysdeps/i386/fpu/e_sqrt.S | 1 | 24 |
bminor/glibc:sysdeps/i386/fpu/e_sqrt.S:1 | /*
* Written by J.T. Conklin <jtc@netbsd.org>.
* Public domain.
*/
#include <machine/asm.h>
ENTRY(__ieee754_sqrt)
fldl 4(%esp)
subl $8, %esp
cfi_adjust_cfa_offset (8)
fstcw 4(%esp)
movl $0xfeff, %edx
andl 4(%esp), %edx
movl %edx, (%esp)
fldcw (%esp)
fsqrt
fldcw 4(%esp)
addl $8, %esp
cfi_adjust_cfa_offs... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/fpu/e_sqrt.S | LGPL-2.1 | 890b7a4b33d482b5c768ab47d70758b80227e9bc | github | libc | https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/fpu/e_sqrt.S | 1 | 23 |
bminor/glibc:sysdeps/i386/fpu/e_sqrtf.S:1 | /*
* Public domain.
*/
#include <machine/asm.h>
#include <libm-alias-finite.h>
ENTRY(__ieee754_sqrtf)
flds 4(%esp)
fsqrt
ret
END (__ieee754_sqrtf)
libm_alias_finite (__ieee754_sqrtf, __sqrtf) | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/fpu/e_sqrtf.S | LGPL-2.1 | 30891f35fa7da832b66d80d0807610df361851f3 | github | libc | https://github.com/bminor/glibc/blob/30891f35fa7da832b66d80d0807610df361851f3/sysdeps/i386/fpu/e_sqrtf.S | 1 | 13 |
bminor/glibc:sysdeps/i386/fpu/e_sqrtf.S:1 | /*
* Written by J.T. Conklin <jtc@netbsd.org>.
* Public domain.
*/
#include <machine/asm.h>
#include <libm-alias-finite.h>
ENTRY(__ieee754_sqrtf)
flds 4(%esp)
fsqrt
ret
END (__ieee754_sqrtf)
libm_alias_finite (__ieee754_sqrtf, __sqrtf) | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/fpu/e_sqrtf.S | LGPL-2.1 | 220622dde5704c95a100c2792a280f18f3deba73 | github | libc | https://github.com/bminor/glibc/blob/220622dde5704c95a100c2792a280f18f3deba73/sysdeps/i386/fpu/e_sqrtf.S | 1 | 14 |
bminor/glibc:sysdeps/i386/fpu/e_sqrtf.S:1 | /*
* Written by J.T. Conklin <jtc@netbsd.org>.
* Public domain.
*/
#include <machine/asm.h>
ENTRY(__ieee754_sqrtf)
flds 4(%esp)
fsqrt
ret
END (__ieee754_sqrtf)
strong_alias (__ieee754_sqrtf, __sqrtf_finite) | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/fpu/e_sqrtf.S | LGPL-2.1 | 890b7a4b33d482b5c768ab47d70758b80227e9bc | github | libc | https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/fpu/e_sqrtf.S | 1 | 13 |
bminor/glibc:sysdeps/i386/fpu/s_asinh.S:1 | /* ix87 specific implementation of arcsinh.
Copyright (C) 1996-2026 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 Softwa... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_asinh.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/fpu/s_asinh.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_asinh.S:2 | .text
ENTRY(__asinh)
movl 8(%esp), %ecx
movl $0x7fffffff, %eax
andl %ecx, %eax
andl $0x80000000, %ecx
movl %eax, %edx
orl $0x800fffff, %edx
incl %edx
jz 7f // x in ±Inf or NaN
xorl %ecx, 8(%esp)
fldl 4(%esp) // |x|
cmpl $0x3e300000, %eax
jb 2f // |x| < 2^-28
fldln2 // log(2) : |x|
cmpl $0x41b0000... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_asinh.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/fpu/s_asinh.S | 41 | 100 |
bminor/glibc:sysdeps/i386/fpu/s_asinh.S:3 | 4: ret
7: fldl 4(%esp)
ret
6: faddl MO(one)
fyl2x
jecxz 4f
fchs
4: ret
// |x| < 2^-28 => y = x (inexact iff |x| != 0.0)
.align ALIGNARG(4)
2:
#ifdef PIC
LOAD_PIC_REG (dx)
#endif
jecxz 4f
fchs // x
4: fld %st // x : x
faddl MO(huge) // huge+x : x
fstp %st(0) // x
cmpl $0x00100000, %eax
jae 8f
su... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_asinh.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/fpu/s_asinh.S | 81 | 139 |
bminor/glibc:sysdeps/i386/fpu/s_asinh.S:4 | 4: ret
// |x| > 2 => y = sign(x) * log(2*|x| + 1/(|x|+sqrt(x*x+1)))
.align ALIGNARG(4)
5: fld %st // |x| : |x| : log(2)
fadd %st, %st(1) // |x| : 2*|x| : log(2)
fld %st // |x| : |x| : 2*|x| : log(2)
fmul %st(1) // |x|^2 : |x| : 2*|x| : log(2)
faddl MO(one) // 1+|x|^2 : |x| : 2*|x| : log(2)
fsqrt // ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_asinh.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/fpu/s_asinh.S | 121 | 139 |
bminor/glibc:sysdeps/i386/fpu/s_asinh.S:1 | /* ix87 specific implementation of arcsinh.
Copyright (C) 1996-2025 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 Softwa... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_asinh.S | LGPL-2.1 | 2642002380aafb71a1d3b569b6d7ebeab3284816 | github | libc | https://github.com/bminor/glibc/blob/2642002380aafb71a1d3b569b6d7ebeab3284816/sysdeps/i386/fpu/s_asinh.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_asinh.S:1 | /* ix87 specific implementation of arcsinh.
Copyright (C) 1996-2024 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 Softwa... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_asinh.S | LGPL-2.1 | dff8da6b3e89b986bb7f6b1ec18cf65d5972e307 | github | libc | https://github.com/bminor/glibc/blob/dff8da6b3e89b986bb7f6b1ec18cf65d5972e307/sysdeps/i386/fpu/s_asinh.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_asinh.S:1 | /* ix87 specific implementation of arcsinh.
Copyright (C) 1996-2023 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 Softwa... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_asinh.S | LGPL-2.1 | 6d7e8eda9b85b08f207a6dc6f187e94e4817270f | github | libc | https://github.com/bminor/glibc/blob/6d7e8eda9b85b08f207a6dc6f187e94e4817270f/sysdeps/i386/fpu/s_asinh.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_asinh.S:1 | /* ix87 specific implementation of arcsinh.
Copyright (C) 1996-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 Softwa... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_asinh.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/fpu/s_asinh.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_asinh.S:1 | /* ix87 specific implementation of arcsinh.
Copyright (C) 1996-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 Softwa... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_asinh.S | LGPL-2.1 | 30891f35fa7da832b66d80d0807610df361851f3 | github | libc | https://github.com/bminor/glibc/blob/30891f35fa7da832b66d80d0807610df361851f3/sysdeps/i386/fpu/s_asinh.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_asinh.S:1 | /* ix87 specific implementation of arcsinh.
Copyright (C) 1996-2021 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Les... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_asinh.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/fpu/s_asinh.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_asinh.S:2 | .text
ENTRY(__asinh)
movl 8(%esp), %ecx
movl $0x7fffffff, %eax
andl %ecx, %eax
andl $0x80000000, %ecx
movl %eax, %edx
orl $0x800fffff, %edx
incl %edx
jz 7f // x in ±Inf or NaN
xorl %ecx, 8(%esp)
fldl 4(%esp) // |x|
cmpl $0x3e300000, %eax
jb 2f // |x| < 2^-28
fldln2 // log(2) : |x|
cmpl $0x41b0000... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_asinh.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/fpu/s_asinh.S | 41 | 100 |
bminor/glibc:sysdeps/i386/fpu/s_asinh.S:3 | fchs
4: ret
7: fldl 4(%esp)
ret
6: faddl MO(one)
fyl2x
jecxz 4f
fchs
4: ret
// |x| < 2^-28 => y = x (inexact iff |x| != 0.0)
.align ALIGNARG(4)
2:
#ifdef PIC
LOAD_PIC_REG (dx)
#endif
jecxz 4f
fchs // x
4: fld %st // x : x
faddl MO(huge) // huge+x : x
fstp %st(0) // x
cmpl $0x00100000, %eax
jae 8... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_asinh.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/fpu/s_asinh.S | 81 | 140 |
bminor/glibc:sysdeps/i386/fpu/s_asinh.S:4 | fchs
4: ret
// |x| > 2 => y = sign(x) * log(2*|x| + 1/(|x|+sqrt(x*x+1)))
.align ALIGNARG(4)
5: fld %st // |x| : |x| : log(2)
fadd %st, %st(1) // |x| : 2*|x| : log(2)
fld %st // |x| : |x| : 2*|x| : log(2)
fmul %st(1) // |x|^2 : |x| : 2*|x| : log(2)
faddl MO(one) // 1+|x|^2 : |x| : 2*|x| : log(2)
fsqrt ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_asinh.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/fpu/s_asinh.S | 121 | 140 |
bminor/glibc:sysdeps/i386/fpu/s_asinh.S:1 | /* ix87 specific implementation of arcsinh.
Copyright (C) 1996-2020 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Les... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_asinh.S | LGPL-2.1 | d614a7539657941a9201c236b2f15afac18e1213 | github | libc | https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/i386/fpu/s_asinh.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_asinh.S:1 | /* ix87 specific implementation of arcsinh.
Copyright (C) 1996-2019 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Les... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_asinh.S | LGPL-2.1 | 5a82c74822d3272df2f5929133680478c0cfb4bd | github | libc | https://github.com/bminor/glibc/blob/5a82c74822d3272df2f5929133680478c0cfb4bd/sysdeps/i386/fpu/s_asinh.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_asinh.S:1 | /* ix87 specific implementation of arcsinh.
Copyright (C) 1996-2019 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Les... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_asinh.S | LGPL-2.1 | 04277e02d7f54d3582bebcf8386b317018cd5e1d | github | libc | https://github.com/bminor/glibc/blob/04277e02d7f54d3582bebcf8386b317018cd5e1d/sysdeps/i386/fpu/s_asinh.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_asinh.S:1 | /* ix87 specific implementation of arcsinh.
Copyright (C) 1996-2018 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Les... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_asinh.S | LGPL-2.1 | 688903eb3ef01301d239ab753d309d45720610a7 | github | libc | https://github.com/bminor/glibc/blob/688903eb3ef01301d239ab753d309d45720610a7/sysdeps/i386/fpu/s_asinh.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_asinh.S:1 | /* ix87 specific implementation of arcsinh.
Copyright (C) 1996-2017 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Les... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_asinh.S | LGPL-2.1 | bc4e8f9b49950c982f22d4f4c602a972a63abf65 | github | libc | https://github.com/bminor/glibc/blob/bc4e8f9b49950c982f22d4f4c602a972a63abf65/sysdeps/i386/fpu/s_asinh.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_asinh.S:1 | /* ix87 specific implementation of arcsinh.
Copyright (C) 1996-2017 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Les... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_asinh.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/fpu/s_asinh.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_asinh.S:3 | 4: ret
7: fldl 4(%esp)
ret
6: faddl MO(one)
fyl2x
jecxz 4f
fchs
4: ret
// |x| < 2^-28 => y = x (inexact iff |x| != 0.0)
.align ALIGNARG(4)
2:
#ifdef PIC
LOAD_PIC_REG (dx)
#endif
jecxz 4f
fchs // x
4: fld %st // x : x
faddl MO(huge) // huge+x : x
fstp %st(0) // x
cmpl $0x00100000, %eax
jae 8f
su... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_asinh.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/fpu/s_asinh.S | 81 | 139 |
bminor/glibc:sysdeps/i386/fpu/s_asinh.S:4 | 4: ret
// |x| > 2 => y = sign(x) * log(2*|x| + 1/(|x|+sqrt(x*x+1)))
.align ALIGNARG(4)
5: fld %st // |x| : |x| : log(2)
fadd %st, %st(1) // |x| : 2*|x| : log(2)
fld %st // |x| : |x| : 2*|x| : log(2)
fmul %st(1) // |x|^2 : |x| : 2*|x| : log(2)
faddl MO(one) // 1+|x|^2 : |x| : 2*|x| : log(2)
fsqrt // ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_asinh.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/fpu/s_asinh.S | 121 | 139 |
bminor/glibc:sysdeps/i386/fpu/s_asinh.S:1 | /* ix87 specific implementation of arcsinh.
Copyright (C) 1996-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Les... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_asinh.S | LGPL-2.1 | f7a9f785e547bd599dee496fd906a28bcb4ec7fe | github | libc | https://github.com/bminor/glibc/blob/f7a9f785e547bd599dee496fd906a28bcb4ec7fe/sysdeps/i386/fpu/s_asinh.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_asinh.S:1 | /* ix87 specific implementation of arcsinh.
Copyright (C) 1996-2015 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Les... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_asinh.S | LGPL-2.1 | 890b7a4b33d482b5c768ab47d70758b80227e9bc | github | libc | https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/fpu/s_asinh.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_asinhf.S:1 | /* ix87 specific implementation of arcsinh.
Copyright (C) 1996-2024 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 Softwa... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_asinhf.S | LGPL-2.1 | dff8da6b3e89b986bb7f6b1ec18cf65d5972e307 | github | libc | https://github.com/bminor/glibc/blob/dff8da6b3e89b986bb7f6b1ec18cf65d5972e307/sysdeps/i386/fpu/s_asinhf.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_asinhf.S:2 | .text
ENTRY(__asinhf)
movl 4(%esp), %ecx
movl $0x7fffffff, %eax
andl %ecx, %eax
andl $0x80000000, %ecx
movl %eax, %edx
orl $0x807fffff, %edx
incl %edx
jz 7f // x in ±Inf or NaN
xorl %ecx, 4(%esp)
flds 4(%esp) // |x|
cmpl $0x38000000, %eax
jb 2f // |x| < 2^-14
fldln2 // log(2) : |x|
cmpl $0x470000... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_asinhf.S | LGPL-2.1 | dff8da6b3e89b986bb7f6b1ec18cf65d5972e307 | github | libc | https://github.com/bminor/glibc/blob/dff8da6b3e89b986bb7f6b1ec18cf65d5972e307/sysdeps/i386/fpu/s_asinhf.S | 41 | 100 |
bminor/glibc:sysdeps/i386/fpu/s_asinhf.S:3 | 4: ret
7: flds 4(%esp)
ret
6: faddl MO(one)
fyl2x
jecxz 4f
fchs
4: ret
// |x| < 2^-14 => y = x (inexact iff |x| != 0.0)
.align ALIGNARG(4)
2:
#ifdef PIC
LOAD_PIC_REG (dx)
#endif
jecxz 4f
fchs // x
4: fld %st // x : x
faddl MO(huge) // huge+x : x
fstp %st(0) // x
cmpl $0x00800000, %eax
jae 8f
su... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_asinhf.S | LGPL-2.1 | dff8da6b3e89b986bb7f6b1ec18cf65d5972e307 | github | libc | https://github.com/bminor/glibc/blob/dff8da6b3e89b986bb7f6b1ec18cf65d5972e307/sysdeps/i386/fpu/s_asinhf.S | 81 | 139 |
bminor/glibc:sysdeps/i386/fpu/s_asinhf.S:4 | 4: ret
// |x| > 2 => y = sign(x) * log(2*|x| + 1/(|x|+sqrt(x*x+1)))
.align ALIGNARG(4)
5: fld %st // |x| : |x| : log(2)
fadd %st, %st(1) // |x| : 2*|x| : log(2)
fld %st // |x| : |x| : 2*|x| : log(2)
fmul %st(1) // |x|^2 : |x| : 2*|x| : log(2)
faddl MO(one) // 1+|x|^2 : |x| : 2*|x| : log(2)
fsqrt // ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_asinhf.S | LGPL-2.1 | dff8da6b3e89b986bb7f6b1ec18cf65d5972e307 | github | libc | https://github.com/bminor/glibc/blob/dff8da6b3e89b986bb7f6b1ec18cf65d5972e307/sysdeps/i386/fpu/s_asinhf.S | 121 | 139 |
bminor/glibc:sysdeps/i386/fpu/s_asinhf.S:1 | /* ix87 specific implementation of arcsinh.
Copyright (C) 1996-2023 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 Softwa... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_asinhf.S | LGPL-2.1 | 6d7e8eda9b85b08f207a6dc6f187e94e4817270f | github | libc | https://github.com/bminor/glibc/blob/6d7e8eda9b85b08f207a6dc6f187e94e4817270f/sysdeps/i386/fpu/s_asinhf.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_asinhf.S:1 | /* ix87 specific implementation of arcsinh.
Copyright (C) 1996-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 Softwa... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_asinhf.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/fpu/s_asinhf.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_asinhf.S:1 | /* ix87 specific implementation of arcsinh.
Copyright (C) 1996-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 Softwa... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_asinhf.S | LGPL-2.1 | 30891f35fa7da832b66d80d0807610df361851f3 | github | libc | https://github.com/bminor/glibc/blob/30891f35fa7da832b66d80d0807610df361851f3/sysdeps/i386/fpu/s_asinhf.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_asinhf.S:1 | /* ix87 specific implementation of arcsinh.
Copyright (C) 1996-2021 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Les... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_asinhf.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/fpu/s_asinhf.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_asinhf.S:2 | .text
ENTRY(__asinhf)
movl 4(%esp), %ecx
movl $0x7fffffff, %eax
andl %ecx, %eax
andl $0x80000000, %ecx
movl %eax, %edx
orl $0x807fffff, %edx
incl %edx
jz 7f // x in ±Inf or NaN
xorl %ecx, 4(%esp)
flds 4(%esp) // |x|
cmpl $0x38000000, %eax
jb 2f // |x| < 2^-14
fldln2 // log(2) : |x|
cmpl $0x470000... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_asinhf.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/fpu/s_asinhf.S | 41 | 100 |
bminor/glibc:sysdeps/i386/fpu/s_asinhf.S:3 | fchs
4: ret
7: flds 4(%esp)
ret
6: faddl MO(one)
fyl2x
jecxz 4f
fchs
4: ret
// |x| < 2^-14 => y = x (inexact iff |x| != 0.0)
.align ALIGNARG(4)
2:
#ifdef PIC
LOAD_PIC_REG (dx)
#endif
jecxz 4f
fchs // x
4: fld %st // x : x
faddl MO(huge) // huge+x : x
fstp %st(0) // x
cmpl $0x00800000, %eax
jae 8... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_asinhf.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/fpu/s_asinhf.S | 81 | 140 |
bminor/glibc:sysdeps/i386/fpu/s_asinhf.S:4 | fchs
4: ret
// |x| > 2 => y = sign(x) * log(2*|x| + 1/(|x|+sqrt(x*x+1)))
.align ALIGNARG(4)
5: fld %st // |x| : |x| : log(2)
fadd %st, %st(1) // |x| : 2*|x| : log(2)
fld %st // |x| : |x| : 2*|x| : log(2)
fmul %st(1) // |x|^2 : |x| : 2*|x| : log(2)
faddl MO(one) // 1+|x|^2 : |x| : 2*|x| : log(2)
fsqrt ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_asinhf.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/fpu/s_asinhf.S | 121 | 140 |
bminor/glibc:sysdeps/i386/fpu/s_asinhf.S:1 | /* ix87 specific implementation of arcsinh.
Copyright (C) 1996-2020 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Les... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_asinhf.S | LGPL-2.1 | d614a7539657941a9201c236b2f15afac18e1213 | github | libc | https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/i386/fpu/s_asinhf.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_asinhf.S:1 | /* ix87 specific implementation of arcsinh.
Copyright (C) 1996-2019 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Les... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_asinhf.S | LGPL-2.1 | 5a82c74822d3272df2f5929133680478c0cfb4bd | github | libc | https://github.com/bminor/glibc/blob/5a82c74822d3272df2f5929133680478c0cfb4bd/sysdeps/i386/fpu/s_asinhf.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_asinhf.S:1 | /* ix87 specific implementation of arcsinh.
Copyright (C) 1996-2019 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Les... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_asinhf.S | LGPL-2.1 | 04277e02d7f54d3582bebcf8386b317018cd5e1d | github | libc | https://github.com/bminor/glibc/blob/04277e02d7f54d3582bebcf8386b317018cd5e1d/sysdeps/i386/fpu/s_asinhf.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_asinhf.S:1 | /* ix87 specific implementation of arcsinh.
Copyright (C) 1996-2018 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Les... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_asinhf.S | LGPL-2.1 | 688903eb3ef01301d239ab753d309d45720610a7 | github | libc | https://github.com/bminor/glibc/blob/688903eb3ef01301d239ab753d309d45720610a7/sysdeps/i386/fpu/s_asinhf.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_asinhf.S:1 | /* ix87 specific implementation of arcsinh.
Copyright (C) 1996-2017 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Les... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_asinhf.S | LGPL-2.1 | e4602cba2fb919546bee0eacbd10ab8ade7b7b6f | github | libc | https://github.com/bminor/glibc/blob/e4602cba2fb919546bee0eacbd10ab8ade7b7b6f/sysdeps/i386/fpu/s_asinhf.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_asinhf.S:1 | /* ix87 specific implementation of arcsinh.
Copyright (C) 1996-2017 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Les... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_asinhf.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/fpu/s_asinhf.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_asinhf.S:3 | 4: ret
7: flds 4(%esp)
ret
6: faddl MO(one)
fyl2x
jecxz 4f
fchs
4: ret
// |x| < 2^-14 => y = x (inexact iff |x| != 0.0)
.align ALIGNARG(4)
2:
#ifdef PIC
LOAD_PIC_REG (dx)
#endif
jecxz 4f
fchs // x
4: fld %st // x : x
faddl MO(huge) // huge+x : x
fstp %st(0) // x
cmpl $0x00800000, %eax
jae 8f
su... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_asinhf.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/fpu/s_asinhf.S | 81 | 139 |
bminor/glibc:sysdeps/i386/fpu/s_asinhf.S:4 | 4: ret
// |x| > 2 => y = sign(x) * log(2*|x| + 1/(|x|+sqrt(x*x+1)))
.align ALIGNARG(4)
5: fld %st // |x| : |x| : log(2)
fadd %st, %st(1) // |x| : 2*|x| : log(2)
fld %st // |x| : |x| : 2*|x| : log(2)
fmul %st(1) // |x|^2 : |x| : 2*|x| : log(2)
faddl MO(one) // 1+|x|^2 : |x| : 2*|x| : log(2)
fsqrt // ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_asinhf.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/fpu/s_asinhf.S | 121 | 139 |
bminor/glibc:sysdeps/i386/fpu/s_asinhf.S:1 | /* ix87 specific implementation of arcsinh.
Copyright (C) 1996-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Les... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_asinhf.S | LGPL-2.1 | f7a9f785e547bd599dee496fd906a28bcb4ec7fe | github | libc | https://github.com/bminor/glibc/blob/f7a9f785e547bd599dee496fd906a28bcb4ec7fe/sysdeps/i386/fpu/s_asinhf.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_asinhf.S:1 | /* ix87 specific implementation of arcsinh.
Copyright (C) 1996-2015 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Les... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_asinhf.S | LGPL-2.1 | 890b7a4b33d482b5c768ab47d70758b80227e9bc | github | libc | https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/fpu/s_asinhf.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_asinhl.S:1 | /* ix87 specific implementation of arcsinh.
Copyright (C) 1996-2026 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 Softwa... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_asinhl.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/fpu/s_asinhl.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_asinhl.S:2 | ASM_SIZE_DIRECTIVE(limit)
#ifdef PIC
#define MO(op) op##@GOTOFF(%edx)
#else
#define MO(op) op
#endif
.text
ENTRY(__asinhl)
movl 12(%esp), %ecx
movl $0x7fff, %eax
andl %ecx, %eax
andl $0x8000, %ecx
movl %eax, %edx
orl $0xffff8000, %edx
incl %edx
jz 7f // x in ±Inf or NaN
xorl %ecx, 12(%esp)
fldt 4(%esp) ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_asinhl.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/fpu/s_asinhl.S | 41 | 100 |
bminor/glibc:sysdeps/i386/fpu/s_asinhl.S:3 | faddp // |x|+|x|^2/(1+sqrt(1+|x|^2)) : log(2)
fcoml MO(limit)
fnstsw
sahf
ja 6f
fyl2xp1
jecxz 4f
fchs
4: ret
7: fldt 4(%esp)
fadd %st
ret
6: faddl MO(one)
fyl2x
jecxz 4f
fchs
4: ret
// |x| < 2^-34 => y = x (inexact iff |x| != 0.0)
.align ALIGNARG(4)
2:
#ifdef PIC
LOAD_PIC_REG (dx)
#endif
jecxz 4f
... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_asinhl.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/fpu/s_asinhl.S | 81 | 140 |
bminor/glibc:sysdeps/i386/fpu/s_asinhl.S:4 | .align ALIGNARG(4)
3: fyl2x // log(|x|)
fldln2 // log(2) : log(|x|)
faddp // log(|x|)+log(2)
jecxz 4f
fchs
4: ret
// |x| > 2 => y = sign(x) * log(2*|x| + 1/(|x|+sqrt(x*x+1)))
.align ALIGNARG(4)
5: fld %st // |x| : |x| : log(2)
fadd %st, %st(1) // |x| : 2*|x| : log(2)
fld %st // |x| : |x| : 2*|x| ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_asinhl.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/fpu/s_asinhl.S | 121 | 145 |
bminor/glibc:sysdeps/i386/fpu/s_asinhl.S:1 | /* ix87 specific implementation of arcsinh.
Copyright (C) 1996-2025 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 Softwa... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_asinhl.S | LGPL-2.1 | 2642002380aafb71a1d3b569b6d7ebeab3284816 | github | libc | https://github.com/bminor/glibc/blob/2642002380aafb71a1d3b569b6d7ebeab3284816/sysdeps/i386/fpu/s_asinhl.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_asinhl.S:1 | /* ix87 specific implementation of arcsinh.
Copyright (C) 1996-2024 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 Softwa... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_asinhl.S | LGPL-2.1 | dff8da6b3e89b986bb7f6b1ec18cf65d5972e307 | github | libc | https://github.com/bminor/glibc/blob/dff8da6b3e89b986bb7f6b1ec18cf65d5972e307/sysdeps/i386/fpu/s_asinhl.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_asinhl.S:1 | /* ix87 specific implementation of arcsinh.
Copyright (C) 1996-2023 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 Softwa... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_asinhl.S | LGPL-2.1 | 6d7e8eda9b85b08f207a6dc6f187e94e4817270f | github | libc | https://github.com/bminor/glibc/blob/6d7e8eda9b85b08f207a6dc6f187e94e4817270f/sysdeps/i386/fpu/s_asinhl.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_asinhl.S:1 | /* ix87 specific implementation of arcsinh.
Copyright (C) 1996-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 Softwa... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_asinhl.S | LGPL-2.1 | 114e299ca66353fa7be1ee45bb4e1307d3de1fa2 | github | libc | https://github.com/bminor/glibc/blob/114e299ca66353fa7be1ee45bb4e1307d3de1fa2/sysdeps/i386/fpu/s_asinhl.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_asinhl.S:1 | /* ix87 specific implementation of arcsinh.
Copyright (C) 1996-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 Softwa... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_asinhl.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/fpu/s_asinhl.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_asinhl.S:2 | #ifdef PIC
#define MO(op) op##@GOTOFF(%edx)
#else
#define MO(op) op
#endif
.text
ENTRY(__asinhl)
movl 12(%esp), %ecx
movl $0x7fff, %eax
andl %ecx, %eax
andl $0x8000, %ecx
movl %eax, %edx
orl $0xffff8000, %edx
incl %edx
jz 7f // x in ±Inf or NaN
xorl %ecx, 12(%esp)
fldt 4(%esp) // |x|
cmpl $0x3fde, %eax... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_asinhl.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/fpu/s_asinhl.S | 41 | 100 |
bminor/glibc:sysdeps/i386/fpu/s_asinhl.S:3 | fcoml MO(limit)
fnstsw
sahf
ja 6f
fyl2xp1
jecxz 4f
fchs
4: ret
7: fldt 4(%esp)
fadd %st
ret
6: faddl MO(one)
fyl2x
jecxz 4f
fchs
4: ret
// |x| < 2^-34 => y = x (inexact iff |x| != 0.0)
.align ALIGNARG(4)
2:
#ifdef PIC
LOAD_PIC_REG (dx)
#endif
jecxz 4f
fchs // x
4: fld %st // x : x
fldt MO(huge)... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_asinhl.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/fpu/s_asinhl.S | 81 | 140 |
bminor/glibc:sysdeps/i386/fpu/s_asinhl.S:4 | 3: fyl2x // log(|x|)
fldln2 // log(2) : log(|x|)
faddp // log(|x|)+log(2)
jecxz 4f
fchs
4: ret
// |x| > 2 => y = sign(x) * log(2*|x| + 1/(|x|+sqrt(x*x+1)))
.align ALIGNARG(4)
5: fld %st // |x| : |x| : log(2)
fadd %st, %st(1) // |x| : 2*|x| : log(2)
fld %st // |x| : |x| : 2*|x| : log(2)
fmul %st(... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_asinhl.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/fpu/s_asinhl.S | 121 | 144 |
bminor/glibc:sysdeps/i386/fpu/s_asinhl.S:1 | /* ix87 specific implementation of arcsinh.
Copyright (C) 1996-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 Softwa... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_asinhl.S | LGPL-2.1 | 30891f35fa7da832b66d80d0807610df361851f3 | github | libc | https://github.com/bminor/glibc/blob/30891f35fa7da832b66d80d0807610df361851f3/sysdeps/i386/fpu/s_asinhl.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_asinhl.S:1 | /* ix87 specific implementation of arcsinh.
Copyright (C) 1996-2021 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Les... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_asinhl.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/fpu/s_asinhl.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_asinhl.S:1 | /* ix87 specific implementation of arcsinh.
Copyright (C) 1996-2020 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Les... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_asinhl.S | LGPL-2.1 | d614a7539657941a9201c236b2f15afac18e1213 | github | libc | https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/i386/fpu/s_asinhl.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_asinhl.S:1 | /* ix87 specific implementation of arcsinh.
Copyright (C) 1996-2019 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Les... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_asinhl.S | LGPL-2.1 | 5a82c74822d3272df2f5929133680478c0cfb4bd | github | libc | https://github.com/bminor/glibc/blob/5a82c74822d3272df2f5929133680478c0cfb4bd/sysdeps/i386/fpu/s_asinhl.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_asinhl.S:1 | /* ix87 specific implementation of arcsinh.
Copyright (C) 1996-2019 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Les... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_asinhl.S | LGPL-2.1 | 04277e02d7f54d3582bebcf8386b317018cd5e1d | github | libc | https://github.com/bminor/glibc/blob/04277e02d7f54d3582bebcf8386b317018cd5e1d/sysdeps/i386/fpu/s_asinhl.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_asinhl.S:1 | /* ix87 specific implementation of arcsinh.
Copyright (C) 1996-2018 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Les... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_asinhl.S | LGPL-2.1 | 688903eb3ef01301d239ab753d309d45720610a7 | github | libc | https://github.com/bminor/glibc/blob/688903eb3ef01301d239ab753d309d45720610a7/sysdeps/i386/fpu/s_asinhl.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_asinhl.S:1 | /* ix87 specific implementation of arcsinh.
Copyright (C) 1996-2017 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Les... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_asinhl.S | LGPL-2.1 | 2ce30701e6df07deda6fb205808769d237aa2460 | github | libc | https://github.com/bminor/glibc/blob/2ce30701e6df07deda6fb205808769d237aa2460/sysdeps/i386/fpu/s_asinhl.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_asinhl.S:1 | /* ix87 specific implementation of arcsinh.
Copyright (C) 1996-2017 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Les... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_asinhl.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/fpu/s_asinhl.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_asinhl.S:4 | 3: fyl2x // log(|x|)
fldln2 // log(2) : log(|x|)
faddp // log(|x|)+log(2)
jecxz 4f
fchs
4: ret
// |x| > 2 => y = sign(x) * log(2*|x| + 1/(|x|+sqrt(x*x+1)))
.align ALIGNARG(4)
5: fld %st // |x| : |x| : log(2)
fadd %st, %st(1) // |x| : 2*|x| : log(2)
fld %st // |x| : |x| : 2*|x| : log(2)
fmul %st(... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_asinhl.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/fpu/s_asinhl.S | 121 | 144 |
bminor/glibc:sysdeps/i386/fpu/s_asinhl.S:1 | /* ix87 specific implementation of arcsinh.
Copyright (C) 1996-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Les... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_asinhl.S | LGPL-2.1 | c23805a95d9bc095118299b5965f7f8388e57fc4 | github | libc | https://github.com/bminor/glibc/blob/c23805a95d9bc095118299b5965f7f8388e57fc4/sysdeps/i386/fpu/s_asinhl.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_asinhl.S:2 | #ifdef PIC
#define MO(op) op##@GOTOFF(%edx)
#else
#define MO(op) op
#endif
.text
ENTRY(__asinhl)
movl 12(%esp), %ecx
movl $0x7fff, %eax
andl %ecx, %eax
andl $0x8000, %ecx
movl %eax, %edx
orl $0xffff8000, %edx
incl %edx
jz 7f // x in ±Inf or NaN
xorl %ecx, 12(%esp)
fldt 4(%esp) // |x|
cmpl $0x3fde, %eax... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_asinhl.S | LGPL-2.1 | f7a9f785e547bd599dee496fd906a28bcb4ec7fe | github | libc | https://github.com/bminor/glibc/blob/f7a9f785e547bd599dee496fd906a28bcb4ec7fe/sysdeps/i386/fpu/s_asinhl.S | 41 | 100 |
bminor/glibc:sysdeps/i386/fpu/s_asinhl.S:3 | fcoml MO(limit)
fnstsw
sahf
ja 6f
fyl2xp1
jecxz 4f
fchs
4: ret
7: fldt 4(%esp)
ret
6: faddl MO(one)
fyl2x
jecxz 4f
fchs
4: ret
// |x| < 2^-34 => y = x (inexact iff |x| != 0.0)
.align ALIGNARG(4)
2:
#ifdef PIC
LOAD_PIC_REG (dx)
#endif
jecxz 4f
fchs // x
4: fld %st // x : x
fldt MO(huge) // huge ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_asinhl.S | LGPL-2.1 | f7a9f785e547bd599dee496fd906a28bcb4ec7fe | github | libc | https://github.com/bminor/glibc/blob/f7a9f785e547bd599dee496fd906a28bcb4ec7fe/sysdeps/i386/fpu/s_asinhl.S | 81 | 140 |
bminor/glibc:sysdeps/i386/fpu/s_asinhl.S:4 | fldln2 // log(2) : log(|x|)
faddp // log(|x|)+log(2)
jecxz 4f
fchs
4: ret
// |x| > 2 => y = sign(x) * log(2*|x| + 1/(|x|+sqrt(x*x+1)))
.align ALIGNARG(4)
5: fld %st // |x| : |x| : log(2)
fadd %st, %st(1) // |x| : 2*|x| : log(2)
fld %st // |x| : |x| : 2*|x| : log(2)
fmul %st(1) // |x|^2 : |x| : 2*|... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_asinhl.S | LGPL-2.1 | f7a9f785e547bd599dee496fd906a28bcb4ec7fe | github | libc | https://github.com/bminor/glibc/blob/f7a9f785e547bd599dee496fd906a28bcb4ec7fe/sysdeps/i386/fpu/s_asinhl.S | 121 | 143 |
bminor/glibc:sysdeps/i386/fpu/s_asinhl.S:1 | /* ix87 specific implementation of arcsinh.
Copyright (C) 1996-2015 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Les... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_asinhl.S | LGPL-2.1 | 890b7a4b33d482b5c768ab47d70758b80227e9bc | github | libc | https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/fpu/s_asinhl.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_atan.S:1 | /*
* Public domain.
*/
#include <machine/asm.h>
#include <i386-math-asm.h>
#include <libm-alias-double.h>
RCSID("$NetBSD: s_atan.S,v 1.4 1995/05/08 23:50:41 jtc Exp $")
DEFINE_DBL_MIN
#ifdef PIC
# define MO(op) op##@GOTOFF(%ecx)
#else
# define MO(op) op
#endif
.text
ENTRY(__atan)
#ifdef PIC
LOAD_PIC_REG (cx)
... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/fpu/s_atan.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/fpu/s_atan.S | 1 | 30 |
bminor/glibc:sysdeps/i386/fpu/s_atan.S:1 | /*
* Written by J.T. Conklin <jtc@netbsd.org>.
* Public domain.
*/
#include <machine/asm.h>
#include <i386-math-asm.h>
#include <libm-alias-double.h>
RCSID("$NetBSD: s_atan.S,v 1.4 1995/05/08 23:50:41 jtc Exp $")
DEFINE_DBL_MIN
#ifdef PIC
# define MO(op) op##@GOTOFF(%ecx)
#else
# define MO(op) op
#endif
.text
... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/fpu/s_atan.S | LGPL-2.1 | bc4e8f9b49950c982f22d4f4c602a972a63abf65 | github | libc | https://github.com/bminor/glibc/blob/bc4e8f9b49950c982f22d4f4c602a972a63abf65/sysdeps/i386/fpu/s_atan.S | 1 | 31 |
bminor/glibc:sysdeps/i386/fpu/s_atan.S:1 | /*
* Written by J.T. Conklin <jtc@netbsd.org>.
* Public domain.
*/
#include <machine/asm.h>
#include <i386-math-asm.h>
RCSID("$NetBSD: s_atan.S,v 1.4 1995/05/08 23:50:41 jtc Exp $")
DEFINE_DBL_MIN
#ifdef PIC
# define MO(op) op##@GOTOFF(%ecx)
#else
# define MO(op) op
#endif
.text
ENTRY(__atan)
#ifdef PIC
LOAD... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/fpu/s_atan.S | LGPL-2.1 | 37825319ee64d51bf8b1774f4964e9743eaf5ef6 | github | libc | https://github.com/bminor/glibc/blob/37825319ee64d51bf8b1774f4964e9743eaf5ef6/sysdeps/i386/fpu/s_atan.S | 1 | 30 |
bminor/glibc:sysdeps/i386/fpu/s_atan.S:1 | /*
* Written by J.T. Conklin <jtc@netbsd.org>.
* Public domain.
*/
#include <machine/asm.h>
RCSID("$NetBSD: s_atan.S,v 1.4 1995/05/08 23:50:41 jtc Exp $")
.section .rodata.cst8,"aM",@progbits,8
.p2align 3
.type dbl_min,@object
dbl_min: .byte 0, 0, 0, 0, 0, 0, 0x10, 0
ASM_SIZE_DIRECTIVE(dbl_min)
#ifdef PIC
#... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/fpu/s_atan.S | LGPL-2.1 | 890b7a4b33d482b5c768ab47d70758b80227e9bc | github | libc | https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/fpu/s_atan.S | 1 | 47 |
bminor/glibc:sysdeps/i386/fpu/s_atanf.S:1 | /*
* Public domain.
*/
#include <machine/asm.h>
#include <i386-math-asm.h>
#include <libm-alias-float.h>
RCSID("$NetBSD: s_atanf.S,v 1.3 1995/05/08 23:51:33 jtc Exp $")
DEFINE_FLT_MIN
#ifdef PIC
# define MO(op) op##@GOTOFF(%ecx)
#else
# define MO(op) op
#endif
.text
ENTRY(__atanf)
#ifdef PIC
LOAD_PIC_REG (cx)... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/fpu/s_atanf.S | LGPL-2.1 | 30891f35fa7da832b66d80d0807610df361851f3 | github | libc | https://github.com/bminor/glibc/blob/30891f35fa7da832b66d80d0807610df361851f3/sysdeps/i386/fpu/s_atanf.S | 1 | 30 |
bminor/glibc:sysdeps/i386/fpu/s_atanf.S:1 | /*
* Written by J.T. Conklin <jtc@netbsd.org>.
* Public domain.
*/
#include <machine/asm.h>
#include <i386-math-asm.h>
#include <libm-alias-float.h>
RCSID("$NetBSD: s_atanf.S,v 1.3 1995/05/08 23:51:33 jtc Exp $")
DEFINE_FLT_MIN
#ifdef PIC
# define MO(op) op##@GOTOFF(%ecx)
#else
# define MO(op) op
#endif
.text
... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/fpu/s_atanf.S | LGPL-2.1 | e4602cba2fb919546bee0eacbd10ab8ade7b7b6f | github | libc | https://github.com/bminor/glibc/blob/e4602cba2fb919546bee0eacbd10ab8ade7b7b6f/sysdeps/i386/fpu/s_atanf.S | 1 | 31 |
bminor/glibc:sysdeps/i386/fpu/s_atanf.S:1 | /*
* Written by J.T. Conklin <jtc@netbsd.org>.
* Public domain.
*/
#include <machine/asm.h>
#include <i386-math-asm.h>
RCSID("$NetBSD: s_atanf.S,v 1.3 1995/05/08 23:51:33 jtc Exp $")
DEFINE_FLT_MIN
#ifdef PIC
# define MO(op) op##@GOTOFF(%ecx)
#else
# define MO(op) op
#endif
.text
ENTRY(__atanf)
#ifdef PIC
LO... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/fpu/s_atanf.S | LGPL-2.1 | 37825319ee64d51bf8b1774f4964e9743eaf5ef6 | github | libc | https://github.com/bminor/glibc/blob/37825319ee64d51bf8b1774f4964e9743eaf5ef6/sysdeps/i386/fpu/s_atanf.S | 1 | 30 |
bminor/glibc:sysdeps/i386/fpu/s_atanf.S:1 | /*
* Written by J.T. Conklin <jtc@netbsd.org>.
* Public domain.
*/
#include <machine/asm.h>
RCSID("$NetBSD: s_atanf.S,v 1.3 1995/05/08 23:51:33 jtc Exp $")
.section .rodata.cst4,"aM",@progbits,4
.p2align 2
.type flt_min,@object
flt_min: .byte 0, 0, 0x80, 0
ASM_SIZE_DIRECTIVE(flt_min)
#ifdef PIC
# define MO(... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/fpu/s_atanf.S | LGPL-2.1 | 890b7a4b33d482b5c768ab47d70758b80227e9bc | github | libc | https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/fpu/s_atanf.S | 1 | 47 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.