summaryrefslogtreecommitdiff
path: root/src/math/i386/remainder.s
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2014-01-08 22:51:46 +0100
committerSzabolcs Nagy <nsz@port70.net>2014-01-08 22:51:46 +0100
commitbcff807dc3c1f07db61dae804086b8183bf5df7b (patch)
tree9dd2146bbbeaf591904c230c8d4b43a308246041 /src/math/i386/remainder.s
parent289294220f278a291452332da8f45cf756f57fe5 (diff)
downloadmusl-bcff807dc3c1f07db61dae804086b8183bf5df7b.tar.gz
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/i386/remainder.s')
-rw-r--r--src/math/i386/remainder.s3
1 files changed, 3 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