fix fesetenv(FE_DFL_ENV) on mips
[musl] / src / math / i386 / remainderf.s
index 5b5fc23..6a7378a 100644 (file)
@@ -1,10 +1,13 @@
 .global remainderf
 .type remainderf,@function
 remainderf:
+.weak dremf
+.type dremf,@function
+dremf:
        flds 8(%esp)
        flds 4(%esp)
 1:     fprem1
-       fstsw %ax
+       fnstsw %ax
        sahf
        jp 1b
        fstp %st(1)