assembly optimizations for fmod/remainder functions
[musl] / src / math / i386 / fmod.s
1 .global fmod
2 .type fmod,@function
3 fmod:
4         fldl 12(%esp)
5         fldl 4(%esp)
6 1:      fprem
7         fstsw %ax
8         sahf
9         jp 1b
10         fstp %st(1)
11         ret