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_powf.S:7
testb $2, %dh jz 16f // jump if x == +inf // fistpl raises invalid exception for |y| >= 1L<<31, so test // that (in which case y is certainly even) before testing // whether y is odd. fld %st // y : y fabs // |y| : y fcompl MO(p31) // y fnstsw sahf jnc 16f // We must find out whether y is an odd integ...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_powf.S
LGPL-2.1
890b7a4b33d482b5c768ab47d70758b80227e9bc
github
libc
https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/fpu/e_powf.S
241
300
bminor/glibc:sysdeps/i386/fpu/e_powf.S:8
fldl MOX(inf_zero, %eax, 1) ret cfi_adjust_cfa_offset (4) .align ALIGNARG(4) 17: shll $30, %edx // sign bit for y in right position addl $4, %esp cfi_adjust_cfa_offset (-4) 18: shrl $31, %edx fldl MOX(inf_zero, %edx, 8) ret cfi_adjust_cfa_offset (4) .align ALIGNARG(4) // x is ±0 20: fstp %st(0) // y testb...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_powf.S
LGPL-2.1
890b7a4b33d482b5c768ab47d70758b80227e9bc
github
libc
https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/fpu/e_powf.S
281
340
bminor/glibc:sysdeps/i386/fpu/e_powf.S:9
// OK, the value is an integer. popl %edx cfi_adjust_cfa_offset (-4) testb $1, %dl jz 27f // jump if not odd // It's an odd integer. // Raise divide-by-zero exception and get minus infinity value. fldl MO(one) fdivl MO(zero) fchs ret cfi_adjust_cfa_offset (4) 25: fstp %st(0) 26: addl $4, %esp cfi_adjust_c...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_powf.S
LGPL-2.1
890b7a4b33d482b5c768ab47d70758b80227e9bc
github
libc
https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/fpu/e_powf.S
321
380
bminor/glibc:sysdeps/i386/fpu/e_powf.S:10
fnstsw sahf jne 23f // OK, the value is an integer. popl %edx cfi_adjust_cfa_offset (-4) testb $1, %dl jz 24f // jump if not odd // It's an odd integer. fldl MO(mzero) ret cfi_adjust_cfa_offset (4) 22: fstp %st(0) 23: addl $4, %esp // Don't use pop. cfi_adjust_cfa_offset (-4) 24: fldl MO(zero) ret END(...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_powf.S
LGPL-2.1
890b7a4b33d482b5c768ab47d70758b80227e9bc
github
libc
https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/fpu/e_powf.S
361
382
bminor/glibc:sysdeps/i386/fpu/e_powl.S:1
/* ix87 specific implementation of pow function. 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 S...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_powl.S
LGPL-2.1
04e750e75b73957cf1c791535a3f4319534a52fc
github
libc
https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/fpu/e_powl.S
1
60
bminor/glibc:sysdeps/i386/fpu/e_powl.S:2
.type pm79,@object pm79: .byte 0, 0, 0, 0, 0, 0, 0, 0x3b ASM_SIZE_DIRECTIVE(pm79) .section .rodata.cst16,"aM",@progbits,16 .p2align 3 .type infinity,@object inf_zero: infinity: .byte 0, 0, 0, 0, 0, 0, 0xf0, 0x7f ASM_SIZE_DIRECTIVE(infinity) .type zero,@object zero: .double 0.0 ASM_SIZE_DIRECTIVE(zero) .type ...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_powl.S
LGPL-2.1
04e750e75b73957cf1c791535a3f4319534a52fc
github
libc
https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/fpu/e_powl.S
41
100
bminor/glibc:sysdeps/i386/fpu/e_powl.S:3
fnstsw movb %ah, %dl andb $0x45, %ah cmpb $0x40, %ah // is y == 0 ? je 11f cmpb $0x05, %ah // is y == ±inf ? je 12f cmpb $0x01, %ah // is y == NaN ? je 30f fldt 4(%esp) // x : y subl $8,%esp cfi_adjust_cfa_offset (8) fxam fnstsw movb %ah, %dh andb $0x45, %ah cmpb $0x40, %ah je 20f // x is ±0 c...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_powl.S
LGPL-2.1
04e750e75b73957cf1c791535a3f4319534a52fc
github
libc
https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/fpu/e_powl.S
81
140
bminor/glibc:sysdeps/i386/fpu/e_powl.S:4
/* First see whether `y' is a natural number. In this case we can use a more precise algorithm. */ fld %st // y : y : x fistpll (%esp) // y : x fildll (%esp) // int(y) : y : x fucomp %st(1) // y : x fnstsw sahf je 9f // If y has absolute value at most 0x1p-79, then any finite // nonzero x will resul...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_powl.S
LGPL-2.1
04e750e75b73957cf1c791535a3f4319534a52fc
github
libc
https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/fpu/e_powl.S
121
180
bminor/glibc:sysdeps/i386/fpu/e_powl.S:5
orl $0, %edx fstp %st(0) // x jns 4f // y >= 0, jump fdivrl MO(one) // 1/x (now referred to as x) negl %eax adcl $0, %edx negl %edx 4: fldl MO(one) // 1 : x /* y range is further reduced to [0, 3]. Simply walk through the options. First up, 0 and 1. */ test %eax, %eax jz 6f fxch // x : 1 subl ...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_powl.S
LGPL-2.1
04e750e75b73957cf1c791535a3f4319534a52fc
github
libc
https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/fpu/e_powl.S
161
220
bminor/glibc:sysdeps/i386/fpu/e_powl.S:6
/* y is ±NAN */ 30: fldt 4(%esp) // x : y fldl MO(one) // 1.0 : x : y fucomp %st(1) // x : y fnstsw sahf je 33f 31: /* At least one argument NaN, and result should be NaN. */ faddp ret 33: jp 31b /* pow (1, NaN); check if the NaN signaling. */ testb $0x40, 23(%esp) jz 31b fstp %st(1) ret cfi_adjust_c...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_powl.S
LGPL-2.1
04e750e75b73957cf1c791535a3f4319534a52fc
github
libc
https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/fpu/e_powl.S
201
260
bminor/glibc:sysdeps/i386/fpu/e_powl.S:7
fchs // -(1L<<78) : x .align ALIGNARG(4) 3: /* y is a real number. */ subl $28, %esp cfi_adjust_cfa_offset (28) fstpt 12(%esp) // x fstpt (%esp) // <empty> call HIDDEN_JUMPTARGET (__powl_helper) // <result> addl $36, %esp cfi_adjust_cfa_offset (-36) ret // pow(x,±0) = 1, unless x is sNaN .align ALIGNARG...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_powl.S
LGPL-2.1
04e750e75b73957cf1c791535a3f4319534a52fc
github
libc
https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/fpu/e_powl.S
241
300
bminor/glibc:sysdeps/i386/fpu/e_powl.S:8
je 13f // jump if x is NaN cmpb $0x40, %ah je 14f // jump if |x| == 1 shlb $1, %ah xorb %ah, %dl andl $2, %edx fldl MOX(inf_zero, %edx, 4) ret .align ALIGNARG(4) 14: fldl MO(one) ret .align ALIGNARG(4) 13: fldt 4(%esp) // load x == NaN fadd %st(0) ret cfi_adjust_cfa_offset (8) .align ALIGNARG(4) ...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_powl.S
LGPL-2.1
04e750e75b73957cf1c791535a3f4319534a52fc
github
libc
https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/fpu/e_powl.S
281
340
bminor/glibc:sysdeps/i386/fpu/e_powl.S:9
// We must find out whether y is an odd integer. fld %st // y : y fistpll (%esp) // y fildll (%esp) // int(y) : y fucompp // <empty> fnstsw sahf jne 17f // OK, the value is an integer, but is it odd? popl %eax cfi_adjust_cfa_offset (-4) popl %edx cfi_adjust_cfa_offset (-4) andb $1, %al jz 18f // ju...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_powl.S
LGPL-2.1
04e750e75b73957cf1c791535a3f4319534a52fc
github
libc
https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/fpu/e_powl.S
321
380
bminor/glibc:sysdeps/i386/fpu/e_powl.S:10
cfi_adjust_cfa_offset (8) .align ALIGNARG(4) // x is ±0 20: fstp %st(0) // y testb $2, %dl jz 21f // y > 0 // x is ±0 and y is < 0. We must find out whether y is an odd integer. testb $2, %dh jz 25f // fistpll raises invalid exception for |y| >= 1L<<63, but y // may be odd unless we know |y| >= 1L<<64. f...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_powl.S
LGPL-2.1
04e750e75b73957cf1c791535a3f4319534a52fc
github
libc
https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/fpu/e_powl.S
361
420
bminor/glibc:sysdeps/i386/fpu/e_powl.S:11
// It's an odd integer. // Raise divide-by-zero exception and get minus infinity value. fldl MO(one) fdivl MO(zero) fchs ret cfi_adjust_cfa_offset (8) 25: fstp %st(0) 26: addl $8, %esp cfi_adjust_cfa_offset (-8) 27: // Raise divide-by-zero exception and get infinity value. fldl MO(one) fdivl MO(zero) ret c...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_powl.S
LGPL-2.1
04e750e75b73957cf1c791535a3f4319534a52fc
github
libc
https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/fpu/e_powl.S
401
460
bminor/glibc:sysdeps/i386/fpu/e_powl.S:12
jne 23f // OK, the value is an integer, but is it odd? popl %eax cfi_adjust_cfa_offset (-4) popl %edx cfi_adjust_cfa_offset (-4) andb $1, %al jz 24f // jump if not odd // It's an odd integer. fldl MO(mzero) ret cfi_adjust_cfa_offset (8) 22: fstp %st(0) 23: addl $8, %esp // Don't use 2 x pop cfi_adjust_cf...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_powl.S
LGPL-2.1
04e750e75b73957cf1c791535a3f4319534a52fc
github
libc
https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/fpu/e_powl.S
441
462
bminor/glibc:sysdeps/i386/fpu/e_powl.S:1
/* ix87 specific implementation of pow function. 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 S...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_powl.S
LGPL-2.1
975c8c4e22f73fb60996f6bcc2cf1a6f6af70928
github
libc
https://github.com/bminor/glibc/blob/975c8c4e22f73fb60996f6bcc2cf1a6f6af70928/sysdeps/i386/fpu/e_powl.S
1
60
bminor/glibc:sysdeps/i386/fpu/e_powl.S:4
/* First see whether `y' is a natural number. In this case we can use a more precise algorithm. */ fld %st // y : y : x fistpll (%esp) // y : x fildll (%esp) // int(y) : y : x fucomp %st(1) // y : x fnstsw sahf je 9f // If y has absolute value at most 0x1p-79, then any finite // nonzero x will resul...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_powl.S
LGPL-2.1
2642002380aafb71a1d3b569b6d7ebeab3284816
github
libc
https://github.com/bminor/glibc/blob/2642002380aafb71a1d3b569b6d7ebeab3284816/sysdeps/i386/fpu/e_powl.S
121
180
bminor/glibc:sysdeps/i386/fpu/e_powl.S:5
orl $0, %edx fstp %st(0) // x jns 4f // y >= 0, jump fdivrl MO(one) // 1/x (now referred to as x) negl %eax adcl $0, %edx negl %edx 4: fldl MO(one) // 1 : x fxch /* If y is even, take the absolute value of x. Otherwise, ensure all intermediate values that might overflow have the sign of x. */ t...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_powl.S
LGPL-2.1
2642002380aafb71a1d3b569b6d7ebeab3284816
github
libc
https://github.com/bminor/glibc/blob/2642002380aafb71a1d3b569b6d7ebeab3284816/sysdeps/i386/fpu/e_powl.S
161
220
bminor/glibc:sysdeps/i386/fpu/e_powl.S:6
fucomp %st(1) // x : y fnstsw sahf je 33f 31: /* At least one argument NaN, and result should be NaN. */ faddp ret 33: jp 31b /* pow (1, NaN); check if the NaN signaling. */ testb $0x40, 23(%esp) jz 31b fstp %st(1) ret cfi_adjust_cfa_offset (8) 32: addl $8, %esp cfi_adjust_cfa_offset (-8) faddp ret ...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_powl.S
LGPL-2.1
2642002380aafb71a1d3b569b6d7ebeab3284816
github
libc
https://github.com/bminor/glibc/blob/2642002380aafb71a1d3b569b6d7ebeab3284816/sysdeps/i386/fpu/e_powl.S
201
260
bminor/glibc:sysdeps/i386/fpu/e_powl.S:7
subl $28, %esp cfi_adjust_cfa_offset (28) fstpt 12(%esp) // x fstpt (%esp) // <empty> call HIDDEN_JUMPTARGET (__powl_helper) // <result> addl $36, %esp cfi_adjust_cfa_offset (-36) ret // pow(x,±0) = 1, unless x is sNaN .align ALIGNARG(4) 11: fstp %st(0) // pop y fldt 4(%esp) // x fxam fnstsw andb $0x45...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_powl.S
LGPL-2.1
2642002380aafb71a1d3b569b6d7ebeab3284816
github
libc
https://github.com/bminor/glibc/blob/2642002380aafb71a1d3b569b6d7ebeab3284816/sysdeps/i386/fpu/e_powl.S
241
300
bminor/glibc:sysdeps/i386/fpu/e_powl.S:8
je 14f // jump if |x| == 1 shlb $1, %ah xorb %ah, %dl andl $2, %edx fldl MOX(inf_zero, %edx, 4) ret .align ALIGNARG(4) 14: fldl MO(one) ret .align ALIGNARG(4) 13: fldt 4(%esp) // load x == NaN fadd %st(0) ret cfi_adjust_cfa_offset (8) .align ALIGNARG(4) // x is ±inf 15: fstp %st(0) // y testb $2, %...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_powl.S
LGPL-2.1
2642002380aafb71a1d3b569b6d7ebeab3284816
github
libc
https://github.com/bminor/glibc/blob/2642002380aafb71a1d3b569b6d7ebeab3284816/sysdeps/i386/fpu/e_powl.S
281
340
bminor/glibc:sysdeps/i386/fpu/e_powl.S:9
fildll (%esp) // int(y) : y fucompp // <empty> fnstsw sahf jne 17f // OK, the value is an integer, but is it odd? popl %eax cfi_adjust_cfa_offset (-4) popl %edx cfi_adjust_cfa_offset (-4) andb $1, %al jz 18f // jump if not odd // It's an odd integer. shrl $31, %edx fldl MOX(minf_mzero, %edx, 8) ret ...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_powl.S
LGPL-2.1
2642002380aafb71a1d3b569b6d7ebeab3284816
github
libc
https://github.com/bminor/glibc/blob/2642002380aafb71a1d3b569b6d7ebeab3284816/sysdeps/i386/fpu/e_powl.S
321
380
bminor/glibc:sysdeps/i386/fpu/e_powl.S:10
// x is ±0 20: fstp %st(0) // y testb $2, %dl jz 21f // y > 0 // x is ±0 and y is < 0. We must find out whether y is an odd integer. testb $2, %dh jz 25f // fistpll raises invalid exception for |y| >= 1L<<63, but y // may be odd unless we know |y| >= 1L<<64. fld %st // y : y fabs // |y| : y fcompl MO(...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_powl.S
LGPL-2.1
2642002380aafb71a1d3b569b6d7ebeab3284816
github
libc
https://github.com/bminor/glibc/blob/2642002380aafb71a1d3b569b6d7ebeab3284816/sysdeps/i386/fpu/e_powl.S
361
420
bminor/glibc:sysdeps/i386/fpu/e_powl.S:11
fdivl MO(zero) fchs ret cfi_adjust_cfa_offset (8) 25: fstp %st(0) 26: addl $8, %esp cfi_adjust_cfa_offset (-8) 27: // Raise divide-by-zero exception and get infinity value. fldl MO(one) fdivl MO(zero) ret cfi_adjust_cfa_offset (8) .align ALIGNARG(4) // x is ±0 and y is > 0. We must find out whether y is an...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_powl.S
LGPL-2.1
2642002380aafb71a1d3b569b6d7ebeab3284816
github
libc
https://github.com/bminor/glibc/blob/2642002380aafb71a1d3b569b6d7ebeab3284816/sysdeps/i386/fpu/e_powl.S
401
459
bminor/glibc:sysdeps/i386/fpu/e_powl.S:12
popl %eax cfi_adjust_cfa_offset (-4) popl %edx cfi_adjust_cfa_offset (-4) andb $1, %al jz 24f // jump if not odd // It's an odd integer. fldl MO(mzero) ret cfi_adjust_cfa_offset (8) 22: fstp %st(0) 23: addl $8, %esp // Don't use 2 x pop cfi_adjust_cfa_offset (-8) 24: fldl MO(zero) ret END(__ieee754_powl) ...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_powl.S
LGPL-2.1
2642002380aafb71a1d3b569b6d7ebeab3284816
github
libc
https://github.com/bminor/glibc/blob/2642002380aafb71a1d3b569b6d7ebeab3284816/sysdeps/i386/fpu/e_powl.S
441
459
bminor/glibc:sysdeps/i386/fpu/e_powl.S:1
/* ix87 specific implementation of pow function. 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 S...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_powl.S
LGPL-2.1
dff8da6b3e89b986bb7f6b1ec18cf65d5972e307
github
libc
https://github.com/bminor/glibc/blob/dff8da6b3e89b986bb7f6b1ec18cf65d5972e307/sysdeps/i386/fpu/e_powl.S
1
60
bminor/glibc:sysdeps/i386/fpu/e_powl.S:1
/* ix87 specific implementation of pow function. 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 S...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_powl.S
LGPL-2.1
6d7e8eda9b85b08f207a6dc6f187e94e4817270f
github
libc
https://github.com/bminor/glibc/blob/6d7e8eda9b85b08f207a6dc6f187e94e4817270f/sysdeps/i386/fpu/e_powl.S
1
60
bminor/glibc:sysdeps/i386/fpu/e_powl.S:1
/* ix87 specific implementation of pow function. 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 S...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_powl.S
LGPL-2.1
581c785bf31bc74430320c7856bbfa3875d025fe
github
libc
https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/fpu/e_powl.S
1
60
bminor/glibc:sysdeps/i386/fpu/e_powl.S:1
/* ix87 specific implementation of pow function. 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 S...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_powl.S
LGPL-2.1
5afe4c0d6903027bf7835da4711a9f75b750a64d
github
libc
https://github.com/bminor/glibc/blob/5afe4c0d6903027bf7835da4711a9f75b750a64d/sysdeps/i386/fpu/e_powl.S
1
60
bminor/glibc:sysdeps/i386/fpu/e_powl.S:1
/* ix87 specific implementation of pow function. 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 GN...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_powl.S
LGPL-2.1
2b778ceb4010c28d70de9b8eab20e8d88eed586b
github
libc
https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/fpu/e_powl.S
1
60
bminor/glibc:sysdeps/i386/fpu/e_powl.S:2
ASM_SIZE_DIRECTIVE(p78) .type pm79,@object pm79: .byte 0, 0, 0, 0, 0, 0, 0, 0x3b ASM_SIZE_DIRECTIVE(pm79) .section .rodata.cst16,"aM",@progbits,16 .p2align 3 .type infinity,@object inf_zero: infinity: .byte 0, 0, 0, 0, 0, 0, 0xf0, 0x7f ASM_SIZE_DIRECTIVE(infinity) .type zero,@object zero: .double 0.0 ASM_SIZ...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_powl.S
LGPL-2.1
2b778ceb4010c28d70de9b8eab20e8d88eed586b
github
libc
https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/fpu/e_powl.S
41
100
bminor/glibc:sysdeps/i386/fpu/e_powl.S:3
#endif fnstsw movb %ah, %dl andb $0x45, %ah cmpb $0x40, %ah // is y == 0 ? je 11f cmpb $0x05, %ah // is y == ±inf ? je 12f cmpb $0x01, %ah // is y == NaN ? je 30f fldt 4(%esp) // x : y subl $8,%esp cfi_adjust_cfa_offset (8) fxam fnstsw movb %ah, %dh andb $0x45, %ah cmpb $0x40, %ah je 20f // x ...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_powl.S
LGPL-2.1
2b778ceb4010c28d70de9b8eab20e8d88eed586b
github
libc
https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/fpu/e_powl.S
81
140
bminor/glibc:sysdeps/i386/fpu/e_powl.S:4
jnc 2f /* First see whether `y' is a natural number. In this case we can use a more precise algorithm. */ fld %st // y : y : x fistpll (%esp) // y : x fildll (%esp) // int(y) : y : x fucomp %st(1) // y : x fnstsw sahf je 9f // If y has absolute value at most 0x1p-79, then any finite // nonzero x w...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_powl.S
LGPL-2.1
2b778ceb4010c28d70de9b8eab20e8d88eed586b
github
libc
https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/fpu/e_powl.S
121
180
bminor/glibc:sysdeps/i386/fpu/e_powl.S:5
cfi_adjust_cfa_offset (-4) orl $0, %edx fstp %st(0) // x jns 4f // y >= 0, jump fdivrl MO(one) // 1/x (now referred to as x) negl %eax adcl $0, %edx negl %edx 4: fldl MO(one) // 1 : x fxch /* If y is even, take the absolute value of x. Otherwise, ensure all intermediate values that might overflow ha...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_powl.S
LGPL-2.1
2b778ceb4010c28d70de9b8eab20e8d88eed586b
github
libc
https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/fpu/e_powl.S
161
220
bminor/glibc:sysdeps/i386/fpu/e_powl.S:6
fldl MO(one) // 1.0 : x : y fucomp %st(1) // x : y fnstsw sahf je 33f 31: /* At least one argument NaN, and result should be NaN. */ faddp ret 33: jp 31b /* pow (1, NaN); check if the NaN signaling. */ testb $0x40, 23(%esp) jz 31b fstp %st(1) ret cfi_adjust_cfa_offset (8) 32: addl $8, %esp cfi_adjust_...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_powl.S
LGPL-2.1
2b778ceb4010c28d70de9b8eab20e8d88eed586b
github
libc
https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/fpu/e_powl.S
201
260
bminor/glibc:sysdeps/i386/fpu/e_powl.S:7
3: /* y is a real number. */ subl $28, %esp cfi_adjust_cfa_offset (28) fstpt 12(%esp) // x fstpt (%esp) // <empty> call HIDDEN_JUMPTARGET (__powl_helper) // <result> addl $36, %esp cfi_adjust_cfa_offset (-36) ret // pow(x,±0) = 1, unless x is sNaN .align ALIGNARG(4) 11: fstp %st(0) // pop y fldt 4(%esp) ...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_powl.S
LGPL-2.1
2b778ceb4010c28d70de9b8eab20e8d88eed586b
github
libc
https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/fpu/e_powl.S
241
300
bminor/glibc:sysdeps/i386/fpu/e_powl.S:8
cmpb $0x40, %ah je 14f // jump if |x| == 1 shlb $1, %ah xorb %ah, %dl andl $2, %edx fldl MOX(inf_zero, %edx, 4) ret .align ALIGNARG(4) 14: fldl MO(one) ret .align ALIGNARG(4) 13: fldt 4(%esp) // load x == NaN fadd %st(0) ret cfi_adjust_cfa_offset (8) .align ALIGNARG(4) // x is ±inf 15: fstp %st(0) ...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_powl.S
LGPL-2.1
2b778ceb4010c28d70de9b8eab20e8d88eed586b
github
libc
https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/fpu/e_powl.S
281
340
bminor/glibc:sysdeps/i386/fpu/e_powl.S:9
fistpll (%esp) // y fildll (%esp) // int(y) : y fucompp // <empty> fnstsw sahf jne 17f // OK, the value is an integer, but is it odd? popl %eax cfi_adjust_cfa_offset (-4) popl %edx cfi_adjust_cfa_offset (-4) andb $1, %al jz 18f // jump if not odd // It's an odd integer. shrl $31, %edx fldl MOX(minf...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_powl.S
LGPL-2.1
2b778ceb4010c28d70de9b8eab20e8d88eed586b
github
libc
https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/fpu/e_powl.S
321
380
bminor/glibc:sysdeps/i386/fpu/e_powl.S:10
.align ALIGNARG(4) // x is ±0 20: fstp %st(0) // y testb $2, %dl jz 21f // y > 0 // x is ±0 and y is < 0. We must find out whether y is an odd integer. testb $2, %dh jz 25f // fistpll raises invalid exception for |y| >= 1L<<63, but y // may be odd unless we know |y| >= 1L<<64. fld %st // y : y fabs //...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_powl.S
LGPL-2.1
2b778ceb4010c28d70de9b8eab20e8d88eed586b
github
libc
https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/fpu/e_powl.S
361
420
bminor/glibc:sysdeps/i386/fpu/e_powl.S:11
fldl MO(one) fdivl MO(zero) fchs ret cfi_adjust_cfa_offset (8) 25: fstp %st(0) 26: addl $8, %esp cfi_adjust_cfa_offset (-8) 27: // Raise divide-by-zero exception and get infinity value. fldl MO(one) fdivl MO(zero) ret cfi_adjust_cfa_offset (8) .align ALIGNARG(4) // x is ±0 and y is > 0. We must find out w...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_powl.S
LGPL-2.1
2b778ceb4010c28d70de9b8eab20e8d88eed586b
github
libc
https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/fpu/e_powl.S
401
460
bminor/glibc:sysdeps/i386/fpu/e_powl.S:12
// OK, the value is an integer, but is it odd? popl %eax cfi_adjust_cfa_offset (-4) popl %edx cfi_adjust_cfa_offset (-4) andb $1, %al jz 24f // jump if not odd // It's an odd integer. fldl MO(mzero) ret cfi_adjust_cfa_offset (8) 22: fstp %st(0) 23: addl $8, %esp // Don't use 2 x pop cfi_adjust_cfa_offset (...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_powl.S
LGPL-2.1
2b778ceb4010c28d70de9b8eab20e8d88eed586b
github
libc
https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/fpu/e_powl.S
441
460
bminor/glibc:sysdeps/i386/fpu/e_powl.S:1
/* ix87 specific implementation of pow function. 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 GN...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_powl.S
LGPL-2.1
220622dde5704c95a100c2792a280f18f3deba73
github
libc
https://github.com/bminor/glibc/blob/220622dde5704c95a100c2792a280f18f3deba73/sysdeps/i386/fpu/e_powl.S
1
60
bminor/glibc:sysdeps/i386/fpu/e_powl.S:1
/* ix87 specific implementation of pow function. 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 GN...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_powl.S
LGPL-2.1
d614a7539657941a9201c236b2f15afac18e1213
github
libc
https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/i386/fpu/e_powl.S
1
60
bminor/glibc:sysdeps/i386/fpu/e_powl.S:11
fdivl MO(zero) fchs ret cfi_adjust_cfa_offset (8) 25: fstp %st(0) 26: addl $8, %esp cfi_adjust_cfa_offset (-8) 27: // Raise divide-by-zero exception and get infinity value. fldl MO(one) fdivl MO(zero) ret cfi_adjust_cfa_offset (8) .align ALIGNARG(4) // x is ±0 and y is > 0. We must find out whether y is an...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_powl.S
LGPL-2.1
d614a7539657941a9201c236b2f15afac18e1213
github
libc
https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/i386/fpu/e_powl.S
401
459
bminor/glibc:sysdeps/i386/fpu/e_powl.S:12
popl %eax cfi_adjust_cfa_offset (-4) popl %edx cfi_adjust_cfa_offset (-4) andb $1, %al jz 24f // jump if not odd // It's an odd integer. fldl MO(mzero) ret cfi_adjust_cfa_offset (8) 22: fstp %st(0) 23: addl $8, %esp // Don't use 2 x pop cfi_adjust_cfa_offset (-8) 24: fldl MO(zero) ret END(__ieee754_powl) ...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_powl.S
LGPL-2.1
d614a7539657941a9201c236b2f15afac18e1213
github
libc
https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/i386/fpu/e_powl.S
441
459
bminor/glibc:sysdeps/i386/fpu/e_powl.S:1
/* ix87 specific implementation of pow function. 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 GN...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_powl.S
LGPL-2.1
5a82c74822d3272df2f5929133680478c0cfb4bd
github
libc
https://github.com/bminor/glibc/blob/5a82c74822d3272df2f5929133680478c0cfb4bd/sysdeps/i386/fpu/e_powl.S
1
60
bminor/glibc:sysdeps/i386/fpu/e_powl.S:1
/* ix87 specific implementation of pow function. 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 GN...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_powl.S
LGPL-2.1
04277e02d7f54d3582bebcf8386b317018cd5e1d
github
libc
https://github.com/bminor/glibc/blob/04277e02d7f54d3582bebcf8386b317018cd5e1d/sysdeps/i386/fpu/e_powl.S
1
60
bminor/glibc:sysdeps/i386/fpu/e_powl.S:1
/* ix87 specific implementation of pow function. 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 GN...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_powl.S
LGPL-2.1
688903eb3ef01301d239ab753d309d45720610a7
github
libc
https://github.com/bminor/glibc/blob/688903eb3ef01301d239ab753d309d45720610a7/sysdeps/i386/fpu/e_powl.S
1
60
bminor/glibc:sysdeps/i386/fpu/e_powl.S:1
/* ix87 specific implementation of pow function. 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 GN...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_powl.S
LGPL-2.1
bfff8b1becd7d01c074177df7196ab327cd8c844
github
libc
https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/fpu/e_powl.S
1
60
bminor/glibc:sysdeps/i386/fpu/e_powl.S:1
/* ix87 specific implementation of pow function. 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 GN...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_powl.S
LGPL-2.1
a91fd168a0db38563528dab1a13180fda2a5040c
github
libc
https://github.com/bminor/glibc/blob/a91fd168a0db38563528dab1a13180fda2a5040c/sysdeps/i386/fpu/e_powl.S
1
60
bminor/glibc:sysdeps/i386/fpu/e_powl.S:5
orl $0, %edx fstp %st(0) // x jns 4f // y >= 0, jump fdivrl MO(one) // 1/x (now referred to as x) negl %eax adcl $0, %edx negl %edx 4: fldl MO(one) // 1 : x fxch /* If y is even, take the absolute value of x. Otherwise, ensure all intermediate values that might overflow have the sign of x. */ t...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_powl.S
LGPL-2.1
c898991d8bcfacc825097ba389ffccc5367c2b2d
github
libc
https://github.com/bminor/glibc/blob/c898991d8bcfacc825097ba389ffccc5367c2b2d/sysdeps/i386/fpu/e_powl.S
161
220
bminor/glibc:sysdeps/i386/fpu/e_powl.S:6
fucomp %st(1) // x : y fnstsw sahf je 31f fxch // y : x 31: fstp %st(1) ret cfi_adjust_cfa_offset (8) 32: addl $8, %esp cfi_adjust_cfa_offset (-8) fstp %st(1) ret cfi_adjust_cfa_offset (8) .align ALIGNARG(4) 2: // y is a large integer (absolute value at least 1L<<63). // If y has absolute value at leas...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_powl.S
LGPL-2.1
c898991d8bcfacc825097ba389ffccc5367c2b2d
github
libc
https://github.com/bminor/glibc/blob/c898991d8bcfacc825097ba389ffccc5367c2b2d/sysdeps/i386/fpu/e_powl.S
201
260
bminor/glibc:sysdeps/i386/fpu/e_powl.S:7
cfi_adjust_cfa_offset (-36) ret // pow(x,±0) = 1 .align ALIGNARG(4) 11: fstp %st(0) // pop y fldl MO(one) ret // y == ±inf .align ALIGNARG(4) 12: fstp %st(0) // pop y fldl MO(one) // 1 fldt 4(%esp) // x : 1 fabs // abs(x) : 1 fucompp // < 1, == 1, or > 1 fnstsw andb $0x45, %ah cmpb $0x45, %ah j...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_powl.S
LGPL-2.1
c898991d8bcfacc825097ba389ffccc5367c2b2d
github
libc
https://github.com/bminor/glibc/blob/c898991d8bcfacc825097ba389ffccc5367c2b2d/sysdeps/i386/fpu/e_powl.S
241
300
bminor/glibc:sysdeps/i386/fpu/e_powl.S:8
// x is ±inf 15: fstp %st(0) // y testb $2, %dh jz 16f // jump if x == +inf // fistpll raises invalid exception for |y| >= 1L<<63, but y // may be odd unless we know |y| >= 1L<<64. fld %st // y : y fabs // |y| : y fcompl MO(p64) // y fnstsw sahf jnc 16f fldl MO(p63) // p63 : y fxch // y : p63 fpr...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_powl.S
LGPL-2.1
c898991d8bcfacc825097ba389ffccc5367c2b2d
github
libc
https://github.com/bminor/glibc/blob/c898991d8bcfacc825097ba389ffccc5367c2b2d/sysdeps/i386/fpu/e_powl.S
281
340
bminor/glibc:sysdeps/i386/fpu/e_powl.S:9
.align ALIGNARG(4) 16: fcompl MO(zero) addl $8, %esp cfi_adjust_cfa_offset (-8) fnstsw shrl $5, %eax andl $8, %eax fldl MOX(inf_zero, %eax, 1) ret cfi_adjust_cfa_offset (8) .align ALIGNARG(4) 17: shll $30, %edx // sign bit for y in right position addl $8, %esp cfi_adjust_cfa_offset (-8) 18: shrl $31, %edx ...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_powl.S
LGPL-2.1
c898991d8bcfacc825097ba389ffccc5367c2b2d
github
libc
https://github.com/bminor/glibc/blob/c898991d8bcfacc825097ba389ffccc5367c2b2d/sysdeps/i386/fpu/e_powl.S
321
380
bminor/glibc:sysdeps/i386/fpu/e_powl.S:10
fprem // y%p63 : p63 fstp %st(1) // y%p63 fld %st // y : y fistpll (%esp) // y fildll (%esp) // int(y) : y fucompp // <empty> fnstsw sahf jne 26f // OK, the value is an integer, but is it odd? popl %eax cfi_adjust_cfa_offset (-4) popl %edx cfi_adjust_cfa_offset (-4) andb $1, %al jz 27f // jump...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_powl.S
LGPL-2.1
c898991d8bcfacc825097ba389ffccc5367c2b2d
github
libc
https://github.com/bminor/glibc/blob/c898991d8bcfacc825097ba389ffccc5367c2b2d/sysdeps/i386/fpu/e_powl.S
361
420
bminor/glibc:sysdeps/i386/fpu/e_powl.S:11
// fistpll raises invalid exception for |y| >= 1L<<63, but y // may be odd unless we know |y| >= 1L<<64. fld %st // y : y fcompl MO(p64) // y fnstsw sahf jnc 22f fldl MO(p63) // p63 : y fxch // y : p63 fprem // y%p63 : p63 fstp %st(1) // y%p63 fld %st // y : y fistpll (%esp) // y fildll (%esp) ...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_powl.S
LGPL-2.1
c898991d8bcfacc825097ba389ffccc5367c2b2d
github
libc
https://github.com/bminor/glibc/blob/c898991d8bcfacc825097ba389ffccc5367c2b2d/sysdeps/i386/fpu/e_powl.S
401
440
bminor/glibc:sysdeps/i386/fpu/e_powl.S:1
/* ix87 specific implementation of pow function. 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 GN...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_powl.S
LGPL-2.1
f7a9f785e547bd599dee496fd906a28bcb4ec7fe
github
libc
https://github.com/bminor/glibc/blob/f7a9f785e547bd599dee496fd906a28bcb4ec7fe/sysdeps/i386/fpu/e_powl.S
1
60
bminor/glibc:sysdeps/i386/fpu/e_powl.S:4
/* First see whether `y' is a natural number. In this case we can use a more precise algorithm. */ fld %st // y : y : x fistpll (%esp) // y : x fildll (%esp) // int(y) : y : x fucomp %st(1) // y : x fnstsw sahf je 9f // If y has absolute value at most 0x1p-79, then any finite // nonzero x will resul...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_powl.S
LGPL-2.1
f7a9f785e547bd599dee496fd906a28bcb4ec7fe
github
libc
https://github.com/bminor/glibc/blob/f7a9f785e547bd599dee496fd906a28bcb4ec7fe/sysdeps/i386/fpu/e_powl.S
121
180
bminor/glibc:sysdeps/i386/fpu/e_powl.S:1
/* ix87 specific implementation of pow function. 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 GN...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_powl.S
LGPL-2.1
6ace39382120dd0668b2168591611f71b04ac8f3
github
libc
https://github.com/bminor/glibc/blob/6ace39382120dd0668b2168591611f71b04ac8f3/sysdeps/i386/fpu/e_powl.S
1
60
bminor/glibc:sysdeps/i386/fpu/e_powl.S:1
/* ix87 specific implementation of pow function. 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 GN...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_powl.S
LGPL-2.1
890b7a4b33d482b5c768ab47d70758b80227e9bc
github
libc
https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/fpu/e_powl.S
1
60
bminor/glibc:sysdeps/i386/fpu/e_powl.S:2
pm79: .byte 0, 0, 0, 0, 0, 0, 0, 0x3b ASM_SIZE_DIRECTIVE(pm79) .section .rodata.cst16,"aM",@progbits,16 .p2align 3 .type infinity,@object inf_zero: infinity: .byte 0, 0, 0, 0, 0, 0, 0xf0, 0x7f ASM_SIZE_DIRECTIVE(infinity) .type zero,@object zero: .double 0.0 ASM_SIZE_DIRECTIVE(zero) .type minf_mzero,@object ...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_powl.S
LGPL-2.1
890b7a4b33d482b5c768ab47d70758b80227e9bc
github
libc
https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/fpu/e_powl.S
41
100
bminor/glibc:sysdeps/i386/fpu/e_powl.S:3
movb %ah, %dl andb $0x45, %ah cmpb $0x40, %ah // is y == 0 ? je 11f cmpb $0x05, %ah // is y == ±inf ? je 12f cmpb $0x01, %ah // is y == NaN ? je 30f fldt 4(%esp) // x : y subl $8,%esp cfi_adjust_cfa_offset (8) fxam fnstsw movb %ah, %dh andb $0x45, %ah cmpb $0x40, %ah je 20f // x is ±0 cmpb $0x0...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_powl.S
LGPL-2.1
890b7a4b33d482b5c768ab47d70758b80227e9bc
github
libc
https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/fpu/e_powl.S
81
140
bminor/glibc:sysdeps/i386/fpu/e_powl.S:4
can use a more precise algorithm. */ fld %st // y : y : x fistpll (%esp) // y : x fildll (%esp) // int(y) : y : x fucomp %st(1) // y : x fnstsw sahf je 9f // If y has absolute value at most 0x1p-79, then any finite // nonzero x will result in 1. Saturate y to those bounds to // avoid underflow in the c...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_powl.S
LGPL-2.1
890b7a4b33d482b5c768ab47d70758b80227e9bc
github
libc
https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/fpu/e_powl.S
121
180
bminor/glibc:sysdeps/i386/fpu/e_powl.S:5
jns 4f // y >= 0, jump fdivrl MO(one) // 1/x (now referred to as x) negl %eax adcl $0, %edx negl %edx 4: fldl MO(one) // 1 : x fxch /* If y is even, take the absolute value of x. Otherwise, ensure all intermediate values that might overflow have the sign of x. */ testb $1, %al jnz 6f fabs 6: sh...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_powl.S
LGPL-2.1
890b7a4b33d482b5c768ab47d70758b80227e9bc
github
libc
https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/fpu/e_powl.S
161
220
bminor/glibc:sysdeps/i386/fpu/e_powl.S:6
ret cfi_adjust_cfa_offset (8) 32: addl $8, %esp cfi_adjust_cfa_offset (-8) fstp %st(1) ret cfi_adjust_cfa_offset (8) .align ALIGNARG(4) 2: // y is a large integer (absolute value at least 1L<<63). // If y has absolute value at least 1L<<78, then any finite // nonzero x will result in 0 (underflow), 1 or infin...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_powl.S
LGPL-2.1
890b7a4b33d482b5c768ab47d70758b80227e9bc
github
libc
https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/fpu/e_powl.S
201
260
bminor/glibc:sysdeps/i386/fpu/e_powl.S:7
fldl MO(one) ret // y == ±inf .align ALIGNARG(4) 12: fstp %st(0) // pop y fldl MO(one) // 1 fldt 4(%esp) // x : 1 fabs // abs(x) : 1 fucompp // < 1, == 1, or > 1 fnstsw andb $0x45, %ah cmpb $0x45, %ah je 13f // jump if x is NaN cmpb $0x40, %ah je 14f // jump if |x| == 1 shlb $1, %ah xorb %ah,...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_powl.S
LGPL-2.1
890b7a4b33d482b5c768ab47d70758b80227e9bc
github
libc
https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/fpu/e_powl.S
241
300
bminor/glibc:sysdeps/i386/fpu/e_powl.S:8
// may be odd unless we know |y| >= 1L<<64. fld %st // y : y fabs // |y| : y fcompl MO(p64) // y fnstsw sahf jnc 16f fldl MO(p63) // p63 : y fxch // y : p63 fprem // y%p63 : p63 fstp %st(1) // y%p63 // We must find out whether y is an odd integer. fld %st // y : y fistpll (%esp) // y fildll (...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_powl.S
LGPL-2.1
890b7a4b33d482b5c768ab47d70758b80227e9bc
github
libc
https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/fpu/e_powl.S
281
340
bminor/glibc:sysdeps/i386/fpu/e_powl.S:9
andl $8, %eax fldl MOX(inf_zero, %eax, 1) ret cfi_adjust_cfa_offset (8) .align ALIGNARG(4) 17: shll $30, %edx // sign bit for y in right position addl $8, %esp cfi_adjust_cfa_offset (-8) 18: shrl $31, %edx fldl MOX(inf_zero, %edx, 8) ret cfi_adjust_cfa_offset (8) .align ALIGNARG(4) // x is ±0 20: fstp %st(...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_powl.S
LGPL-2.1
890b7a4b33d482b5c768ab47d70758b80227e9bc
github
libc
https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/fpu/e_powl.S
321
380
bminor/glibc:sysdeps/i386/fpu/e_powl.S:10
fucompp // <empty> fnstsw sahf jne 26f // OK, the value is an integer, but is it odd? popl %eax cfi_adjust_cfa_offset (-4) popl %edx cfi_adjust_cfa_offset (-4) andb $1, %al jz 27f // jump if not odd // It's an odd integer. // Raise divide-by-zero exception and get minus infinity value. fldl MO(one) fd...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_powl.S
LGPL-2.1
890b7a4b33d482b5c768ab47d70758b80227e9bc
github
libc
https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/fpu/e_powl.S
361
420
bminor/glibc:sysdeps/i386/fpu/e_powl.S:11
jnc 22f fldl MO(p63) // p63 : y fxch // y : p63 fprem // y%p63 : p63 fstp %st(1) // y%p63 fld %st // y : y fistpll (%esp) // y fildll (%esp) // int(y) : y fucompp // <empty> fnstsw sahf jne 23f // OK, the value is an integer, but is it odd? popl %eax cfi_adjust_cfa_offset (-4) popl %edx cfi...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_powl.S
LGPL-2.1
890b7a4b33d482b5c768ab47d70758b80227e9bc
github
libc
https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/fpu/e_powl.S
401
434
bminor/glibc:sysdeps/i386/fpu/e_remainder.S:1
/* * Public domain. */ #include <machine/asm.h> #include <libm-alias-finite.h> ENTRY(__ieee754_remainder) fldl 12(%esp) fldl 4(%esp) 1: fprem1 fstsw %ax sahf jp 1b fstp %st(1) ret END (__ieee754_remainder) libm_alias_finite (__ieee754_remainder, __remainder)
x86
gas-like
handwritten
bminor/glibc
sysdeps/i386/fpu/e_remainder.S
LGPL-2.1
30891f35fa7da832b66d80d0807610df361851f3
github
libc
https://github.com/bminor/glibc/blob/30891f35fa7da832b66d80d0807610df361851f3/sysdeps/i386/fpu/e_remainder.S
1
18
bminor/glibc:sysdeps/i386/fpu/e_remainder.S:1
/* * Written by J.T. Conklin <jtc@netbsd.org>. * Public domain. */ #include <machine/asm.h> #include <libm-alias-finite.h> ENTRY(__ieee754_remainder) fldl 12(%esp) fldl 4(%esp) 1: fprem1 fstsw %ax sahf jp 1b fstp %st(1) ret END (__ieee754_remainder) libm_alias_finite (__ieee754_remainder, __remainder)
x86
gas-like
handwritten
bminor/glibc
sysdeps/i386/fpu/e_remainder.S
LGPL-2.1
220622dde5704c95a100c2792a280f18f3deba73
github
libc
https://github.com/bminor/glibc/blob/220622dde5704c95a100c2792a280f18f3deba73/sysdeps/i386/fpu/e_remainder.S
1
19
bminor/glibc:sysdeps/i386/fpu/e_remainder.S:1
/* * Written by J.T. Conklin <jtc@netbsd.org>. * Public domain. */ #include <machine/asm.h> ENTRY(__ieee754_remainder) fldl 12(%esp) fldl 4(%esp) 1: fprem1 fstsw %ax sahf jp 1b fstp %st(1) ret END (__ieee754_remainder) strong_alias (__ieee754_remainder, __remainder_finite)
x86
gas-like
handwritten
bminor/glibc
sysdeps/i386/fpu/e_remainder.S
LGPL-2.1
890b7a4b33d482b5c768ab47d70758b80227e9bc
github
libc
https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/fpu/e_remainder.S
1
18
bminor/glibc:sysdeps/i386/fpu/e_remainderf.S:1
/* * Public domain. */ #include <machine/asm.h> #include <libm-alias-finite.h> ENTRY(__ieee754_remainderf) flds 8(%esp) flds 4(%esp) 1: fprem1 fstsw %ax sahf jp 1b fstp %st(1) ret END (__ieee754_remainderf) libm_alias_finite (__ieee754_remainderf, __remainderf)
x86
gas-like
handwritten
bminor/glibc
sysdeps/i386/fpu/e_remainderf.S
LGPL-2.1
30891f35fa7da832b66d80d0807610df361851f3
github
libc
https://github.com/bminor/glibc/blob/30891f35fa7da832b66d80d0807610df361851f3/sysdeps/i386/fpu/e_remainderf.S
1
18
bminor/glibc:sysdeps/i386/fpu/e_remainderf.S:1
/* * Written by J.T. Conklin <jtc@netbsd.org>. * Public domain. */ #include <machine/asm.h> #include <libm-alias-finite.h> ENTRY(__ieee754_remainderf) flds 8(%esp) flds 4(%esp) 1: fprem1 fstsw %ax sahf jp 1b fstp %st(1) ret END (__ieee754_remainderf) libm_alias_finite (__ieee754_remainderf, __remainderf)
x86
gas-like
handwritten
bminor/glibc
sysdeps/i386/fpu/e_remainderf.S
LGPL-2.1
220622dde5704c95a100c2792a280f18f3deba73
github
libc
https://github.com/bminor/glibc/blob/220622dde5704c95a100c2792a280f18f3deba73/sysdeps/i386/fpu/e_remainderf.S
1
19
bminor/glibc:sysdeps/i386/fpu/e_remainderf.S:1
/* * Written by J.T. Conklin <jtc@netbsd.org>. * Public domain. */ #include <machine/asm.h> ENTRY(__ieee754_remainderf) flds 8(%esp) flds 4(%esp) 1: fprem1 fstsw %ax sahf jp 1b fstp %st(1) ret END (__ieee754_remainderf) strong_alias (__ieee754_remainderf, __remainderf_finite)
x86
gas-like
handwritten
bminor/glibc
sysdeps/i386/fpu/e_remainderf.S
LGPL-2.1
890b7a4b33d482b5c768ab47d70758b80227e9bc
github
libc
https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/fpu/e_remainderf.S
1
18
bminor/glibc:sysdeps/i386/fpu/e_remainderl.S:1
/* * Public domain. * */ #include <machine/asm.h> #include <libm-alias-finite.h> ENTRY(__ieee754_remainderl) fldt 16(%esp) fldt 4(%esp) 1: fprem1 fstsw %ax sahf jp 1b fstp %st(1) ret END (__ieee754_remainderl) libm_alias_finite (__ieee754_remainderl, __remainderl)
x86
gas-like
handwritten
bminor/glibc
sysdeps/i386/fpu/e_remainderl.S
LGPL-2.1
04e750e75b73957cf1c791535a3f4319534a52fc
github
libc
https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/fpu/e_remainderl.S
1
19
bminor/glibc:sysdeps/i386/fpu/e_remainderl.S:1
/* * Written by J.T. Conklin <jtc@netbsd.org>. * Public domain. * * Adapted for `long double' by Ulrich Drepper <drepper@cygnus.com>. */ #include <machine/asm.h> #include <libm-alias-finite.h> ENTRY(__ieee754_remainderl) fldt 16(%esp) fldt 4(%esp) 1: fprem1 fstsw %ax sahf jp 1b fstp %st(1) ret END (__ieee...
x86
gas-like
handwritten
bminor/glibc
sysdeps/i386/fpu/e_remainderl.S
LGPL-2.1
220622dde5704c95a100c2792a280f18f3deba73
github
libc
https://github.com/bminor/glibc/blob/220622dde5704c95a100c2792a280f18f3deba73/sysdeps/i386/fpu/e_remainderl.S
1
21
bminor/glibc:sysdeps/i386/fpu/e_remainderl.S:1
/* * Written by J.T. Conklin <jtc@netbsd.org>. * Public domain. * * Adapted for `long double' by Ulrich Drepper <drepper@cygnus.com>. */ #include <machine/asm.h> ENTRY(__ieee754_remainderl) fldt 16(%esp) fldt 4(%esp) 1: fprem1 fstsw %ax sahf jp 1b fstp %st(1) ret END (__ieee754_remainderl) strong_alias (_...
x86
gas-like
handwritten
bminor/glibc
sysdeps/i386/fpu/e_remainderl.S
LGPL-2.1
890b7a4b33d482b5c768ab47d70758b80227e9bc
github
libc
https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/fpu/e_remainderl.S
1
20
bminor/glibc:sysdeps/i386/fpu/e_scalb.S:1
/* * Public domain. */ #include <machine/asm.h> #include <i386-math-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_DIREC...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_scalb.S
LGPL-2.1
04e750e75b73957cf1c791535a3f4319534a52fc
github
libc
https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/fpu/e_scalb.S
1
60
bminor/glibc:sysdeps/i386/fpu/e_scalb.S:2
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) DBL_NARROW_EVAL ret /* y is -inf */ 1: fxam #ifdef PIC LOAD_PIC_REG (cx) #endif fnstsw movl 8(%esp), %edx shrl $5, %eax fstp %st fstp %st andl $0x80000000, %edx andl $0x...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_scalb.S
LGPL-2.1
04e750e75b73957cf1c791535a3f4319534a52fc
github
libc
https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/fpu/e_scalb.S
41
98
bminor/glibc:sysdeps/i386/fpu/e_scalb.S:3
#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_scalb) libm_alias_finite (__ieee754_scalb, __scalb)
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_scalb.S
LGPL-2.1
04e750e75b73957cf1c791535a3f4319534a52fc
github
libc
https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/fpu/e_scalb.S
81
98
bminor/glibc:sysdeps/i386/fpu/e_scalb.S:1
/* * Written by J.T. Conklin <jtc@netbsd.org>. * Public domain. * * Correct handling of y==-inf <drepper@gnu> */ #include <machine/asm.h> #include <i386-math-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, 0x...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_scalb.S
LGPL-2.1
220622dde5704c95a100c2792a280f18f3deba73
github
libc
https://github.com/bminor/glibc/blob/220622dde5704c95a100c2792a280f18f3deba73/sysdeps/i386/fpu/e_scalb.S
1
60
bminor/glibc:sysdeps/i386/fpu/e_scalb.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) DBL_NARROW_EVAL ret /* y is -inf */ 1: fxam #ifdef PIC LOAD_PIC_REG (cx) #endif fnstsw movl 8(%esp), %edx shrl $5, %eax fstp ...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_scalb.S
LGPL-2.1
220622dde5704c95a100c2792a280f18f3deba73
github
libc
https://github.com/bminor/glibc/blob/220622dde5704c95a100c2792a280f18f3deba73/sysdeps/i386/fpu/e_scalb.S
41
100
bminor/glibc:sysdeps/i386/fpu/e_scalb.S:3
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 fdiv %st ret END(__ieee754_scalb) libm_alias_finite (__ieee754_s...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_scalb.S
LGPL-2.1
220622dde5704c95a100c2792a280f18f3deba73
github
libc
https://github.com/bminor/glibc/blob/220622dde5704c95a100c2792a280f18f3deba73/sysdeps/i386/fpu/e_scalb.S
81
101
bminor/glibc:sysdeps/i386/fpu/e_scalb.S:1
/* * Written by J.T. Conklin <jtc@netbsd.org>. * Public domain. * * Correct handling of y==-inf <drepper@gnu> */ #include <machine/asm.h> #include <i386-math-asm.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, ...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_scalb.S
LGPL-2.1
94ced920a951bcab51f2ef955ccd2cc51668e6f3
github
libc
https://github.com/bminor/glibc/blob/94ced920a951bcab51f2ef955ccd2cc51668e6f3/sysdeps/i386/fpu/e_scalb.S
1
60
bminor/glibc:sysdeps/i386/fpu/e_scalb.S:2
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) DBL_NARROW_EVAL ret /* y is -inf */ 1: fxam #ifdef PIC LOAD_PIC_REG (cx) #endif fnstsw movl 8(%esp), %edx shrl $5, %eax fstp %st fstp %st andl ...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_scalb.S
LGPL-2.1
94ced920a951bcab51f2ef955ccd2cc51668e6f3
github
libc
https://github.com/bminor/glibc/blob/94ced920a951bcab51f2ef955ccd2cc51668e6f3/sysdeps/i386/fpu/e_scalb.S
41
100
bminor/glibc:sysdeps/i386/fpu/e_scalb.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_scalb) strong_alias (__ieee754_scalb, __scalb_finite)
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_scalb.S
LGPL-2.1
94ced920a951bcab51f2ef955ccd2cc51668e6f3
github
libc
https://github.com/bminor/glibc/blob/94ced920a951bcab51f2ef955ccd2cc51668e6f3/sysdeps/i386/fpu/e_scalb.S
81
100
bminor/glibc:sysdeps/i386/fpu/e_scalb.S:1
/* * Written by J.T. Conklin <jtc@netbsd.org>. * Public domain. * * 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, 0, 0, 0xff, 0x7f .byte 0, 0, 0, 0, 0, 0, 0, 0x80 .byte 0, 0, 0, ...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_scalb.S
LGPL-2.1
890b7a4b33d482b5c768ab47d70758b80227e9bc
github
libc
https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/fpu/e_scalb.S
1
60
bminor/glibc:sysdeps/i386/fpu/e_scalb.S:2
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 8(%esp), %edx shrl $5, %eax fstp %st fstp %st andl $0x80000000, %edx andl $0x0228, %eax...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_scalb.S
LGPL-2.1
890b7a4b33d482b5c768ab47d70758b80227e9bc
github
libc
https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/fpu/e_scalb.S
41
98
bminor/glibc:sysdeps/i386/fpu/e_scalb.S:3
#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_scalb) strong_alias (__ieee754_scalb, __scalb_finite)
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_scalb.S
LGPL-2.1
890b7a4b33d482b5c768ab47d70758b80227e9bc
github
libc
https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/fpu/e_scalb.S
81
98
bminor/glibc:sysdeps/i386/fpu/e_scalbf.S:1
/* * Public domain. */ #include <machine/asm.h> #include <i386-math-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_DIREC...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_scalbf.S
LGPL-2.1
04e750e75b73957cf1c791535a3f4319534a52fc
github
libc
https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/fpu/e_scalbf.S
1
60
bminor/glibc:sysdeps/i386/fpu/e_scalbf.S:2
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 fstp %st fstp %st andl $0x80000000, %edx a...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_scalbf.S
LGPL-2.1
04e750e75b73957cf1c791535a3f4319534a52fc
github
libc
https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/fpu/e_scalbf.S
41
99
bminor/glibc:sysdeps/i386/fpu/e_scalbf.S:3
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) libm_alias_finite (__ieee754_scalbf, __scalbf)
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_scalbf.S
LGPL-2.1
04e750e75b73957cf1c791535a3f4319534a52fc
github
libc
https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/fpu/e_scalbf.S
81
99
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> #include <i386-math-asm.h> #include <libm-alias-finite.h> .section .rodata .align ALIGNARG(4) .type zero_...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_scalbf.S
LGPL-2.1
220622dde5704c95a100c2792a280f18f3deba73
github
libc
https://github.com/bminor/glibc/blob/220622dde5704c95a100c2792a280f18f3deba73/sysdeps/i386/fpu/e_scalbf.S
1
60
bminor/glibc:sysdeps/i386/fpu/e_scalbf.S:2
cmpl $0x0700, %eax 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),...
x86
gas-att
handwritten
bminor/glibc
sysdeps/i386/fpu/e_scalbf.S
LGPL-2.1
220622dde5704c95a100c2792a280f18f3deba73
github
libc
https://github.com/bminor/glibc/blob/220622dde5704c95a100c2792a280f18f3deba73/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
220622dde5704c95a100c2792a280f18f3deba73
github
libc
https://github.com/bminor/glibc/blob/220622dde5704c95a100c2792a280f18f3deba73/sysdeps/i386/fpu/e_scalbf.S
81
103
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> #include <i386-math-asm.h> .section .rodata .align ALIGNARG(4) .type zero_nan,@object zero_nan: .double ...
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
1
60