math: use fnstsw consistently instead of fstsw in x87 asm
[musl] / src / math / x86_64 / fmodl.s
1 .global fmodl
2 .type fmodl,@function
3 fmodl:
4         fldt 24(%rsp)
5         fldt 8(%rsp)
6 1:      fprem
7         fnstsw %ax
8         testb $4,%ah
9         jnz 1b
10         fstp %st(1)
11         ret