blob: ab1da95dd02fd8060b29297fd0930fe721a5bf5d [file] [log] [blame]
.global remainder
.type remainder,@function
remainder:
.weak drem
.type drem,@function
drem:
fldl 12(%esp)
fldl 4(%esp)
1: fprem1
fnstsw %ax
sahf
jp 1b
fstp %st(1)
ret