/* $OpenBSD: e_fmod.S,v 1.3 2005/08/02 11:17:31 espie Exp $ */ /* * Written by J.T. Conklin . * Public domain. */ #include ENTRY(__ieee754_fmod) fldl 12(%esp) fldl 4(%esp) 1: fprem fstsw %ax sahf jp 1b fstp %st(1) ret