/* $OpenBSD: e_remainder.S,v 1.4 2008/09/07 20:36:08 martynas Exp $ */ /* * Written by J.T. Conklin . * Public domain. */ #include ENTRY(remainder) fldl 12(%esp) fldl 4(%esp) 1: fprem1 fstsw %ax sahf jp 1b fstp %st(1) ret