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/s_cbrt.S:1 | /* Compute cubic root of double value.
Copyright (C) 1997-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 Software Fo... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrt.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/fpu/s_cbrt.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_cbrt.S:2 | f2: .double 1.50819193781584896
ASM_SIZE_DIRECTIVE(f2)
.type f1,@object
f1: .double 0.354895765043919860
ASM_SIZE_DIRECTIVE(f1)
#define CBRT2 1.2599210498948731648
#define ONE_CBRT2 0.793700525984099737355196796584
#define SQR_CBRT2 1.5874010519681994748
#define ONE_SQR_CBRT2 0.62996052494743658236443967388... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrt.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/fpu/s_cbrt.S | 41 | 100 |
bminor/glibc:sysdeps/i386/fpu/s_cbrt.S:3 | cmpl $0x7ff00000, %eax
jae 1f
#ifdef PIC
pushl %ebx
cfi_adjust_cfa_offset (4)
cfi_rel_offset (ebx, 0)
LOAD_PIC_REG (bx)
#endif
cmpl $0x00100000, %eax
jae 2f
#ifdef PIC
fldl 8(%esp)
#else
fldl 4(%esp)
#endif
fmull MO(two54)
movl $-54, %ecx
#ifdef PIC
fstpl 8(%esp)
movl 12(%esp), %eax
#else
fstpl 4(%esp)... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrt.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/fpu/s_cbrt.S | 81 | 140 |
bminor/glibc:sysdeps/i386/fpu/s_cbrt.S:4 | movl %edx, 8(%esp)
fldl 4(%esp) /* xm */
#endif
fabs
/* The following code has two tracks:
a) compute the normalized cbrt value
b) compute xe/3 and xe%3
The right track computes the value for b) and this is done
in an optimized way by avoiding division.
But why two tracks at all? Very eas... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrt.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/fpu/s_cbrt.S | 121 | 180 |
bminor/glibc:sysdeps/i386/fpu/s_cbrt.S:5 | fadd %st /* 2*xm : u*u : u : xm */
fxch %st(1) /* u*u : 2*xm : u : xm */
fmul %st(2) /* t2:=u*u*u : 2*xm : u : xm */
movl %edx, %eax
fadd %st, %st(1) /* t2 : t2+2*xm : u : xm */
leal (%edx,%edx,2),%edx
fadd %st(0) /* 2*t2 : t2+2*xm : u : xm */
subl %edx, %ecx
faddp %st, %st(3) /* t2+2*xm : u : 2... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrt.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/fpu/s_cbrt.S | 161 | 199 |
bminor/glibc:sysdeps/i386/fpu/s_cbrt.S:1 | /* Compute cubic root of double value.
Copyright (C) 1997-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 Software Fo... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrt.S | LGPL-2.1 | 2642002380aafb71a1d3b569b6d7ebeab3284816 | github | libc | https://github.com/bminor/glibc/blob/2642002380aafb71a1d3b569b6d7ebeab3284816/sysdeps/i386/fpu/s_cbrt.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_cbrt.S:1 | /* Compute cubic root of double value.
Copyright (C) 1997-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 Software Fo... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrt.S | LGPL-2.1 | dff8da6b3e89b986bb7f6b1ec18cf65d5972e307 | github | libc | https://github.com/bminor/glibc/blob/dff8da6b3e89b986bb7f6b1ec18cf65d5972e307/sysdeps/i386/fpu/s_cbrt.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_cbrt.S:1 | /* Compute cubic root of double value.
Copyright (C) 1997-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 Software Fo... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrt.S | LGPL-2.1 | 6d7e8eda9b85b08f207a6dc6f187e94e4817270f | github | libc | https://github.com/bminor/glibc/blob/6d7e8eda9b85b08f207a6dc6f187e94e4817270f/sysdeps/i386/fpu/s_cbrt.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_cbrt.S:1 | /* Compute cubic root of double value.
Copyright (C) 1997-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/fpu/s_cbrt.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/fpu/s_cbrt.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_cbrt.S:1 | /* Compute cubic root of double value.
Copyright (C) 1997-2021 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Fo... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrt.S | LGPL-2.1 | 30891f35fa7da832b66d80d0807610df361851f3 | github | libc | https://github.com/bminor/glibc/blob/30891f35fa7da832b66d80d0807610df361851f3/sysdeps/i386/fpu/s_cbrt.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_cbrt.S:1 | /* Compute cubic root of double value.
Copyright (C) 1997-2021 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Dirk Alboth <dirka@uni-paderborn.de> and
Ulrich Drepper <drepper@cygnus.com>, 1997.
The GNU C Library is free software; you can redistribute it and/or
m... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrt.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/fpu/s_cbrt.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_cbrt.S:2 | ASM_SIZE_DIRECTIVE(f3)
.type f2,@object
f2: .double 1.50819193781584896
ASM_SIZE_DIRECTIVE(f2)
.type f1,@object
f1: .double 0.354895765043919860
ASM_SIZE_DIRECTIVE(f1)
#define CBRT2 1.2599210498948731648
#define ONE_CBRT2 0.793700525984099737355196796584
#define SQR_CBRT2 1.5874010519681994748
#defi... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrt.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/fpu/s_cbrt.S | 41 | 100 |
bminor/glibc:sysdeps/i386/fpu/s_cbrt.S:3 | jz 1f
xorl %ecx, %ecx
cmpl $0x7ff00000, %eax
jae 1f
#ifdef PIC
pushl %ebx
cfi_adjust_cfa_offset (4)
cfi_rel_offset (ebx, 0)
LOAD_PIC_REG (bx)
#endif
cmpl $0x00100000, %eax
jae 2f
#ifdef PIC
fldl 8(%esp)
#else
fldl 4(%esp)
#endif
fmull MO(two54)
movl $-54, %ecx
#ifdef PIC
fstpl 8(%esp)
movl 12(%esp), %... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrt.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/fpu/s_cbrt.S | 81 | 140 |
bminor/glibc:sysdeps/i386/fpu/s_cbrt.S:4 | fldl 8(%esp) /* xm */
#else
movl %edx, 8(%esp)
fldl 4(%esp) /* xm */
#endif
fabs
/* The following code has two tracks:
a) compute the normalized cbrt value
b) compute xe/3 and xe%3
The right track computes the value for b) and this is done
in an optimized way by avoiding division.
But w... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrt.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/fpu/s_cbrt.S | 121 | 180 |
bminor/glibc:sysdeps/i386/fpu/s_cbrt.S:5 | fmul %st(1) /* u*u : u : xm */
fld %st(2) /* xm : u*u : u : xm */
fadd %st /* 2*xm : u*u : u : xm */
fxch %st(1) /* u*u : 2*xm : u : xm */
fmul %st(2) /* t2:=u*u*u : 2*xm : u : xm */
movl %edx, %eax
fadd %st, %st(1) /* t2 : t2+2*xm : u : xm */
leal (%edx,%edx,2),%edx
fadd %st(0) /* 2*t2 : t2+2*... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrt.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/fpu/s_cbrt.S | 161 | 201 |
bminor/glibc:sysdeps/i386/fpu/s_cbrt.S:1 | /* Compute cubic root of double value.
Copyright (C) 1997-2020 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Dirk Alboth <dirka@uni-paderborn.de> and
Ulrich Drepper <drepper@cygnus.com>, 1997.
The GNU C Library is free software; you can redistribute it and/or
m... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrt.S | LGPL-2.1 | d614a7539657941a9201c236b2f15afac18e1213 | github | libc | https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/i386/fpu/s_cbrt.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_cbrt.S:1 | /* Compute cubic root of double value.
Copyright (C) 1997-2019 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Dirk Alboth <dirka@uni-paderborn.de> and
Ulrich Drepper <drepper@cygnus.com>, 1997.
The GNU C Library is free software; you can redistribute it and/or
m... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrt.S | LGPL-2.1 | 5a82c74822d3272df2f5929133680478c0cfb4bd | github | libc | https://github.com/bminor/glibc/blob/5a82c74822d3272df2f5929133680478c0cfb4bd/sysdeps/i386/fpu/s_cbrt.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_cbrt.S:1 | /* Compute cubic root of double value.
Copyright (C) 1997-2019 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Dirk Alboth <dirka@uni-paderborn.de> and
Ulrich Drepper <drepper@cygnus.com>, 1997.
The GNU C Library is free software; you can redistribute it and/or
m... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrt.S | LGPL-2.1 | 04277e02d7f54d3582bebcf8386b317018cd5e1d | github | libc | https://github.com/bminor/glibc/blob/04277e02d7f54d3582bebcf8386b317018cd5e1d/sysdeps/i386/fpu/s_cbrt.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_cbrt.S:1 | /* Compute cubic root of double value.
Copyright (C) 1997-2018 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Dirk Alboth <dirka@uni-paderborn.de> and
Ulrich Drepper <drepper@cygnus.com>, 1997.
The GNU C Library is free software; you can redistribute it and/or
m... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrt.S | LGPL-2.1 | 688903eb3ef01301d239ab753d309d45720610a7 | github | libc | https://github.com/bminor/glibc/blob/688903eb3ef01301d239ab753d309d45720610a7/sysdeps/i386/fpu/s_cbrt.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_cbrt.S:1 | /* Compute cubic root of double value.
Copyright (C) 1997-2017 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Dirk Alboth <dirka@uni-paderborn.de> and
Ulrich Drepper <drepper@cygnus.com>, 1997.
The GNU C Library is free software; you can redistribute it and/or
m... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrt.S | LGPL-2.1 | bc4e8f9b49950c982f22d4f4c602a972a63abf65 | github | libc | https://github.com/bminor/glibc/blob/bc4e8f9b49950c982f22d4f4c602a972a63abf65/sysdeps/i386/fpu/s_cbrt.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_cbrt.S:1 | /* Compute cubic root of double value.
Copyright (C) 1997-2017 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Dirk Alboth <dirka@uni-paderborn.de> and
Ulrich Drepper <drepper@cygnus.com>, 1997.
The GNU C Library is free software; you can redistribute it and/or
m... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrt.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/fpu/s_cbrt.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_cbrt.S:2 | .type f2,@object
f2: .double 1.50819193781584896
ASM_SIZE_DIRECTIVE(f2)
.type f1,@object
f1: .double 0.354895765043919860
ASM_SIZE_DIRECTIVE(f1)
#define CBRT2 1.2599210498948731648
#define ONE_CBRT2 0.793700525984099737355196796584
#define SQR_CBRT2 1.5874010519681994748
#define ONE_SQR_CBRT2 0.629960524947... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrt.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/fpu/s_cbrt.S | 41 | 100 |
bminor/glibc:sysdeps/i386/fpu/s_cbrt.S:3 | xorl %ecx, %ecx
cmpl $0x7ff00000, %eax
jae 1f
#ifdef PIC
pushl %ebx
cfi_adjust_cfa_offset (4)
cfi_rel_offset (ebx, 0)
LOAD_PIC_REG (bx)
#endif
cmpl $0x00100000, %eax
jae 2f
#ifdef PIC
fldl 8(%esp)
#else
fldl 4(%esp)
#endif
fmull MO(two54)
movl $-54, %ecx
#ifdef PIC
fstpl 8(%esp)
movl 12(%esp), %eax
#el... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrt.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/fpu/s_cbrt.S | 81 | 140 |
bminor/glibc:sysdeps/i386/fpu/s_cbrt.S:4 | #else
movl %edx, 8(%esp)
fldl 4(%esp) /* xm */
#endif
fabs
/* The following code has two tracks:
a) compute the normalized cbrt value
b) compute xe/3 and xe%3
The right track computes the value for b) and this is done
in an optimized way by avoiding division.
But why two tracks at all? V... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrt.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/fpu/s_cbrt.S | 121 | 180 |
bminor/glibc:sysdeps/i386/fpu/s_cbrt.S:5 | fld %st(2) /* xm : u*u : u : xm */
fadd %st /* 2*xm : u*u : u : xm */
fxch %st(1) /* u*u : 2*xm : u : xm */
fmul %st(2) /* t2:=u*u*u : 2*xm : u : xm */
movl %edx, %eax
fadd %st, %st(1) /* t2 : t2+2*xm : u : xm */
leal (%edx,%edx,2),%edx
fadd %st(0) /* 2*t2 : t2+2*xm : u : xm */
subl %edx, %ecx
... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrt.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/fpu/s_cbrt.S | 161 | 200 |
bminor/glibc:sysdeps/i386/fpu/s_cbrt.S:1 | /* Compute cubic root of double value.
Copyright (C) 1997-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Dirk Alboth <dirka@uni-paderborn.de> and
Ulrich Drepper <drepper@cygnus.com>, 1997.
The GNU C Library is free software; you can redistribute it and/or
m... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrt.S | LGPL-2.1 | f7a9f785e547bd599dee496fd906a28bcb4ec7fe | github | libc | https://github.com/bminor/glibc/blob/f7a9f785e547bd599dee496fd906a28bcb4ec7fe/sysdeps/i386/fpu/s_cbrt.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_cbrt.S:1 | /* Compute cubic root of double value.
Copyright (C) 1997-2015 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Dirk Alboth <dirka@uni-paderborn.de> and
Ulrich Drepper <drepper@cygnus.com>, 1997.
The GNU C Library is free software; you can redistribute it and/or
m... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrt.S | LGPL-2.1 | 890b7a4b33d482b5c768ab47d70758b80227e9bc | github | libc | https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/fpu/s_cbrt.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_cbrtf.S:1 | /* Compute cubic root of float value.
Copyright (C) 1997-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 Software Fou... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrtf.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/fpu/s_cbrtf.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_cbrtf.S:2 | .align ALIGNARG(4)
factor: .double ONE_SQR_CBRT2
.double ONE_CBRT2
.double 1.0
.double CBRT2
.double SQR_CBRT2
ASM_SIZE_DIRECTIVE(factor)
.type two25,@object
two25: .byte 0, 0, 0, 0x4c
ASM_SIZE_DIRECTIVE(two25)
#ifdef PIC
#define MO(op) op##@GOTOFF(%ebx)
#define MOX(op,x) op##@GOTOFF(%ebx,x,1)
#e... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrtf.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/fpu/s_cbrtf.S | 41 | 100 |
bminor/glibc:sysdeps/i386/fpu/s_cbrtf.S:3 | #ifdef PIC
flds 8(%esp)
#else
flds 4(%esp)
#endif
fmuls MO(two25)
movl $-25, %ecx
#ifdef PIC
fstps 8(%esp)
movl 8(%esp), %eax
#else
fstps 4(%esp)
movl 4(%esp), %eax
#endif
movl %eax, %edx
andl $0x7fffffff, %eax
2: shrl $23, %eax
andl $0x807fffff, %edx
subl $126, %eax
orl $0x3f000000, %edx
addl %eax, %ecx... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrtf.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/fpu/s_cbrtf.S | 81 | 140 |
bminor/glibc:sysdeps/i386/fpu/s_cbrtf.S:4 | instruction can overlap with a certain amount of integer (and
FP) instructions. So we get (except for the imull) all
instructions for free. */
fld %st(0) /* xm : xm */
fmull MO(f3) /* f3*xm : xm */
movl $1431655766, %eax
fsubrl MO(f2) /* f2-f3*xm : xm */
imull %ecx
fmul %st(1) /* (f2-f3*xm)... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrtf.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/fpu/s_cbrtf.S | 121 | 176 |
bminor/glibc:sysdeps/i386/fpu/s_cbrtf.S:5 | cfi_adjust_cfa_offset (-4)
cfi_restore (ebx)
#else
movl 4(%esp), %eax
#endif
testl %eax, %eax
fstp %st(1)
jns 4f
fchs
4: ret
/* Return the argument. */
1: flds 4(%esp)
ret
END(__cbrtf)
libm_alias_float (__cbrt, cbrt) | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrtf.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/fpu/s_cbrtf.S | 161 | 176 |
bminor/glibc:sysdeps/i386/fpu/s_cbrtf.S:1 | /* Compute cubic root of float value.
Copyright (C) 1997-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 Software Fou... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrtf.S | LGPL-2.1 | 2642002380aafb71a1d3b569b6d7ebeab3284816 | github | libc | https://github.com/bminor/glibc/blob/2642002380aafb71a1d3b569b6d7ebeab3284816/sysdeps/i386/fpu/s_cbrtf.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_cbrtf.S:1 | /* Compute cubic root of float value.
Copyright (C) 1997-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 Software Fou... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrtf.S | LGPL-2.1 | dff8da6b3e89b986bb7f6b1ec18cf65d5972e307 | github | libc | https://github.com/bminor/glibc/blob/dff8da6b3e89b986bb7f6b1ec18cf65d5972e307/sysdeps/i386/fpu/s_cbrtf.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_cbrtf.S:1 | /* Compute cubic root of float value.
Copyright (C) 1997-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 Software Fou... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrtf.S | LGPL-2.1 | 6d7e8eda9b85b08f207a6dc6f187e94e4817270f | github | libc | https://github.com/bminor/glibc/blob/6d7e8eda9b85b08f207a6dc6f187e94e4817270f/sysdeps/i386/fpu/s_cbrtf.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_cbrtf.S:1 | /* Compute cubic root of float value.
Copyright (C) 1997-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 Fou... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrtf.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/fpu/s_cbrtf.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_cbrtf.S:1 | /* Compute cubic root of float value.
Copyright (C) 1997-2021 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Fou... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrtf.S | LGPL-2.1 | 30891f35fa7da832b66d80d0807610df361851f3 | github | libc | https://github.com/bminor/glibc/blob/30891f35fa7da832b66d80d0807610df361851f3/sysdeps/i386/fpu/s_cbrtf.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_cbrtf.S:1 | /* Compute cubic root of float value.
Copyright (C) 1997-2021 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Dirk Alboth <dirka@uni-paderborn.de> and
Ulrich Drepper <drepper@cygnus.com>, 1997.
The GNU C Library is free software; you can redistribute it and/or
mo... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrtf.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/fpu/s_cbrtf.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_cbrtf.S:2 | .type factor,@object
.align ALIGNARG(4)
factor: .double ONE_SQR_CBRT2
.double ONE_CBRT2
.double 1.0
.double CBRT2
.double SQR_CBRT2
ASM_SIZE_DIRECTIVE(factor)
.type two25,@object
two25: .byte 0, 0, 0, 0x4c
ASM_SIZE_DIRECTIVE(two25)
#ifdef PIC
#define MO(op) op##@GOTOFF(%ebx)
#define MOX(o... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrtf.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/fpu/s_cbrtf.S | 41 | 100 |
bminor/glibc:sysdeps/i386/fpu/s_cbrtf.S:3 | jae 2f
#ifdef PIC
flds 8(%esp)
#else
flds 4(%esp)
#endif
fmuls MO(two25)
movl $-25, %ecx
#ifdef PIC
fstps 8(%esp)
movl 8(%esp), %eax
#else
fstps 4(%esp)
movl 4(%esp), %eax
#endif
movl %eax, %edx
andl $0x7fffffff, %eax
2: shrl $23, %eax
andl $0x807fffff, %edx
subl $126, %eax
orl $0x3f000000, %edx
addl %e... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrtf.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/fpu/s_cbrtf.S | 81 | 140 |
bminor/glibc:sysdeps/i386/fpu/s_cbrtf.S:4 | But why two tracks at all? Very easy: efficiency. Some FP
instruction can overlap with a certain amount of integer (and
FP) instructions. So we get (except for the imull) all
instructions for free. */
fld %st(0) /* xm : xm */
fmull MO(f3) /* f3*xm : xm */
movl $1431655766, %eax
fsubrl MO(f2) ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrtf.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/fpu/s_cbrtf.S | 121 | 178 |
bminor/glibc:sysdeps/i386/fpu/s_cbrtf.S:5 | movl 8(%esp), %eax
popl %ebx
cfi_adjust_cfa_offset (-4)
cfi_restore (ebx)
#else
movl 4(%esp), %eax
#endif
testl %eax, %eax
fstp %st(1)
jns 4f
fchs
4: ret
/* Return the argument. */
1: flds 4(%esp)
ret
END(__cbrtf)
libm_alias_float (__cbrt, cbrt) | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrtf.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/fpu/s_cbrtf.S | 161 | 178 |
bminor/glibc:sysdeps/i386/fpu/s_cbrtf.S:1 | /* Compute cubic root of float value.
Copyright (C) 1997-2020 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Dirk Alboth <dirka@uni-paderborn.de> and
Ulrich Drepper <drepper@cygnus.com>, 1997.
The GNU C Library is free software; you can redistribute it and/or
mo... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrtf.S | LGPL-2.1 | d614a7539657941a9201c236b2f15afac18e1213 | github | libc | https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/i386/fpu/s_cbrtf.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_cbrtf.S:1 | /* Compute cubic root of float value.
Copyright (C) 1997-2019 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Dirk Alboth <dirka@uni-paderborn.de> and
Ulrich Drepper <drepper@cygnus.com>, 1997.
The GNU C Library is free software; you can redistribute it and/or
mo... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrtf.S | LGPL-2.1 | 5a82c74822d3272df2f5929133680478c0cfb4bd | github | libc | https://github.com/bminor/glibc/blob/5a82c74822d3272df2f5929133680478c0cfb4bd/sysdeps/i386/fpu/s_cbrtf.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_cbrtf.S:1 | /* Compute cubic root of float value.
Copyright (C) 1997-2019 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Dirk Alboth <dirka@uni-paderborn.de> and
Ulrich Drepper <drepper@cygnus.com>, 1997.
The GNU C Library is free software; you can redistribute it and/or
mo... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrtf.S | LGPL-2.1 | 04277e02d7f54d3582bebcf8386b317018cd5e1d | github | libc | https://github.com/bminor/glibc/blob/04277e02d7f54d3582bebcf8386b317018cd5e1d/sysdeps/i386/fpu/s_cbrtf.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_cbrtf.S:1 | /* Compute cubic root of float value.
Copyright (C) 1997-2018 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Dirk Alboth <dirka@uni-paderborn.de> and
Ulrich Drepper <drepper@cygnus.com>, 1997.
The GNU C Library is free software; you can redistribute it and/or
mo... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrtf.S | LGPL-2.1 | 688903eb3ef01301d239ab753d309d45720610a7 | github | libc | https://github.com/bminor/glibc/blob/688903eb3ef01301d239ab753d309d45720610a7/sysdeps/i386/fpu/s_cbrtf.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_cbrtf.S:1 | /* Compute cubic root of float value.
Copyright (C) 1997-2017 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Dirk Alboth <dirka@uni-paderborn.de> and
Ulrich Drepper <drepper@cygnus.com>, 1997.
The GNU C Library is free software; you can redistribute it and/or
mo... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrtf.S | LGPL-2.1 | e4602cba2fb919546bee0eacbd10ab8ade7b7b6f | github | libc | https://github.com/bminor/glibc/blob/e4602cba2fb919546bee0eacbd10ab8ade7b7b6f/sysdeps/i386/fpu/s_cbrtf.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_cbrtf.S:1 | /* Compute cubic root of float value.
Copyright (C) 1997-2017 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Dirk Alboth <dirka@uni-paderborn.de> and
Ulrich Drepper <drepper@cygnus.com>, 1997.
The GNU C Library is free software; you can redistribute it and/or
mo... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrtf.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/fpu/s_cbrtf.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_cbrtf.S:2 | .type factor,@object
.align ALIGNARG(4)
factor: .double ONE_SQR_CBRT2
.double ONE_CBRT2
.double 1.0
.double CBRT2
.double SQR_CBRT2
ASM_SIZE_DIRECTIVE(factor)
.type two25,@object
two25: .byte 0, 0, 0, 0x4c
ASM_SIZE_DIRECTIVE(two25)
#ifdef PIC
#define MO(op) op##@GOTOFF(%ebx)
#define MOX(o... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrtf.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/fpu/s_cbrtf.S | 41 | 100 |
bminor/glibc:sysdeps/i386/fpu/s_cbrtf.S:3 | #ifdef PIC
flds 8(%esp)
#else
flds 4(%esp)
#endif
fmuls MO(two25)
movl $-25, %ecx
#ifdef PIC
fstps 8(%esp)
movl 8(%esp), %eax
#else
fstps 4(%esp)
movl 4(%esp), %eax
#endif
movl %eax, %edx
andl $0x7fffffff, %eax
2: shrl $23, %eax
andl $0x807fffff, %edx
subl $126, %eax
orl $0x3f000000, %edx
addl %eax, %ecx... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrtf.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/fpu/s_cbrtf.S | 81 | 140 |
bminor/glibc:sysdeps/i386/fpu/s_cbrtf.S:4 | But why two tracks at all? Very easy: efficiency. Some FP
instruction can overlap with a certain amount of integer (and
FP) instructions. So we get (except for the imull) all
instructions for free. */
fld %st(0) /* xm : xm */
fmull MO(f3) /* f3*xm : xm */
movl $1431655766, %eax
fsubrl MO(f2) ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrtf.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/fpu/s_cbrtf.S | 121 | 177 |
bminor/glibc:sysdeps/i386/fpu/s_cbrtf.S:5 | popl %ebx
cfi_adjust_cfa_offset (-4)
cfi_restore (ebx)
#else
movl 4(%esp), %eax
#endif
testl %eax, %eax
fstp %st(1)
jns 4f
fchs
4: ret
/* Return the argument. */
1: flds 4(%esp)
ret
END(__cbrtf)
weak_alias (__cbrtf, cbrtf) | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrtf.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/fpu/s_cbrtf.S | 161 | 177 |
bminor/glibc:sysdeps/i386/fpu/s_cbrtf.S:1 | /* Compute cubic root of float value.
Copyright (C) 1997-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Dirk Alboth <dirka@uni-paderborn.de> and
Ulrich Drepper <drepper@cygnus.com>, 1997.
The GNU C Library is free software; you can redistribute it and/or
mo... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrtf.S | LGPL-2.1 | f7a9f785e547bd599dee496fd906a28bcb4ec7fe | github | libc | https://github.com/bminor/glibc/blob/f7a9f785e547bd599dee496fd906a28bcb4ec7fe/sysdeps/i386/fpu/s_cbrtf.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_cbrtf.S:1 | /* Compute cubic root of float value.
Copyright (C) 1997-2015 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Dirk Alboth <dirka@uni-paderborn.de> and
Ulrich Drepper <drepper@cygnus.com>, 1997.
The GNU C Library is free software; you can redistribute it and/or
mo... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrtf.S | LGPL-2.1 | 890b7a4b33d482b5c768ab47d70758b80227e9bc | github | libc | https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/fpu/s_cbrtf.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_cbrtl.S:1 | /* Compute cubic root of long double value.
Copyright (C) 1997-2026 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Softwa... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrtl.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/fpu/s_cbrtl.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_cbrtl.S:2 | f5: .quad 0x839186562c931c34 /* -4.11151425200350531 */
.short 0xc001
ASM_SIZE_DIRECTIVE(f5)
.align ALIGNARG(4)
.type f4,@object
f4: .quad 0x830f25c9ee304594 /* 4.09559907378707839 */
.short 0x4001
ASM_SIZE_DIRECTIVE(f4)
.align ALIGNARG(4)
.type f3,@object
f3: .quad 0xb4b... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrtl.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/fpu/s_cbrtl.S | 41 | 100 |
bminor/glibc:sysdeps/i386/fpu/s_cbrtl.S:3 | /* cbrt (2.0) = 1.2599210498948731648 */
.quad 0xa14517cc6b945711
.short 0x3fff
.byte 0, 0, 0, 0, 0, 0
/* cbrt (2.0) ^ 2 = 1.5874010519681994748 */
.quad 0xcb2ff529eb71e416
.short 0x3fff
ASM_SIZE_DIRECTIVE(factor)
.type two64,@object
.align ALIGNARG(4)
two64: .byte 0, 0, 0, 0, 0, 0, 0xf0, 0x4... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrtl.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/fpu/s_cbrtl.S | 81 | 140 |
bminor/glibc:sysdeps/i386/fpu/s_cbrtl.S:4 | #endif
cmpl $0, %eax
jne 2f
#ifdef PIC
fldt 8(%esp)
#else
fldt 4(%esp)
#endif
fmull MO(two64)
movl $-64, %ecx
#ifdef PIC
fstpt 8(%esp)
movl 16(%esp), %eax
#else
fstpt 4(%esp)
movl 12(%esp), %eax
#endif
movl %eax, %edx
andl $0x7fff, %eax
2: andl $0x8000, %edx
subl $16382, %eax
orl $0x3ffe, %edx
addl %e... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrtl.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/fpu/s_cbrtl.S | 121 | 180 |
bminor/glibc:sysdeps/i386/fpu/s_cbrtl.S:5 | The right track computes the value for b) and this is done
in an optimized way by avoiding division.
But why two tracks at all? Very easy: efficiency. Some FP
instruction can overlap with a certain amount of integer (and
FP) instructions. So we get (except for the imull) all
instructions for fre... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrtl.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/fpu/s_cbrtl.S | 161 | 220 |
bminor/glibc:sysdeps/i386/fpu/s_cbrtl.S:6 | fadd %st /* 2*xm : u*u : u : xm */
fxch %st(1) /* u*u : 2*xm : u : xm */
fmul %st(2) /* t2:=u*u*u : 2*xm : u : xm */
movl %edx, %eax
fadd %st, %st(1) /* t2 : t2+2*xm : u : xm */
leal (%edx,%edx,2),%edx
fadd %st(0) /* 2*t2 : t2+2*xm : u : xm */
subl %edx, %ecx
faddp %st, %st(3) /* t2+2*xm : u : 2... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrtl.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/fpu/s_cbrtl.S | 201 | 241 |
bminor/glibc:sysdeps/i386/fpu/s_cbrtl.S:1 | /* Compute cubic root of long double value.
Copyright (C) 1997-2025 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Softwa... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrtl.S | LGPL-2.1 | 2642002380aafb71a1d3b569b6d7ebeab3284816 | github | libc | https://github.com/bminor/glibc/blob/2642002380aafb71a1d3b569b6d7ebeab3284816/sysdeps/i386/fpu/s_cbrtl.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_cbrtl.S:1 | /* Compute cubic root of long double value.
Copyright (C) 1997-2024 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Softwa... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrtl.S | LGPL-2.1 | dff8da6b3e89b986bb7f6b1ec18cf65d5972e307 | github | libc | https://github.com/bminor/glibc/blob/dff8da6b3e89b986bb7f6b1ec18cf65d5972e307/sysdeps/i386/fpu/s_cbrtl.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_cbrtl.S:1 | /* Compute cubic root of long double value.
Copyright (C) 1997-2023 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Softwa... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrtl.S | LGPL-2.1 | 6d7e8eda9b85b08f207a6dc6f187e94e4817270f | github | libc | https://github.com/bminor/glibc/blob/6d7e8eda9b85b08f207a6dc6f187e94e4817270f/sysdeps/i386/fpu/s_cbrtl.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_cbrtl.S:1 | /* Compute cubic root of long double value.
Copyright (C) 1997-2022 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Softwa... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrtl.S | LGPL-2.1 | 114e299ca66353fa7be1ee45bb4e1307d3de1fa2 | github | libc | https://github.com/bminor/glibc/blob/114e299ca66353fa7be1ee45bb4e1307d3de1fa2/sysdeps/i386/fpu/s_cbrtl.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_cbrtl.S:1 | /* Compute cubic root of long double value.
Copyright (C) 1997-2022 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Softwa... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrtl.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/fpu/s_cbrtl.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_cbrtl.S:2 | .type f4,@object
f4: .tfloat 4.09559907378707839
ASM_SIZE_DIRECTIVE(f4)
.align ALIGNARG(4)
.type f3,@object
f3: .tfloat -2.82414939754975962
ASM_SIZE_DIRECTIVE(f3)
.align ALIGNARG(4)
.type f2,@object
f2: .tfloat 1.67595307700780102
ASM_SIZE_DIRECTIVE(f2)
.align ALIGNARG(4)
... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrtl.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/fpu/s_cbrtl.S | 41 | 100 |
bminor/glibc:sysdeps/i386/fpu/s_cbrtl.S:3 | #ifdef PIC
#define MO(op) op##@GOTOFF(%ebx)
#define MOX(op,x) op##@GOTOFF(%ebx,x,1)
#else
#define MO(op) op
#define MOX(op,x) op(x)
#endif
.text
ENTRY(__cbrtl)
movl 4(%esp), %ecx
movl 12(%esp), %eax
orl 8(%esp), %ecx
movl %eax, %edx
andl $0x7fff, %eax
orl %eax, %ecx
jz 1f
xorl %ecx, %ecx
cmpl $0x7fff, %eax
... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrtl.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/fpu/s_cbrtl.S | 81 | 140 |
bminor/glibc:sysdeps/i386/fpu/s_cbrtl.S:4 | fstpt 8(%esp)
movl 16(%esp), %eax
#else
fstpt 4(%esp)
movl 12(%esp), %eax
#endif
movl %eax, %edx
andl $0x7fff, %eax
2: andl $0x8000, %edx
subl $16382, %eax
orl $0x3ffe, %edx
addl %eax, %ecx
#ifdef PIC
movl %edx, 16(%esp)
fldt 8(%esp) /* xm */
#else
movl %edx, 12(%esp)
fldt 4(%esp) /* xm */
#endif
fa... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrtl.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/fpu/s_cbrtl.S | 121 | 180 |
bminor/glibc:sysdeps/i386/fpu/s_cbrtl.S:5 | fmul %st(1) /* (f7+f8*xm)*xm : xm */
movl $1431655766, %eax
fldt MO(f6)
faddp /* f6+(f7+f8*xm)*xm : xm */
imull %ecx
fmul %st(1) /* (f6+(f7+f8*xm)*xm)*xm : xm */
movl %ecx, %eax
fldt MO(f5)
faddp /* f5+(f6+(f7+f8*xm)*xm)*xm : xm */
sarl $31, %eax
fmul %st(1) /* (f5+(f6+(f7+f8*xm)*xm)*xm)*x... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrtl.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/fpu/s_cbrtl.S | 161 | 220 |
bminor/glibc:sysdeps/i386/fpu/s_cbrtl.S:6 | fmulp /* u*(t2+2*xm)/(2*t2+xm)*FACT */
pushl %eax
cfi_adjust_cfa_offset (4)
fildl (%esp) /* xe/3 : u*(t2+2*xm)/(2*t2+xm)*FACT */
fxch /* u*(t2+2*xm)/(2*t2+xm)*FACT : xe/3 */
fscale /* u*(t2+2*xm)/(2*t2+xm)*FACT*2^xe/3 */
popl %edx
cfi_adjust_cfa_offset (-4)
#ifdef PIC
movl 16(%esp), %eax
popl %ebx
... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrtl.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/fpu/s_cbrtl.S | 201 | 228 |
bminor/glibc:sysdeps/i386/fpu/s_cbrtl.S:1 | /* Compute cubic root of long double value.
Copyright (C) 1997-2021 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Softwa... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrtl.S | LGPL-2.1 | 30891f35fa7da832b66d80d0807610df361851f3 | github | libc | https://github.com/bminor/glibc/blob/30891f35fa7da832b66d80d0807610df361851f3/sysdeps/i386/fpu/s_cbrtl.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_cbrtl.S:1 | /* Compute cubic root of long double value.
Copyright (C) 1997-2021 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Dirk Alboth <dirka@uni-paderborn.de> and
Ulrich Drepper <drepper@cygnus.com>, 1997.
The GNU C Library is free software; you can redistribute it and/or... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrtl.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/fpu/s_cbrtl.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_cbrtl.S:2 | ASM_SIZE_DIRECTIVE(f5)
.align ALIGNARG(4)
.type f4,@object
f4: .tfloat 4.09559907378707839
ASM_SIZE_DIRECTIVE(f4)
.align ALIGNARG(4)
.type f3,@object
f3: .tfloat -2.82414939754975962
ASM_SIZE_DIRECTIVE(f3)
.align ALIGNARG(4)
.type f2,@object
f2: .tfloat 1.67595307700780... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrtl.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/fpu/s_cbrtl.S | 41 | 100 |
bminor/glibc:sysdeps/i386/fpu/s_cbrtl.S:3 | two64: .byte 0, 0, 0, 0, 0, 0, 0xf0, 0x43
ASM_SIZE_DIRECTIVE(two64)
#ifdef PIC
#define MO(op) op##@GOTOFF(%ebx)
#define MOX(op,x) op##@GOTOFF(%ebx,x,1)
#else
#define MO(op) op
#define MOX(op,x) op(x)
#endif
.text
ENTRY(__cbrtl)
movl 4(%esp), %ecx
movl 12(%esp), %eax
orl 8(%esp), %ecx
movl %eax, %edx
an... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrtl.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/fpu/s_cbrtl.S | 81 | 140 |
bminor/glibc:sysdeps/i386/fpu/s_cbrtl.S:4 | movl $-64, %ecx
#ifdef PIC
fstpt 8(%esp)
movl 16(%esp), %eax
#else
fstpt 4(%esp)
movl 12(%esp), %eax
#endif
movl %eax, %edx
andl $0x7fff, %eax
2: andl $0x8000, %edx
subl $16382, %eax
orl $0x3ffe, %edx
addl %eax, %ecx
#ifdef PIC
movl %edx, 16(%esp)
fldt 8(%esp) /* xm */
#else
movl %edx, 12(%esp)
fldt 4... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrtl.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/fpu/s_cbrtl.S | 121 | 180 |
bminor/glibc:sysdeps/i386/fpu/s_cbrtl.S:5 | fldt MO(f7)
faddp /* f7+f8*xm : xm */
fmul %st(1) /* (f7+f8*xm)*xm : xm */
movl $1431655766, %eax
fldt MO(f6)
faddp /* f6+(f7+f8*xm)*xm : xm */
imull %ecx
fmul %st(1) /* (f6+(f7+f8*xm)*xm)*xm : xm */
movl %ecx, %eax
fldt MO(f5)
faddp /* f5+(f6+(f7+f8*xm)*xm)*xm : xm */
sarl $31, %eax
fm... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrtl.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/fpu/s_cbrtl.S | 161 | 220 |
bminor/glibc:sysdeps/i386/fpu/s_cbrtl.S:6 | fdivp %st, %st(1) /* u*(t2+2*xm)/(2*t2+xm) */
fldt MOX(32+factor,%ecx)
fmulp /* u*(t2+2*xm)/(2*t2+xm)*FACT */
pushl %eax
cfi_adjust_cfa_offset (4)
fildl (%esp) /* xe/3 : u*(t2+2*xm)/(2*t2+xm)*FACT */
fxch /* u*(t2+2*xm)/(2*t2+xm)*FACT : xe/3 */
fscale /* u*(t2+2*xm)/(2*t2+xm)*FACT*2^xe/3 */
popl %ed... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrtl.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/fpu/s_cbrtl.S | 201 | 230 |
bminor/glibc:sysdeps/i386/fpu/s_cbrtl.S:1 | /* Compute cubic root of long double value.
Copyright (C) 1997-2020 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Dirk Alboth <dirka@uni-paderborn.de> and
Ulrich Drepper <drepper@cygnus.com>, 1997.
The GNU C Library is free software; you can redistribute it and/or... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrtl.S | LGPL-2.1 | d614a7539657941a9201c236b2f15afac18e1213 | github | libc | https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/i386/fpu/s_cbrtl.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_cbrtl.S:1 | /* Compute cubic root of long double value.
Copyright (C) 1997-2019 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Dirk Alboth <dirka@uni-paderborn.de> and
Ulrich Drepper <drepper@cygnus.com>, 1997.
The GNU C Library is free software; you can redistribute it and/or... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrtl.S | LGPL-2.1 | 5a82c74822d3272df2f5929133680478c0cfb4bd | github | libc | https://github.com/bminor/glibc/blob/5a82c74822d3272df2f5929133680478c0cfb4bd/sysdeps/i386/fpu/s_cbrtl.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_cbrtl.S:1 | /* Compute cubic root of long double value.
Copyright (C) 1997-2019 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Dirk Alboth <dirka@uni-paderborn.de> and
Ulrich Drepper <drepper@cygnus.com>, 1997.
The GNU C Library is free software; you can redistribute it and/or... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrtl.S | LGPL-2.1 | 04277e02d7f54d3582bebcf8386b317018cd5e1d | github | libc | https://github.com/bminor/glibc/blob/04277e02d7f54d3582bebcf8386b317018cd5e1d/sysdeps/i386/fpu/s_cbrtl.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_cbrtl.S:1 | /* Compute cubic root of long double value.
Copyright (C) 1997-2018 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Dirk Alboth <dirka@uni-paderborn.de> and
Ulrich Drepper <drepper@cygnus.com>, 1997.
The GNU C Library is free software; you can redistribute it and/or... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrtl.S | LGPL-2.1 | 688903eb3ef01301d239ab753d309d45720610a7 | github | libc | https://github.com/bminor/glibc/blob/688903eb3ef01301d239ab753d309d45720610a7/sysdeps/i386/fpu/s_cbrtl.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_cbrtl.S:1 | /* Compute cubic root of long double value.
Copyright (C) 1997-2017 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Dirk Alboth <dirka@uni-paderborn.de> and
Ulrich Drepper <drepper@cygnus.com>, 1997.
The GNU C Library is free software; you can redistribute it and/or... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrtl.S | LGPL-2.1 | 2ce30701e6df07deda6fb205808769d237aa2460 | github | libc | https://github.com/bminor/glibc/blob/2ce30701e6df07deda6fb205808769d237aa2460/sysdeps/i386/fpu/s_cbrtl.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_cbrtl.S:1 | /* Compute cubic root of long double value.
Copyright (C) 1997-2017 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Dirk Alboth <dirka@uni-paderborn.de> and
Ulrich Drepper <drepper@cygnus.com>, 1997.
The GNU C Library is free software; you can redistribute it and/or... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrtl.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/fpu/s_cbrtl.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_cbrtl.S:2 | .align ALIGNARG(4)
.type f4,@object
f4: .tfloat 4.09559907378707839
ASM_SIZE_DIRECTIVE(f4)
.align ALIGNARG(4)
.type f3,@object
f3: .tfloat -2.82414939754975962
ASM_SIZE_DIRECTIVE(f3)
.align ALIGNARG(4)
.type f2,@object
f2: .tfloat 1.67595307700780102
ASM_SIZE_DIRECTIVE(f2)
... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrtl.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/fpu/s_cbrtl.S | 41 | 100 |
bminor/glibc:sysdeps/i386/fpu/s_cbrtl.S:3 | ASM_SIZE_DIRECTIVE(two64)
#ifdef PIC
#define MO(op) op##@GOTOFF(%ebx)
#define MOX(op,x) op##@GOTOFF(%ebx,x,1)
#else
#define MO(op) op
#define MOX(op,x) op(x)
#endif
.text
ENTRY(__cbrtl)
movl 4(%esp), %ecx
movl 12(%esp), %eax
orl 8(%esp), %ecx
movl %eax, %edx
andl $0x7fff, %eax
orl %eax, %ecx
jz 1f
xorl %ecx,... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrtl.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/fpu/s_cbrtl.S | 81 | 140 |
bminor/glibc:sysdeps/i386/fpu/s_cbrtl.S:4 | #ifdef PIC
fstpt 8(%esp)
movl 16(%esp), %eax
#else
fstpt 4(%esp)
movl 12(%esp), %eax
#endif
movl %eax, %edx
andl $0x7fff, %eax
2: andl $0x8000, %edx
subl $16382, %eax
orl $0x3ffe, %edx
addl %eax, %ecx
#ifdef PIC
movl %edx, 16(%esp)
fldt 8(%esp) /* xm */
#else
movl %edx, 12(%esp)
fldt 4(%esp) /* xm *... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrtl.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/fpu/s_cbrtl.S | 121 | 180 |
bminor/glibc:sysdeps/i386/fpu/s_cbrtl.S:5 | faddp /* f7+f8*xm : xm */
fmul %st(1) /* (f7+f8*xm)*xm : xm */
movl $1431655766, %eax
fldt MO(f6)
faddp /* f6+(f7+f8*xm)*xm : xm */
imull %ecx
fmul %st(1) /* (f6+(f7+f8*xm)*xm)*xm : xm */
movl %ecx, %eax
fldt MO(f5)
faddp /* f5+(f6+(f7+f8*xm)*xm)*xm : xm */
sarl $31, %eax
fmul %st(1) /... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrtl.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/fpu/s_cbrtl.S | 161 | 220 |
bminor/glibc:sysdeps/i386/fpu/s_cbrtl.S:6 | fldt MOX(32+factor,%ecx)
fmulp /* u*(t2+2*xm)/(2*t2+xm)*FACT */
pushl %eax
cfi_adjust_cfa_offset (4)
fildl (%esp) /* xe/3 : u*(t2+2*xm)/(2*t2+xm)*FACT */
fxch /* u*(t2+2*xm)/(2*t2+xm)*FACT : xe/3 */
fscale /* u*(t2+2*xm)/(2*t2+xm)*FACT*2^xe/3 */
popl %edx
cfi_adjust_cfa_offset (-4)
#ifdef PIC
movl 1... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrtl.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/fpu/s_cbrtl.S | 201 | 229 |
bminor/glibc:sysdeps/i386/fpu/s_cbrtl.S:1 | /* Compute cubic root of long double value.
Copyright (C) 1997-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Dirk Alboth <dirka@uni-paderborn.de> and
Ulrich Drepper <drepper@cygnus.com>, 1997.
The GNU C Library is free software; you can redistribute it and/or... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrtl.S | LGPL-2.1 | 40720ec9f98d57214d73d6fa98019e684f2eb45a | github | libc | https://github.com/bminor/glibc/blob/40720ec9f98d57214d73d6fa98019e684f2eb45a/sysdeps/i386/fpu/s_cbrtl.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_cbrtl.S:6 | fldt MOX(32+factor,%ecx)
fmulp /* u*(t2+2*xm)/(2*t2+xm)*FACT */
pushl %eax
cfi_adjust_cfa_offset (4)
fildl (%esp) /* xe/3 : u*(t2+2*xm)/(2*t2+xm)*FACT */
fxch /* u*(t2+2*xm)/(2*t2+xm)*FACT : xe/3 */
fscale /* u*(t2+2*xm)/(2*t2+xm)*FACT*2^xe/3 */
popl %edx
cfi_adjust_cfa_offset (-4)
#ifdef PIC
movl 1... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrtl.S | LGPL-2.1 | f7a9f785e547bd599dee496fd906a28bcb4ec7fe | github | libc | https://github.com/bminor/glibc/blob/f7a9f785e547bd599dee496fd906a28bcb4ec7fe/sysdeps/i386/fpu/s_cbrtl.S | 201 | 228 |
bminor/glibc:sysdeps/i386/fpu/s_cbrtl.S:1 | /* Compute cubic root of long double value.
Copyright (C) 1997-2015 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Dirk Alboth <dirka@uni-paderborn.de> and
Ulrich Drepper <drepper@cygnus.com>, 1997.
The GNU C Library is free software; you can redistribute it and/or... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_cbrtl.S | LGPL-2.1 | 890b7a4b33d482b5c768ab47d70758b80227e9bc | github | libc | https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/fpu/s_cbrtl.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/s_ceil.S:1 | /*
* Public domain.
*/
#include <machine/asm.h>
#include <libm-alias-double.h>
RCSID("$NetBSD: s_ceil.S,v 1.4 1995/05/08 23:52:13 jtc Exp $")
ENTRY(__ceil)
fldl 4(%esp)
subl $32,%esp
cfi_adjust_cfa_offset (32)
fnstenv 4(%esp) /* store fpu environment */
/* We use here %edx although only the low 1 bits are... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/fpu/s_ceil.S | LGPL-2.1 | 30891f35fa7da832b66d80d0807610df361851f3 | github | libc | https://github.com/bminor/glibc/blob/30891f35fa7da832b66d80d0807610df361851f3/sysdeps/i386/fpu/s_ceil.S | 1 | 34 |
bminor/glibc:sysdeps/i386/fpu/s_ceil.S:1 | /*
* Written by J.T. Conklin <jtc@netbsd.org>.
* Public domain.
*/
#include <machine/asm.h>
#include <libm-alias-double.h>
RCSID("$NetBSD: s_ceil.S,v 1.4 1995/05/08 23:52:13 jtc Exp $")
ENTRY(__ceil)
fldl 4(%esp)
subl $32,%esp
cfi_adjust_cfa_offset (32)
fnstenv 4(%esp) /* store fpu environment */
/* We u... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/fpu/s_ceil.S | LGPL-2.1 | bc4e8f9b49950c982f22d4f4c602a972a63abf65 | github | libc | https://github.com/bminor/glibc/blob/bc4e8f9b49950c982f22d4f4c602a972a63abf65/sysdeps/i386/fpu/s_ceil.S | 1 | 35 |
bminor/glibc:sysdeps/i386/fpu/s_ceil.S:1 | /*
* Written by J.T. Conklin <jtc@netbsd.org>.
* Public domain.
*/
#include <machine/asm.h>
RCSID("$NetBSD: s_ceil.S,v 1.4 1995/05/08 23:52:13 jtc Exp $")
ENTRY(__ceil)
fldl 4(%esp)
subl $32,%esp
cfi_adjust_cfa_offset (32)
fnstenv 4(%esp) /* store fpu environment */
/* We use here %edx although only the ... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/fpu/s_ceil.S | LGPL-2.1 | 26b0bf96000a825ad3381be52ebd8adf2afc785f | github | libc | https://github.com/bminor/glibc/blob/26b0bf96000a825ad3381be52ebd8adf2afc785f/sysdeps/i386/fpu/s_ceil.S | 1 | 34 |
bminor/glibc:sysdeps/i386/fpu/s_ceil.S:1 | /*
* Written by J.T. Conklin <jtc@netbsd.org>.
* Public domain.
*/
#include <machine/asm.h>
RCSID("$NetBSD: s_ceil.S,v 1.4 1995/05/08 23:52:13 jtc Exp $")
ENTRY(__ceil)
fldl 4(%esp)
subl $8,%esp
cfi_adjust_cfa_offset (8)
fstcw 4(%esp) /* store fpu control word */
/* We use here %edx although only the low... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/fpu/s_ceil.S | LGPL-2.1 | 890b7a4b33d482b5c768ab47d70758b80227e9bc | github | libc | https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/fpu/s_ceil.S | 1 | 34 |
bminor/glibc:sysdeps/i386/fpu/s_ceilf.S:1 | /*
* Public domain.
*/
#include <machine/asm.h>
#include <libm-alias-float.h>
RCSID("$NetBSD: s_ceilf.S,v 1.3 1995/05/08 23:52:44 jtc Exp $")
ENTRY(__ceilf)
flds 4(%esp)
subl $32,%esp
cfi_adjust_cfa_offset (32)
fnstenv 4(%esp) /* store fpu environment */
/* We use here %edx although only the low 1 bits ar... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/fpu/s_ceilf.S | LGPL-2.1 | 30891f35fa7da832b66d80d0807610df361851f3 | github | libc | https://github.com/bminor/glibc/blob/30891f35fa7da832b66d80d0807610df361851f3/sysdeps/i386/fpu/s_ceilf.S | 1 | 34 |
bminor/glibc:sysdeps/i386/fpu/s_ceilf.S:1 | /*
* Written by J.T. Conklin <jtc@netbsd.org>.
* Public domain.
*/
#include <machine/asm.h>
#include <libm-alias-float.h>
RCSID("$NetBSD: s_ceilf.S,v 1.3 1995/05/08 23:52:44 jtc Exp $")
ENTRY(__ceilf)
flds 4(%esp)
subl $32,%esp
cfi_adjust_cfa_offset (32)
fnstenv 4(%esp) /* store fpu environment */
/* We ... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/fpu/s_ceilf.S | LGPL-2.1 | e4602cba2fb919546bee0eacbd10ab8ade7b7b6f | github | libc | https://github.com/bminor/glibc/blob/e4602cba2fb919546bee0eacbd10ab8ade7b7b6f/sysdeps/i386/fpu/s_ceilf.S | 1 | 35 |
bminor/glibc:sysdeps/i386/fpu/s_ceilf.S:1 | /*
* Written by J.T. Conklin <jtc@netbsd.org>.
* Public domain.
*/
#include <machine/asm.h>
RCSID("$NetBSD: s_ceilf.S,v 1.3 1995/05/08 23:52:44 jtc Exp $")
ENTRY(__ceilf)
flds 4(%esp)
subl $32,%esp
cfi_adjust_cfa_offset (32)
fnstenv 4(%esp) /* store fpu environment */
/* We use here %edx although only th... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/fpu/s_ceilf.S | LGPL-2.1 | 26b0bf96000a825ad3381be52ebd8adf2afc785f | github | libc | https://github.com/bminor/glibc/blob/26b0bf96000a825ad3381be52ebd8adf2afc785f/sysdeps/i386/fpu/s_ceilf.S | 1 | 34 |
bminor/glibc:sysdeps/i386/fpu/s_ceilf.S:1 | /*
* Written by J.T. Conklin <jtc@netbsd.org>.
* Public domain.
*/
#include <machine/asm.h>
RCSID("$NetBSD: s_ceilf.S,v 1.3 1995/05/08 23:52:44 jtc Exp $")
ENTRY(__ceilf)
flds 4(%esp)
subl $8,%esp
cfi_adjust_cfa_offset (8)
fstcw 4(%esp) /* store fpu control word */
/* We use here %edx although only the l... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/fpu/s_ceilf.S | LGPL-2.1 | 890b7a4b33d482b5c768ab47d70758b80227e9bc | github | libc | https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/fpu/s_ceilf.S | 1 | 34 |
bminor/glibc:sysdeps/i386/fpu/s_ceill.S:1 | /*
* Public domain.
*/
#include <libm-alias-ldouble.h>
#include <machine/asm.h>
RCSID("$NetBSD: $")
ENTRY(__ceill)
fldt 4(%esp)
subl $32,%esp
cfi_adjust_cfa_offset (32)
fnstenv 4(%esp) /* store fpu environment */
/* We use here %edx although only the low 1 bits are defined.
But none of the operations ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/fpu/s_ceill.S | LGPL-2.1 | 30891f35fa7da832b66d80d0807610df361851f3 | github | libc | https://github.com/bminor/glibc/blob/30891f35fa7da832b66d80d0807610df361851f3/sysdeps/i386/fpu/s_ceill.S | 1 | 39 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.