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/i586/strlen.S:2 | ENTRY (strlen)
movl STR(%esp), %eax
movl $3, %edx /* load mask (= 3) */
andl %eax, %edx /* separate last two bits of address */
jz L(1) /* aligned => start loop */
jp L(0) /* exactly two bits set */
cmpb %dh, (%eax) /* is byte NUL? */
je L(2) /* yes => return */
incl %eax /* increment pointer */
... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i586/strlen.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i586/strlen.S | 41 | 100 |
bminor/glibc:sysdeps/i386/i586/strlen.S:3 | 2) Is this worthwhile? Will it ignore everything except
zero bytes? Suppose every byte of LONGWORD has a bit set
somewhere. There will be a carry into bit 8. If bit 8
is set, this will carry into bit 16. If bit 8 is clear,
one of bits 9-15 must be set, so there will be a carry
into bit 16. Similarly, the... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i586/strlen.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i586/strlen.S | 81 | 140 |
bminor/glibc:sysdeps/i386/i586/strlen.S:4 | andl $~magic, %edx /* any of the carry flags set? */
jne L(3) /* yes => determine byte */
movl (%eax), %ecx /* get word (= 4 bytes) in question */
addl $4, %eax /* adjust pointer for *next* word */
subl %ecx, %edx /* first step to negate word */
addl $magic, %ecx /* add magic word */
decl %edx /* complet... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i586/strlen.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i586/strlen.S | 121 | 180 |
bminor/glibc:sysdeps/i386/i586/strlen.S:5 | cmpb $0, %cl /* lowest byte NUL? */
jz L(2) /* yes => return */
inc %eax /* increment pointer */
testb %ch, %ch /* second byte NUL? */
jz L(2) /* yes => return */
shrl $16, %ecx /* make upper bytes accessible */
incl %eax /* increment pointer */
cmpb $0, %cl /* is third byte NUL? */
jz L(2) /* y... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i586/strlen.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i586/strlen.S | 161 | 182 |
bminor/glibc:sysdeps/i386/i586/strlen.S:1 | /* strlen -- Compute length of NUL terminated string.
Highly optimized version for ix86, x>=5.
Copyright (C) 1995-2020 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper, <drepper@gnu.ai.mit.edu>.
The GNU C Library is free software; you can redistribute ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i586/strlen.S | LGPL-2.1 | d614a7539657941a9201c236b2f15afac18e1213 | github | libc | https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/i386/i586/strlen.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i586/strlen.S:1 | /* strlen -- Compute length of NUL terminated string.
Highly optimized version for ix86, x>=5.
Copyright (C) 1995-2019 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper, <drepper@gnu.ai.mit.edu>.
The GNU C Library is free software; you can redistribute ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i586/strlen.S | LGPL-2.1 | 5a82c74822d3272df2f5929133680478c0cfb4bd | github | libc | https://github.com/bminor/glibc/blob/5a82c74822d3272df2f5929133680478c0cfb4bd/sysdeps/i386/i586/strlen.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i586/strlen.S:1 | /* strlen -- Compute length of NUL terminated string.
Highly optimized version for ix86, x>=5.
Copyright (C) 1995-2019 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper, <drepper@gnu.ai.mit.edu>.
The GNU C Library is free software; you can redistribute ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i586/strlen.S | LGPL-2.1 | 04277e02d7f54d3582bebcf8386b317018cd5e1d | github | libc | https://github.com/bminor/glibc/blob/04277e02d7f54d3582bebcf8386b317018cd5e1d/sysdeps/i386/i586/strlen.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i586/strlen.S:1 | /* strlen -- Compute length of NUL terminated string.
Highly optimized version for ix86, x>=5.
Copyright (C) 1995-2018 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper, <drepper@gnu.ai.mit.edu>.
The GNU C Library is free software; you can redistribute ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i586/strlen.S | LGPL-2.1 | 688903eb3ef01301d239ab753d309d45720610a7 | github | libc | https://github.com/bminor/glibc/blob/688903eb3ef01301d239ab753d309d45720610a7/sysdeps/i386/i586/strlen.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i586/strlen.S:1 | /* strlen -- Compute length of NUL terminated string.
Highly optimized version for ix86, x>=5.
Copyright (C) 1995-2017 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper, <drepper@gnu.ai.mit.edu>.
The GNU C Library is free software; you can redistribute ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i586/strlen.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/i586/strlen.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i586/strlen.S:1 | /* strlen -- Compute length of NUL terminated string.
Highly optimized version for ix86, x>=5.
Copyright (C) 1995-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper, <drepper@gnu.ai.mit.edu>.
The GNU C Library is free software; you can redistribute ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i586/strlen.S | LGPL-2.1 | f7a9f785e547bd599dee496fd906a28bcb4ec7fe | github | libc | https://github.com/bminor/glibc/blob/f7a9f785e547bd599dee496fd906a28bcb4ec7fe/sysdeps/i386/i586/strlen.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i586/strlen.S:1 | /* strlen -- Compute length of NUL terminated string.
Highly optimized version for ix86, x>=5.
Copyright (C) 1995-2015 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper, <drepper@gnu.ai.mit.edu>.
The GNU C Library is free software; you can redistribute ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i586/strlen.S | LGPL-2.1 | 890b7a4b33d482b5c768ab47d70758b80227e9bc | github | libc | https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/i586/strlen.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i586/sub_n.S:1 | /* Pentium __mpn_sub_n -- Subtract two limb vectors of the same length > 0
and store difference in a third limb vector.
Copyright (C) 1992-2026 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
The GNU MP Library is free software; you can redistribute it and/or modify
it under the ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i586/sub_n.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i586/sub_n.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i586/sub_n.S:2 | movl RES(%esp),%edi
cfi_rel_offset (edi, 12)
movl S1(%esp),%esi
cfi_rel_offset (esi, 8)
movl S2(%esp),%ebx
cfi_rel_offset (ebx, 0)
movl SIZE(%esp),%ecx
movl (%ebx),%ebp
cfi_rel_offset (ebp, 4)
decl %ecx
movl %ecx,%edx
shrl $3,%ecx
andl $7,%edx
testl %ecx,%ecx /* zero carry flag */
jz L(end)
pushl %edx
... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i586/sub_n.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i586/sub_n.S | 41 | 100 |
bminor/glibc:sysdeps/i386/i586/sub_n.S:3 | L(3): movl 16(%esi),%eax
movl 20(%esi),%edx
sbbl %ebp,%eax
movl 20(%ebx),%ebp
sbbl %ebp,%edx
movl 24(%ebx),%ebp
movl %eax,-16(%edi)
movl %edx,-12(%edi)
L(4): movl 24(%esi),%eax
movl 28(%esi),%edx
sbbl %ebp,%eax
movl 28(%ebx),%ebp
sbbl %ebp,%edx
movl 32(%ebx),%ebp
movl %eax,-8(%edi)
movl %edx,-4(%edi)
l... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i586/sub_n.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i586/sub_n.S | 81 | 140 |
bminor/glibc:sysdeps/i386/i586/sub_n.S:4 | L(end2):
movl (%esi),%eax
sbbl %ebp,%eax
movl %eax,(%edi)
sbbl %eax,%eax
negl %eax
popl %ebx
cfi_adjust_cfa_offset (-4)
cfi_restore (ebx)
popl %ebp
cfi_adjust_cfa_offset (-4)
cfi_restore (ebp)
popl %esi
cfi_adjust_cfa_offset (-4)
cfi_restore (esi)
popl %edi
cfi_adjust_cfa_offset (-4)
cfi_restore (edi... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i586/sub_n.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i586/sub_n.S | 121 | 143 |
bminor/glibc:sysdeps/i386/i586/sub_n.S:1 | /* Pentium __mpn_sub_n -- Subtract two limb vectors of the same length > 0
and store difference in a third limb vector.
Copyright (C) 1992-2025 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
The GNU MP Library is free software; you can redistribute it and/or modify
it under the ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i586/sub_n.S | LGPL-2.1 | 2642002380aafb71a1d3b569b6d7ebeab3284816 | github | libc | https://github.com/bminor/glibc/blob/2642002380aafb71a1d3b569b6d7ebeab3284816/sysdeps/i386/i586/sub_n.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i586/sub_n.S:1 | /* Pentium __mpn_sub_n -- Subtract two limb vectors of the same length > 0
and store difference in a third limb vector.
Copyright (C) 1992-2024 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
The GNU MP Library is free software; you can redistribute it and/or modify
it under the ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i586/sub_n.S | LGPL-2.1 | dff8da6b3e89b986bb7f6b1ec18cf65d5972e307 | github | libc | https://github.com/bminor/glibc/blob/dff8da6b3e89b986bb7f6b1ec18cf65d5972e307/sysdeps/i386/i586/sub_n.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i586/sub_n.S:1 | /* Pentium __mpn_sub_n -- Subtract two limb vectors of the same length > 0
and store difference in a third limb vector.
Copyright (C) 1992-2023 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
The GNU MP Library is free software; you can redistribute it and/or modify
it under the ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i586/sub_n.S | LGPL-2.1 | 6d7e8eda9b85b08f207a6dc6f187e94e4817270f | github | libc | https://github.com/bminor/glibc/blob/6d7e8eda9b85b08f207a6dc6f187e94e4817270f/sysdeps/i386/i586/sub_n.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i586/sub_n.S:1 | /* Pentium __mpn_sub_n -- Subtract two limb vectors of the same length > 0
and store difference in a third limb vector.
Copyright (C) 1992-2022 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
The GNU MP Library is free software; you can redistribute it and/or modify
it under the ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i586/sub_n.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i586/sub_n.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i586/sub_n.S:1 | /* Pentium __mpn_sub_n -- Subtract two limb vectors of the same length > 0
and store difference in a third limb vector.
Copyright (C) 1992-2021 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
The GNU MP Library is free software; you can redistribute it and/or modify
it under the ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i586/sub_n.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i586/sub_n.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i586/sub_n.S:1 | /* Pentium __mpn_sub_n -- Subtract two limb vectors of the same length > 0
and store difference in a third limb vector.
Copyright (C) 1992-2020 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
The GNU MP Library is free software; you can redistribute it and/or modify
it under the ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i586/sub_n.S | LGPL-2.1 | d614a7539657941a9201c236b2f15afac18e1213 | github | libc | https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/i386/i586/sub_n.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i586/sub_n.S:1 | /* Pentium __mpn_sub_n -- Subtract two limb vectors of the same length > 0
and store difference in a third limb vector.
Copyright (C) 1992-2019 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
The GNU MP Library is free software; you can redistribute it and/or modify
it under the ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i586/sub_n.S | LGPL-2.1 | 5a82c74822d3272df2f5929133680478c0cfb4bd | github | libc | https://github.com/bminor/glibc/blob/5a82c74822d3272df2f5929133680478c0cfb4bd/sysdeps/i386/i586/sub_n.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i586/sub_n.S:1 | /* Pentium __mpn_sub_n -- Subtract two limb vectors of the same length > 0
and store difference in a third limb vector.
Copyright (C) 1992-2019 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
The GNU MP Library is free software; you can redistribute it and/or modify
it under the ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i586/sub_n.S | LGPL-2.1 | 04277e02d7f54d3582bebcf8386b317018cd5e1d | github | libc | https://github.com/bminor/glibc/blob/04277e02d7f54d3582bebcf8386b317018cd5e1d/sysdeps/i386/i586/sub_n.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i586/sub_n.S:1 | /* Pentium __mpn_sub_n -- Subtract two limb vectors of the same length > 0
and store difference in a third limb vector.
Copyright (C) 1992-2018 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
The GNU MP Library is free software; you can redistribute it and/or modify
it under the ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i586/sub_n.S | LGPL-2.1 | 688903eb3ef01301d239ab753d309d45720610a7 | github | libc | https://github.com/bminor/glibc/blob/688903eb3ef01301d239ab753d309d45720610a7/sysdeps/i386/i586/sub_n.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i586/sub_n.S:1 | /* Pentium __mpn_sub_n -- Subtract two limb vectors of the same length > 0
and store difference in a third limb vector.
Copyright (C) 1992-2017 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
The GNU MP Library is free software; you can redistribute it and/or modify
it under the ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i586/sub_n.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/i586/sub_n.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i586/sub_n.S:1 | /* Pentium __mpn_sub_n -- Subtract two limb vectors of the same length > 0
and store difference in a third limb vector.
Copyright (C) 1992-2016 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
The GNU MP Library is free software; you can redistribute it and/or modify
it under the ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i586/sub_n.S | LGPL-2.1 | f7a9f785e547bd599dee496fd906a28bcb4ec7fe | github | libc | https://github.com/bminor/glibc/blob/f7a9f785e547bd599dee496fd906a28bcb4ec7fe/sysdeps/i386/i586/sub_n.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i586/sub_n.S:1 | /* Pentium __mpn_sub_n -- Subtract two limb vectors of the same length > 0
and store difference in a third limb vector.
Copyright (C) 1992-2015 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
The GNU MP Library is free software; you can redistribute it and/or modify
it under the ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i586/sub_n.S | LGPL-2.1 | 890b7a4b33d482b5c768ab47d70758b80227e9bc | github | libc | https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/i586/sub_n.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i586/submul_1.S:1 | /* Pentium __mpn_submul_1 -- Multiply a limb vector with a limb and subtract
the result from a second limb vector.
Copyright (C) 1992-2026 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
The GNU MP Library is free software; you can redistribute it and/or modify
it under the terms... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i586/submul_1.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i586/submul_1.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i586/submul_1.S:2 | pushl %ebp
cfi_adjust_cfa_offset (4)
pushl %s2_limb
cfi_adjust_cfa_offset (4)
movl RES(%esp), %res_ptr
cfi_rel_offset (res_ptr, 12)
movl S1(%esp), %s1_ptr
cfi_rel_offset (s1_ptr, 8)
movl SIZE(%esp), %size
movl S2LIMB(%esp), %s2_limb
cfi_rel_offset (s2_limb, 0)
leal (%res_ptr,%size,4), %res_ptr
leal (%s1_pt... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i586/submul_1.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i586/submul_1.S | 41 | 94 |
bminor/glibc:sysdeps/i386/i586/submul_1.S:3 | cfi_restore (s2_limb)
popl %ebp
cfi_adjust_cfa_offset (-4)
cfi_restore (ebp)
popl %s1_ptr
cfi_adjust_cfa_offset (-4)
cfi_restore (s1_ptr)
popl %res_ptr
cfi_adjust_cfa_offset (-4)
cfi_restore (res_ptr)
ret
#undef size
END (__mpn_submul_1) | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i586/submul_1.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i586/submul_1.S | 81 | 94 |
bminor/glibc:sysdeps/i386/i586/submul_1.S:1 | /* Pentium __mpn_submul_1 -- Multiply a limb vector with a limb and subtract
the result from a second limb vector.
Copyright (C) 1992-2025 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
The GNU MP Library is free software; you can redistribute it and/or modify
it under the terms... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i586/submul_1.S | LGPL-2.1 | 2642002380aafb71a1d3b569b6d7ebeab3284816 | github | libc | https://github.com/bminor/glibc/blob/2642002380aafb71a1d3b569b6d7ebeab3284816/sysdeps/i386/i586/submul_1.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i586/submul_1.S:1 | /* Pentium __mpn_submul_1 -- Multiply a limb vector with a limb and subtract
the result from a second limb vector.
Copyright (C) 1992-2024 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
The GNU MP Library is free software; you can redistribute it and/or modify
it under the terms... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i586/submul_1.S | LGPL-2.1 | dff8da6b3e89b986bb7f6b1ec18cf65d5972e307 | github | libc | https://github.com/bminor/glibc/blob/dff8da6b3e89b986bb7f6b1ec18cf65d5972e307/sysdeps/i386/i586/submul_1.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i586/submul_1.S:1 | /* Pentium __mpn_submul_1 -- Multiply a limb vector with a limb and subtract
the result from a second limb vector.
Copyright (C) 1992-2023 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
The GNU MP Library is free software; you can redistribute it and/or modify
it under the terms... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i586/submul_1.S | LGPL-2.1 | 6d7e8eda9b85b08f207a6dc6f187e94e4817270f | github | libc | https://github.com/bminor/glibc/blob/6d7e8eda9b85b08f207a6dc6f187e94e4817270f/sysdeps/i386/i586/submul_1.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i586/submul_1.S:1 | /* Pentium __mpn_submul_1 -- Multiply a limb vector with a limb and subtract
the result from a second limb vector.
Copyright (C) 1992-2022 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
The GNU MP Library is free software; you can redistribute it and/or modify
it under the terms... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i586/submul_1.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i586/submul_1.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i586/submul_1.S:1 | /* Pentium __mpn_submul_1 -- Multiply a limb vector with a limb and subtract
the result from a second limb vector.
Copyright (C) 1992-2021 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
The GNU MP Library is free software; you can redistribute it and/or modify
it under the terms... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i586/submul_1.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i586/submul_1.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i586/submul_1.S:1 | /* Pentium __mpn_submul_1 -- Multiply a limb vector with a limb and subtract
the result from a second limb vector.
Copyright (C) 1992-2020 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
The GNU MP Library is free software; you can redistribute it and/or modify
it under the terms... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i586/submul_1.S | LGPL-2.1 | d614a7539657941a9201c236b2f15afac18e1213 | github | libc | https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/i386/i586/submul_1.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i586/submul_1.S:1 | /* Pentium __mpn_submul_1 -- Multiply a limb vector with a limb and subtract
the result from a second limb vector.
Copyright (C) 1992-2019 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
The GNU MP Library is free software; you can redistribute it and/or modify
it under the terms... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i586/submul_1.S | LGPL-2.1 | 5a82c74822d3272df2f5929133680478c0cfb4bd | github | libc | https://github.com/bminor/glibc/blob/5a82c74822d3272df2f5929133680478c0cfb4bd/sysdeps/i386/i586/submul_1.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i586/submul_1.S:1 | /* Pentium __mpn_submul_1 -- Multiply a limb vector with a limb and subtract
the result from a second limb vector.
Copyright (C) 1992-2019 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
The GNU MP Library is free software; you can redistribute it and/or modify
it under the terms... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i586/submul_1.S | LGPL-2.1 | 04277e02d7f54d3582bebcf8386b317018cd5e1d | github | libc | https://github.com/bminor/glibc/blob/04277e02d7f54d3582bebcf8386b317018cd5e1d/sysdeps/i386/i586/submul_1.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i586/submul_1.S:1 | /* Pentium __mpn_submul_1 -- Multiply a limb vector with a limb and subtract
the result from a second limb vector.
Copyright (C) 1992-2018 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
The GNU MP Library is free software; you can redistribute it and/or modify
it under the terms... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i586/submul_1.S | LGPL-2.1 | 688903eb3ef01301d239ab753d309d45720610a7 | github | libc | https://github.com/bminor/glibc/blob/688903eb3ef01301d239ab753d309d45720610a7/sysdeps/i386/i586/submul_1.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i586/submul_1.S:1 | /* Pentium __mpn_submul_1 -- Multiply a limb vector with a limb and subtract
the result from a second limb vector.
Copyright (C) 1992-2017 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
The GNU MP Library is free software; you can redistribute it and/or modify
it under the terms... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i586/submul_1.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/i586/submul_1.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i586/submul_1.S:1 | /* Pentium __mpn_submul_1 -- Multiply a limb vector with a limb and subtract
the result from a second limb vector.
Copyright (C) 1992-2016 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
The GNU MP Library is free software; you can redistribute it and/or modify
it under the terms... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i586/submul_1.S | LGPL-2.1 | f7a9f785e547bd599dee496fd906a28bcb4ec7fe | github | libc | https://github.com/bminor/glibc/blob/f7a9f785e547bd599dee496fd906a28bcb4ec7fe/sysdeps/i386/i586/submul_1.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i586/submul_1.S:1 | /* Pentium __mpn_submul_1 -- Multiply a limb vector with a limb and subtract
the result from a second limb vector.
Copyright (C) 1992-2015 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
The GNU MP Library is free software; you can redistribute it and/or modify
it under the terms... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i586/submul_1.S | LGPL-2.1 | 890b7a4b33d482b5c768ab47d70758b80227e9bc | github | libc | https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/i586/submul_1.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/add_n.S:1 | /* Add two limb vectors of the same length > 0 and store sum in a third
limb vector.
Copyright (C) 1992-2026 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
The GNU MP Library is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Pub... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/add_n.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/add_n.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/add_n.S:2 | movl RES(%esp),%edi
cfi_rel_offset (edi, 4)
movl S1(%esp),%esi
cfi_rel_offset (esi, 0)
movl S2(%esp),%edx
movl SIZE(%esp),%ecx
movl %ecx,%eax
shrl $3,%ecx /* compute count for unrolled loop */
negl %eax
andl $7,%eax /* get index where to start loop */
jz L(oop) /* necessary special case for 0 */
incl %... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/add_n.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/add_n.S | 41 | 100 |
bminor/glibc:sysdeps/i386/i686/add_n.S:3 | movl 16(%esi),%eax
adcl 16(%edx),%eax
movl %eax,16(%edi)
movl 20(%esi),%eax
adcl 20(%edx),%eax
movl %eax,20(%edi)
movl 24(%esi),%eax
adcl 24(%edx),%eax
movl %eax,24(%edi)
movl 28(%esi),%eax
adcl 28(%edx),%eax
movl %eax,28(%edi)
leal 32(%edi),%edi
leal 32(%esi),%esi
leal 32(%edx),%edx
decl %ecx
jnz L(oop... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/add_n.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/add_n.S | 81 | 110 |
bminor/glibc:sysdeps/i386/i686/add_n.S:1 | /* Add two limb vectors of the same length > 0 and store sum in a third
limb vector.
Copyright (C) 1992-2025 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
The GNU MP Library is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Pub... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/add_n.S | LGPL-2.1 | 2642002380aafb71a1d3b569b6d7ebeab3284816 | github | libc | https://github.com/bminor/glibc/blob/2642002380aafb71a1d3b569b6d7ebeab3284816/sysdeps/i386/i686/add_n.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/add_n.S:1 | /* Add two limb vectors of the same length > 0 and store sum in a third
limb vector.
Copyright (C) 1992-2024 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
The GNU MP Library is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Pub... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/add_n.S | LGPL-2.1 | 25f1e16ef03a6a8fb1701c4647d46c564480d88c | github | libc | https://github.com/bminor/glibc/blob/25f1e16ef03a6a8fb1701c4647d46c564480d88c/sysdeps/i386/i686/add_n.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/add_n.S:1 | /* Add two limb vectors of the same length > 0 and store sum in a third
limb vector.
Copyright (C) 1992-2024 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
The GNU MP Library is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Pub... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/add_n.S | LGPL-2.1 | dff8da6b3e89b986bb7f6b1ec18cf65d5972e307 | github | libc | https://github.com/bminor/glibc/blob/dff8da6b3e89b986bb7f6b1ec18cf65d5972e307/sysdeps/i386/i686/add_n.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/add_n.S:2 | movl RES(%esp),%edi
cfi_rel_offset (edi, 4)
movl S1(%esp),%esi
cfi_rel_offset (esi, 0)
movl S2(%esp),%edx
movl SIZE(%esp),%ecx
#if IBT_ENABLED
pushl %ebx
cfi_adjust_cfa_offset (4)
cfi_rel_offset (ebx, 0)
#endif
movl %ecx,%eax
shrl $3,%ecx /* compute count for unrolled loop */
negl %eax
andl $7,%eax /*... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/add_n.S | LGPL-2.1 | dff8da6b3e89b986bb7f6b1ec18cf65d5972e307 | github | libc | https://github.com/bminor/glibc/blob/dff8da6b3e89b986bb7f6b1ec18cf65d5972e307/sysdeps/i386/i686/add_n.S | 41 | 100 |
bminor/glibc:sysdeps/i386/i686/add_n.S:3 | ALIGN (3)
L(oop): movl (%esi),%eax
adcl (%edx),%eax
movl %eax,(%edi)
_CET_ENDBR
movl 4(%esi),%eax
adcl 4(%edx),%eax
movl %eax,4(%edi)
_CET_ENDBR
movl 8(%esi),%eax
adcl 8(%edx),%eax
movl %eax,8(%edi)
_CET_ENDBR
movl 12(%esi),%eax
adcl 12(%edx),%eax
movl %eax,12(%edi)
_CET_ENDBR
movl 16(%esi),%eax
adcl 1... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/add_n.S | LGPL-2.1 | dff8da6b3e89b986bb7f6b1ec18cf65d5972e307 | github | libc | https://github.com/bminor/glibc/blob/dff8da6b3e89b986bb7f6b1ec18cf65d5972e307/sysdeps/i386/i686/add_n.S | 81 | 135 |
bminor/glibc:sysdeps/i386/i686/add_n.S:4 | #if IBT_ENABLED
popl %ebx
cfi_adjust_cfa_offset (-4)
cfi_restore (ebx)
#endif
popl %esi
cfi_adjust_cfa_offset (-4)
cfi_restore (esi)
popl %edi
cfi_adjust_cfa_offset (-4)
cfi_restore (edi)
ret
END (__mpn_add_n) | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/add_n.S | LGPL-2.1 | dff8da6b3e89b986bb7f6b1ec18cf65d5972e307 | github | libc | https://github.com/bminor/glibc/blob/dff8da6b3e89b986bb7f6b1ec18cf65d5972e307/sysdeps/i386/i686/add_n.S | 121 | 135 |
bminor/glibc:sysdeps/i386/i686/add_n.S:1 | /* Add two limb vectors of the same length > 0 and store sum in a third
limb vector.
Copyright (C) 1992-2023 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
The GNU MP Library is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Pub... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/add_n.S | LGPL-2.1 | 6d7e8eda9b85b08f207a6dc6f187e94e4817270f | github | libc | https://github.com/bminor/glibc/blob/6d7e8eda9b85b08f207a6dc6f187e94e4817270f/sysdeps/i386/i686/add_n.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/add_n.S:1 | /* Add two limb vectors of the same length > 0 and store sum in a third
limb vector.
Copyright (C) 1992-2022 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
The GNU MP Library is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Pub... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/add_n.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/add_n.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/add_n.S:1 | /* Add two limb vectors of the same length > 0 and store sum in a third
limb vector.
Copyright (C) 1992-2021 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
The GNU MP Library is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Pub... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/add_n.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/add_n.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/add_n.S:1 | /* Add two limb vectors of the same length > 0 and store sum in a third
limb vector.
Copyright (C) 1992-2020 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
The GNU MP Library is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Pub... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/add_n.S | LGPL-2.1 | d614a7539657941a9201c236b2f15afac18e1213 | github | libc | https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/i386/i686/add_n.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/add_n.S:1 | /* Add two limb vectors of the same length > 0 and store sum in a third
limb vector.
Copyright (C) 1992-2019 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
The GNU MP Library is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Pub... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/add_n.S | LGPL-2.1 | 5a82c74822d3272df2f5929133680478c0cfb4bd | github | libc | https://github.com/bminor/glibc/blob/5a82c74822d3272df2f5929133680478c0cfb4bd/sysdeps/i386/i686/add_n.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/add_n.S:1 | /* Add two limb vectors of the same length > 0 and store sum in a third
limb vector.
Copyright (C) 1992-2019 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
The GNU MP Library is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Pub... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/add_n.S | LGPL-2.1 | 04277e02d7f54d3582bebcf8386b317018cd5e1d | github | libc | https://github.com/bminor/glibc/blob/04277e02d7f54d3582bebcf8386b317018cd5e1d/sysdeps/i386/i686/add_n.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/add_n.S:1 | /* Add two limb vectors of the same length > 0 and store sum in a third
limb vector.
Copyright (C) 1992-2018 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
The GNU MP Library is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Pub... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/add_n.S | LGPL-2.1 | be9ccd27c09ee76c5397125bfa0fefae318a2996 | github | libc | https://github.com/bminor/glibc/blob/be9ccd27c09ee76c5397125bfa0fefae318a2996/sysdeps/i386/i686/add_n.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/add_n.S:1 | /* Add two limb vectors of the same length > 0 and store sum in a third
limb vector.
Copyright (C) 1992-2018 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
The GNU MP Library is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Pub... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/add_n.S | LGPL-2.1 | 688903eb3ef01301d239ab753d309d45720610a7 | github | libc | https://github.com/bminor/glibc/blob/688903eb3ef01301d239ab753d309d45720610a7/sysdeps/i386/i686/add_n.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/add_n.S:1 | /* Add two limb vectors of the same length > 0 and store sum in a third
limb vector.
Copyright (C) 1992-2017 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
The GNU MP Library is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Pub... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/add_n.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/i686/add_n.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/add_n.S:1 | /* Add two limb vectors of the same length > 0 and store sum in a third
limb vector.
Copyright (C) 1992-2016 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
The GNU MP Library is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Pub... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/add_n.S | LGPL-2.1 | f7a9f785e547bd599dee496fd906a28bcb4ec7fe | github | libc | https://github.com/bminor/glibc/blob/f7a9f785e547bd599dee496fd906a28bcb4ec7fe/sysdeps/i386/i686/add_n.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/add_n.S:1 | /* Add two limb vectors of the same length > 0 and store sum in a third
limb vector.
Copyright (C) 1992-2015 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
The GNU MP Library is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Pub... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/add_n.S | LGPL-2.1 | 890b7a4b33d482b5c768ab47d70758b80227e9bc | github | libc | https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/i686/add_n.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/fpu/e_log.S:1 | /*
* Public domain.
*
* Adapted for i686 instructions.
*/
#include <machine/asm.h>
#include <libm-alias-finite.h>
.text
ENTRY(__ieee754_log)
fldln2 // log(2)
fldl 4(%esp) // x : log(2)
fucomi %st
jp 3f
fyl2x // log(x)
ret
3: fstp %st(1)
ret
END (__ieee754_log)
ENTRY(__log_finite)
fldln2 // log(2... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/i686/fpu/e_log.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/fpu/e_log.S | 1 | 29 |
bminor/glibc:sysdeps/i386/i686/fpu/e_log.S:1 | /*
* Written by J.T. Conklin <jtc@netbsd.org>.
* Public domain.
*
* Adapted for i686 instructions.
*/
#include <machine/asm.h>
#include <libm-alias-finite.h>
.text
ENTRY(__ieee754_log)
fldln2 // log(2)
fldl 4(%esp) // x : log(2)
fucomi %st
jp 3f
fyl2x // log(x)
ret
3: fstp %st(1)
ret
END (__ieee754... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/i686/fpu/e_log.S | LGPL-2.1 | 220622dde5704c95a100c2792a280f18f3deba73 | github | libc | https://github.com/bminor/glibc/blob/220622dde5704c95a100c2792a280f18f3deba73/sysdeps/i386/i686/fpu/e_log.S | 1 | 30 |
bminor/glibc:sysdeps/i386/i686/fpu/e_log.S:1 | /*
* Written by J.T. Conklin <jtc@netbsd.org>.
* Public domain.
*
* Adapted for i686 instructions.
*/
#include <machine/asm.h>
.text
ENTRY(__ieee754_log)
fldln2 // log(2)
fldl 4(%esp) // x : log(2)
fucomi %st
jp 3f
fyl2x // log(x)
ret
3: fstp %st(1)
ret
END (__ieee754_log)
ENTRY(__log_finite)
fl... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/i686/fpu/e_log.S | LGPL-2.1 | 890b7a4b33d482b5c768ab47d70758b80227e9bc | github | libc | https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/i686/fpu/e_log.S | 1 | 29 |
bminor/glibc:sysdeps/i386/i686/fpu/e_logf.S:1 | /*
* Written by J.T. Conklin <jtc@netbsd.org>.
* Public domain.
* Adapted for float by Ulrich Drepper <drepper@cygnus.com>.
*
* Adapted for i686 instructions.
*/
#include <machine/asm.h>
.text
ENTRY(__ieee754_logf)
fldln2 // log(2)
flds 4(%esp) // x : log(2)
fucomi %st
jp 3f
fyl2x // log(x)
ret
3:... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/i686/fpu/e_logf.S | LGPL-2.1 | 890b7a4b33d482b5c768ab47d70758b80227e9bc | github | libc | https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/i686/fpu/e_logf.S | 1 | 30 |
bminor/glibc:sysdeps/i386/i686/fpu/e_logl.S:1 | /*
* Public domain.
*
* Adapted for i686 instructions.
*/
#include <machine/asm.h>
#include <libm-alias-finite.h>
.section .rodata.cst8,"aM",@progbits,8
.p2align 3
.type one,@object
one: .double 1.0
ASM_SIZE_DIRECTIVE(one)
/* It is not important that this constant is precise. It is only
a value which i... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/fpu/e_logl.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/fpu/e_logl.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/fpu/e_logl.S:2 | cmpl $0xc000, %eax
jae 5f // x <= -2, avoid overflow from -LDBL_MAX - 1.
fsubl MO(one) // x-1 : x : log(2)
5: fld %st // x-1 : x-1 : x : log(2)
fabs // |x-1| : x-1 : x : log(2)
fldl MO(limit) // 0.29 : |x-1| : x-1 : x : log(2)
fcomip %st(1) // |x-1| : x-1 : x : log(2)
fstp %st(0) // x-1 : x : log(2)
jc 2f... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/fpu/e_logl.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/fpu/e_logl.S | 41 | 93 |
bminor/glibc:sysdeps/i386/i686/fpu/e_logl.S:3 | fstp %st(0) // x-1 : x : log(2)
jc 2b
fxam
fnstsw
andb $0x45, %ah
cmpb $0x40, %ah
jne 6f
fabs // log(1) is +0 in all rounding modes.
6: fstp %st(1) // x-1 : log(2)
fyl2xp1 // log(x)
ret
END(__logl_finite)
libm_alias_finite (__logl_finite, __logl) | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/fpu/e_logl.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/fpu/e_logl.S | 81 | 93 |
bminor/glibc:sysdeps/i386/i686/fpu/e_logl.S:1 | /*
* Public domain.
*
* Adapted for i686 instructions.
*/
#include <machine/asm.h>
#include <libm-alias-finite.h>
.section .rodata.cst8,"aM",@progbits,8
.p2align 3
.type one,@object
one: .double 1.0
ASM_SIZE_DIRECTIVE(one)
/* It is not important that this constant is precise. It is only
a value which i... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/fpu/e_logl.S | LGPL-2.1 | 30891f35fa7da832b66d80d0807610df361851f3 | github | libc | https://github.com/bminor/glibc/blob/30891f35fa7da832b66d80d0807610df361851f3/sysdeps/i386/i686/fpu/e_logl.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/fpu/e_logl.S:2 | cmpl $0xc000, %eax
jae 5f // x <= -2, avoid overflow from -LDBL_MAX - 1.
fsubl MO(one) // x-1 : x : log(2)
5: fld %st // x-1 : x-1 : x : log(2)
fabs // |x-1| : x-1 : x : log(2)
fld MO(limit) // 0.29 : |x-1| : x-1 : x : log(2)
fcomip %st(1) // |x-1| : x-1 : x : log(2)
fstp %st(0) // x-1 : x : log(2)
jc 2f
... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/fpu/e_logl.S | LGPL-2.1 | 30891f35fa7da832b66d80d0807610df361851f3 | github | libc | https://github.com/bminor/glibc/blob/30891f35fa7da832b66d80d0807610df361851f3/sysdeps/i386/i686/fpu/e_logl.S | 41 | 93 |
bminor/glibc:sysdeps/i386/i686/fpu/e_logl.S:1 | /*
* Written by J.T. Conklin <jtc@netbsd.org>.
* Public domain.
*
* Adapted for `long double' by Ulrich Drepper <drepper@cygnus.com>.
* Changed to use fyl2xp1 for values near 1, <drepper@cygnus.com>.
* Adapted for i686 instructions.
*/
#include <machine/asm.h>
#include <libm-alias-finite.h>
.section .rodata.c... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/fpu/e_logl.S | LGPL-2.1 | 220622dde5704c95a100c2792a280f18f3deba73 | github | libc | https://github.com/bminor/glibc/blob/220622dde5704c95a100c2792a280f18f3deba73/sysdeps/i386/i686/fpu/e_logl.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/fpu/e_logl.S:2 | #endif
fld %st // x : x : log(2)
movzwl 4+8(%esp), %eax
cmpl $0xc000, %eax
jae 5f // x <= -2, avoid overflow from -LDBL_MAX - 1.
fsubl MO(one) // x-1 : x : log(2)
5: fld %st // x-1 : x-1 : x : log(2)
fabs // |x-1| : x-1 : x : log(2)
fld MO(limit) // 0.29 : |x-1| : x-1 : x : log(2)
fcomip %st(1) // |x-1| ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/fpu/e_logl.S | LGPL-2.1 | 220622dde5704c95a100c2792a280f18f3deba73 | github | libc | https://github.com/bminor/glibc/blob/220622dde5704c95a100c2792a280f18f3deba73/sysdeps/i386/i686/fpu/e_logl.S | 41 | 96 |
bminor/glibc:sysdeps/i386/i686/fpu/e_logl.S:3 | fabs // |x-1| : x-1 : x : log(2)
fld MO(limit) // 0.29 : |x-1| : x-1 : x : log(2)
fcomip %st(1) // |x-1| : x-1 : x : log(2)
fstp %st(0) // x-1 : x : log(2)
jc 2b
fxam
fnstsw
andb $0x45, %ah
cmpb $0x40, %ah
jne 6f
fabs // log(1) is +0 in all rounding modes.
6: fstp %st(1) // x-1 : log(2)
fyl2xp1 // l... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/fpu/e_logl.S | LGPL-2.1 | 220622dde5704c95a100c2792a280f18f3deba73 | github | libc | https://github.com/bminor/glibc/blob/220622dde5704c95a100c2792a280f18f3deba73/sysdeps/i386/i686/fpu/e_logl.S | 81 | 96 |
bminor/glibc:sysdeps/i386/i686/fpu/e_logl.S:1 | /*
* Written by J.T. Conklin <jtc@netbsd.org>.
* Public domain.
*
* Adapted for `long double' by Ulrich Drepper <drepper@cygnus.com>.
* Changed to use fyl2xp1 for values near 1, <drepper@cygnus.com>.
* Adapted for i686 instructions.
*/
#include <machine/asm.h>
.section .rodata.cst8,"aM",@progbits,8
.p2align... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/fpu/e_logl.S | LGPL-2.1 | df179d88080ad7a733edccc655cf5f6bbec6f8fc | github | libc | https://github.com/bminor/glibc/blob/df179d88080ad7a733edccc655cf5f6bbec6f8fc/sysdeps/i386/i686/fpu/e_logl.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/fpu/e_logl.S:2 | fld %st // x : x : log(2)
movzwl 4+8(%esp), %eax
cmpl $0xc000, %eax
jae 5f // x <= -2, avoid overflow from -LDBL_MAX - 1.
fsubl MO(one) // x-1 : x : log(2)
5: fld %st // x-1 : x-1 : x : log(2)
fabs // |x-1| : x-1 : x : log(2)
fld MO(limit) // 0.29 : |x-1| : x-1 : x : log(2)
fcomip %st(1) // |x-1| : x-1 : ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/fpu/e_logl.S | LGPL-2.1 | df179d88080ad7a733edccc655cf5f6bbec6f8fc | github | libc | https://github.com/bminor/glibc/blob/df179d88080ad7a733edccc655cf5f6bbec6f8fc/sysdeps/i386/i686/fpu/e_logl.S | 41 | 94 |
bminor/glibc:sysdeps/i386/i686/fpu/e_logl.S:3 | fld MO(limit) // 0.29 : |x-1| : x-1 : x : log(2)
fcomip %st(1) // |x-1| : x-1 : x : log(2)
fstp %st(0) // x-1 : x : log(2)
jc 2b
fxam
fnstsw
andb $0x45, %ah
cmpb $0x40, %ah
jne 6f
fabs // log(1) is +0 in all rounding modes.
6: fstp %st(1) // x-1 : log(2)
fyl2xp1 // log(x)
ret
END(__logl_finite) | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/fpu/e_logl.S | LGPL-2.1 | df179d88080ad7a733edccc655cf5f6bbec6f8fc | github | libc | https://github.com/bminor/glibc/blob/df179d88080ad7a733edccc655cf5f6bbec6f8fc/sysdeps/i386/i686/fpu/e_logl.S | 81 | 94 |
bminor/glibc:sysdeps/i386/i686/fpu/e_logl.S:2 | fld %st // x : x : log(2)
movzwl 4+8(%esp), %eax
cmpl $0xc000, %eax
jae 5f // x <= -2, avoid overflow from -LDBL_MAX - 1.
fsubl MO(one) // x-1 : x : log(2)
5: fld %st // x-1 : x-1 : x : log(2)
fabs // |x-1| : x-1 : x : log(2)
fld MO(limit) // 0.29 : |x-1| : x-1 : x : log(2)
fcomip %st(1) // |x-1| : x-1 : ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/fpu/e_logl.S | LGPL-2.1 | 01189b083b8ce54fc568fd2ab0dd433d869ede0e | github | libc | https://github.com/bminor/glibc/blob/01189b083b8ce54fc568fd2ab0dd433d869ede0e/sysdeps/i386/i686/fpu/e_logl.S | 41 | 93 |
bminor/glibc:sysdeps/i386/i686/fpu/e_logl.S:3 | fcomip %st(1) // |x-1| : x-1 : x : log(2)
fstp %st(0) // x-1 : x : log(2)
jc 2b
fxam
fnstsw
andb $0x45, %ah
cmpb $0x40, %ah
jne 6f
fabs // log(1) is +0 in all rounding modes.
6: fstp %st(1) // x-1 : log(2)
fyl2xp1 // log(x)
ret
END(__logl_finite) | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/fpu/e_logl.S | LGPL-2.1 | 01189b083b8ce54fc568fd2ab0dd433d869ede0e | github | libc | https://github.com/bminor/glibc/blob/01189b083b8ce54fc568fd2ab0dd433d869ede0e/sysdeps/i386/i686/fpu/e_logl.S | 81 | 93 |
bminor/glibc:sysdeps/i386/i686/fpu/e_logl.S:2 | fld %st // x : x : log(2)
movzwl 4+8(%esp), %eax
cmpl $0xc000, %eax
jae 5f // x <= -2, avoid overflow from -LDBL_MAX - 1.
fsubl MO(one) // x-1 : x : log(2)
5: fld %st // x-1 : x-1 : x : log(2)
fabs // |x-1| : x-1 : x : log(2)
fld MO(limit) // 0.29 : |x-1| : x-1 : x : log(2)
fcomip %st(1) // |x-1| : x-1 : ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/fpu/e_logl.S | LGPL-2.1 | 890b7a4b33d482b5c768ab47d70758b80227e9bc | github | libc | https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/i686/fpu/e_logl.S | 41 | 87 |
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S:1 | /*
Copyright (C) 2012-2017 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of t... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S | 1 | 22 |
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S:1 | /*
Copyright (C) 2012-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of t... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S | LGPL-2.1 | f7a9f785e547bd599dee496fd906a28bcb4ec7fe | github | libc | https://github.com/bminor/glibc/blob/f7a9f785e547bd599dee496fd906a28bcb4ec7fe/sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S | 1 | 22 |
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S:1 | /*
Copyright (C) 2012-2015 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of t... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S | LGPL-2.1 | 890b7a4b33d482b5c768ab47d70758b80227e9bc | github | libc | https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S | 1 | 22 |
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S:1 | /* SSE2 version of __ieee754_expf and __expf_finite
Copyright (C) 2012-2017 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Fre... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S:2 | * __ieee754_expf_sse2(x) = 1 for subnormals
* for finite argument, only __ieee754_expf_sse2(0)=1 is exact
* __ieee754_expf_sse2(x) overflows if x>700
* __ieee754_expf_sse2(x) underflows if x<-700
*
* Note:
* For |x|<700, __ieee754_expf_sse2 computes result in double precision,
* with accuracy a bit more th... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S | 41 | 100 |
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S:3 | /* Here if |x|<700 */
cmpl $0x31800000, %ecx /* |x|<2^(-28) ? */
jb L(small_arg)
/* Main path: here if 2^(-28)<=|x|<700 */
cvtsd2ss %xmm2, %xmm2 /* SP x*K/log(2)+RS */
movd %xmm2, %eax /* bits of n*K+j with trash */
subss MO1(SP_RS), %xmm2 /* SP t=round(x*K/log(2)) */
movl %eax, %ecx /* n*K+j with trash */
c... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S | 81 | 140 |
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S:4 | lea 4(%esp), %esp /* Return back 4 bytes of stack frame */
ret
.p2align 4
L(small_arg):
/* Here if 0<=|x|<2^(-28) */
movss 4(%esp), %xmm0 /* load x */
addss MO1(SP_ONE), %xmm0 /* 1.0 + x */
/* Return 1.0 with inexact raised, except for x==0 */
jmp L(epilogue)
.p2align 4
L(special_paths):
/* Here if x is Na... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S | 121 | 180 |
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S:5 | /* Here if |x| is Inf */
shrl $31, %eax /* Get sign bit of x */
movss MO2(SP_INF_0,%eax,4), %xmm0/* return zero or Inf, depending on sign of x */
jmp L(epilogue)
.p2align 4
L(arg_nan):
/* Here if |x| is NaN */
addss %xmm0, %xmm0 /* Return x+x (raise invalid) */
.p2align 4
L(epilogue):
lea -4(%esp), %esp /*... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S | 161 | 220 |
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S:6 | .long 0x373aa9cb, 0x3ff371a7
.long 0x34e59ff7, 0x3ff3a7db
.long 0x4c123422, 0x3ff3dea6
.long 0x21f72e2a, 0x3ff4160a
.long 0x6061892d, 0x3ff44e08
.long 0xb5c13cd0, 0x3ff486a2
.long 0xd5362a27, 0x3ff4bfda
.long 0x769d2ca7, 0x3ff4f9b2
.long 0x569d4f82, 0x3ff5342b
.long 0x36b527da, 0x3ff56f47
.long 0xdd485429, 0x... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S | 201 | 260 |
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S:7 | .long 0x337b9b5f, 0x3ffdfc97
.long 0xe78b3ff6, 0x3ffe502e
.long 0xa2a490da, 0x3ffea4af
.long 0xee615a27, 0x3ffefa1b
.long 0x5b6e4540, 0x3fff5076
.long 0x819e90d8, 0x3fffa7c1
.type L(DP_T), @object
ASM_SIZE_DIRECTIVE(L(DP_T))
.section .rodata.cst8,"aM",@progbits,8
.p2align 3
L(DP_KLN2): /* double precision K/l... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S | 241 | 300 |
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S:8 | .p2align 3
L(DP_P2): /* double precision polynomial coefficient P2 */
.long 0xda752d4f, 0x3fc55550
.type L(DP_P2), @object
ASM_SIZE_DIRECTIVE(L(DP_P2))
.p2align 3
L(DP_P0): /* double precision polynomial coefficient P0 */
.long 0xffffe7c6, 0x3fefffff
.type L(DP_P0), @object
ASM_SIZE_DIRECTIVE(L(DP_P0))
.p2ali... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S | 281 | 325 |
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S:1 | /* SSE2 version of __ieee754_expf and __expf_finite
Copyright (C) 2012-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Fre... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S | LGPL-2.1 | f7a9f785e547bd599dee496fd906a28bcb4ec7fe | github | libc | https://github.com/bminor/glibc/blob/f7a9f785e547bd599dee496fd906a28bcb4ec7fe/sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S:1 | /* SSE2 version of __ieee754_expf and __expf_finite
Copyright (C) 2012-2015 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Fre... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S | LGPL-2.1 | 6f0f237bf5a3c8d29a6342cbf8b4c17b10aa1d4c | github | libc | https://github.com/bminor/glibc/blob/6f0f237bf5a3c8d29a6342cbf8b4c17b10aa1d4c/sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S:3 | /* Here if |x|<700 */
cmpl $0x31800000, %ecx /* |x|<2^(-28) ? */
jb L(small_arg)
/* Main path: here if 2^(-28)<=|x|<700 */
cvtsd2ss %xmm2, %xmm2 /* SP x*K/log(2)+RS */
movd %xmm2, %eax /* bits of n*K+j with trash */
subss MO1(SP_RS), %xmm2 /* SP t=round(x*K/log(2)) */
movl %eax, %ecx /* n*K+j with trash */
c... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S | LGPL-2.1 | 890b7a4b33d482b5c768ab47d70758b80227e9bc | github | libc | https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S | 81 | 140 |
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S:4 | ret
.p2align 4
L(small_arg):
/* Here if 0<=|x|<2^(-28) */
movss 4(%esp), %xmm0 /* load x */
addss MO1(SP_ONE), %xmm0 /* 1.0 + x */
/* Return 1.0 with inexact raised, except for x==0 */
jmp L(epilogue)
.p2align 4
L(special_paths):
/* Here if x is NaN, or Inf, or finite |x|>=700 */
movss 4(%esp), %xmm0 /* lo... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S | LGPL-2.1 | 890b7a4b33d482b5c768ab47d70758b80227e9bc | github | libc | https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S | 121 | 180 |
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S:5 | shrl $31, %eax /* Get sign bit of x */
movss MO2(SP_INF_0,%eax,4), %xmm0/* return zero or Inf, depending on sign of x */
jmp L(epilogue)
.p2align 4
L(arg_nan):
/* Here if |x| is NaN */
addss %xmm0, %xmm0 /* Return x+x (raise invalid) */
.p2align 4
L(epilogue):
lea -4(%esp), %esp /* Borrow 4 bytes of stack f... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S | LGPL-2.1 | 890b7a4b33d482b5c768ab47d70758b80227e9bc | github | libc | https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S | 161 | 220 |
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S:6 | .long 0x34e59ff7, 0x3ff3a7db
.long 0x4c123422, 0x3ff3dea6
.long 0x21f72e2a, 0x3ff4160a
.long 0x6061892d, 0x3ff44e08
.long 0xb5c13cd0, 0x3ff486a2
.long 0xd5362a27, 0x3ff4bfda
.long 0x769d2ca7, 0x3ff4f9b2
.long 0x569d4f82, 0x3ff5342b
.long 0x36b527da, 0x3ff56f47
.long 0xdd485429, 0x3ff5ab07
.long 0x15ad2148, 0x... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S | LGPL-2.1 | 890b7a4b33d482b5c768ab47d70758b80227e9bc | github | libc | https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S | 201 | 260 |
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S:7 | .long 0xe78b3ff6, 0x3ffe502e
.long 0xa2a490da, 0x3ffea4af
.long 0xee615a27, 0x3ffefa1b
.long 0x5b6e4540, 0x3fff5076
.long 0x819e90d8, 0x3fffa7c1
.type L(DP_T), @object
ASM_SIZE_DIRECTIVE(L(DP_T))
.section .rodata.cst8,"aM",@progbits,8
.p2align 3
L(DP_KLN2): /* double precision K/log(2) */
.long 0x652b82fe, 0x... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S | LGPL-2.1 | 890b7a4b33d482b5c768ab47d70758b80227e9bc | github | libc | https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S | 241 | 300 |
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S:8 | L(DP_P2): /* double precision polynomial coefficient P2 */
.long 0xda752d4f, 0x3fc55550
.type L(DP_P2), @object
ASM_SIZE_DIRECTIVE(L(DP_P2))
.p2align 3
L(DP_P0): /* double precision polynomial coefficient P0 */
.long 0xffffe7c6, 0x3fefffff
.type L(DP_P0), @object
ASM_SIZE_DIRECTIVE(L(DP_P0))
.p2align 2
L(SP_I... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S | LGPL-2.1 | 890b7a4b33d482b5c768ab47d70758b80227e9bc | github | libc | https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S | 281 | 324 |
bminor/glibc:sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S:1 | /* Optimized with sse2 version of cosf
Copyright (C) 2012-2022 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Fo... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S | 1 | 60 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.