]> git.proxmox.com Git - wasi-libc.git/blob - libc-top-half/musl/src/math/i386/remainderl.s
Add basic emulation of getcwd/chdir (#214)
[wasi-libc.git] / libc-top-half / musl / src / math / i386 / remainderl.s
1 .global remainderl
2 .type remainderl,@function
3 remainderl:
4 fldt 16(%esp)
5 fldt 4(%esp)
6 1: fprem1
7 fnstsw %ax
8 sahf
9 jp 1b
10 fstp %st(1)
11 ret