timerfd: add time64 syscall support, decouple 32-bit time_t
[musl] / src / math / x32 / fmodl.s
index 9e4378a..c3f790c 100644 (file)
@@ -4,8 +4,8 @@ fmodl:
        fldt 24(%esp)
        fldt 8(%esp)
 1:     fprem
-       fstsw %ax
-       sahf
-       jp 1b
+       fnstsw %ax
+       testb $4,%ah
+       jnz 1b
        fstp %st(1)
        ret