math: use fnstsw consistently instead of fstsw in x87 asm
[musl] / src / math / i386 / remainderf.s
1 .global remainderf
2 .type remainderf,@function
3 remainderf:
4 .weak dremf
5 .type dremf,@function
6 dremf:
7         flds 8(%esp)
8         flds 4(%esp)
9 1:      fprem1
10         fnstsw %ax
11         sahf
12         jp 1b
13         fstp %st(1)
14         ret