mirror of
git://git.musl-libc.org/musl
synced 2025-02-09 15:37:10 +00:00
math: add drem and dremf weak aliases to i386 remainder asm
weak_alias was only in the c code, so drem was missing on platforms where remainder is implemented in asm.
This commit is contained in:
parent
289294220f
commit
bcff807dc3
@ -1,6 +1,9 @@
|
|||||||
.global remainder
|
.global remainder
|
||||||
.type remainder,@function
|
.type remainder,@function
|
||||||
remainder:
|
remainder:
|
||||||
|
.weak drem
|
||||||
|
.type drem,@function
|
||||||
|
drem:
|
||||||
fldl 12(%esp)
|
fldl 12(%esp)
|
||||||
fldl 4(%esp)
|
fldl 4(%esp)
|
||||||
1: fprem1
|
1: fprem1
|
||||||
|
@ -1,6 +1,9 @@
|
|||||||
.global remainderf
|
.global remainderf
|
||||||
.type remainderf,@function
|
.type remainderf,@function
|
||||||
remainderf:
|
remainderf:
|
||||||
|
.weak dremf
|
||||||
|
.type dremf,@function
|
||||||
|
dremf:
|
||||||
flds 8(%esp)
|
flds 8(%esp)
|
||||||
flds 4(%esp)
|
flds 4(%esp)
|
||||||
1: fprem1
|
1: fprem1
|
||||||
|
Loading…
Reference in New Issue
Block a user