rework langinfo code for ABI compat and for use by time code
[musl] / src / math / x86_64 / remainderl.s
1 .global remainderl
2 .type remainderl,@function
3 remainderl:
4         fldt 24(%rsp)
5         fldt 8(%rsp)
6 1:      fprem1
7         fstsw %ax
8         sahf
9         jp 1b
10         fstp %st(1)
11         ret