2 * Written by J.T. Conklin <jtc@netbsd.org>.
6 #include <machine/asm.h>
7 /* RCSID("$NetBSD: s_floorf.S,v 1.3 1995/05/09 00:04:32 jtc Exp $") */
14 fstcw -4(%ebp) /* store fpu control word */
16 orw $0x0400,%dx /* round towards -oo */
19 fldcw -8(%ebp) /* load modified control word */
21 flds 8(%ebp); /* round */
24 fldcw -4(%ebp) /* restore original control word */
30 .section .note.GNU-stack,"",%progbits