diff options
Diffstat (limited to 'sysdeps/libm-i387/e_remainderf.S')
-rw-r--r-- | sysdeps/libm-i387/e_remainderf.S | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/sysdeps/libm-i387/e_remainderf.S b/sysdeps/libm-i387/e_remainderf.S new file mode 100644 index 0000000000..ed578ea542 --- /dev/null +++ b/sysdeps/libm-i387/e_remainderf.S @@ -0,0 +1,18 @@ +/* + * Written by J.T. Conklin <jtc@netbsd.org>. + * Public domain. + */ + +#include <machine/asm.h> + +RCSID("$NetBSD: e_remainderf.S,v 1.2 1995/05/08 23:49:47 jtc Exp $") + +ENTRY(__ieee754_remainderf) + flds 8(%esp) + flds 4(%esp) +1: fprem1 + fstsw %ax + sahf + jp 1b + fstpl %st(1) + ret |