diff options
author | Szabolcs Nagy <nsz@port70.net> | 2014-01-08 22:51:46 +0100 |
---|---|---|
committer | Szabolcs Nagy <nsz@port70.net> | 2014-01-08 22:51:46 +0100 |
commit | bcff807dc3c1f07db61dae804086b8183bf5df7b (patch) | |
tree | 9dd2146bbbeaf591904c230c8d4b43a308246041 /src/math | |
parent | 289294220f278a291452332da8f45cf756f57fe5 (diff) | |
download | musl-bcff807dc3c1f07db61dae804086b8183bf5df7b.tar.gz musl-bcff807dc3c1f07db61dae804086b8183bf5df7b.tar.bz2 musl-bcff807dc3c1f07db61dae804086b8183bf5df7b.tar.xz musl-bcff807dc3c1f07db61dae804086b8183bf5df7b.zip |
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.
Diffstat (limited to 'src/math')
-rw-r--r-- | src/math/i386/remainder.s | 3 | ||||
-rw-r--r-- | src/math/i386/remainderf.s | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/math/i386/remainder.s b/src/math/i386/remainder.s index 47ee3402..7f4be051 100644 --- a/src/math/i386/remainder.s +++ b/src/math/i386/remainder.s @@ -1,6 +1,9 @@ .global remainder .type remainder,@function remainder: +.weak drem +.type drem,@function +drem: fldl 12(%esp) fldl 4(%esp) 1: fprem1 diff --git a/src/math/i386/remainderf.s b/src/math/i386/remainderf.s index 5b5fc235..ac6e3677 100644 --- a/src/math/i386/remainderf.s +++ b/src/math/i386/remainderf.s @@ -1,6 +1,9 @@ .global remainderf .type remainderf,@function remainderf: +.weak dremf +.type dremf,@function +dremf: flds 8(%esp) flds 4(%esp) 1: fprem1 |