2 * Based on code written by J.T. Conklin <jtc@NetBSD.org>.
6 #include <machine/asm.h>
14 fstcw -4(%ebp) /* store fpu control word */
16 orw $0x0400,%dx /* round towards -oo */
19 fldcw -8(%ebp) /* load modfied control word */
21 fldt 8(%ebp) /* round */
24 fldcw -4(%ebp) /* restore original control word */