2 * Based on code written by J.T. Conklin <jtc@NetBSD.org>.
6 #include <machine/asm.h>
12 fstcw -4(%ebp) /* store fpu control word */
14 orw $0x0800,%dx /* round towards +oo */
17 fldcw -8(%ebp) /* load modified control word */
19 fldt 8(%ebp) /* round */
22 fldcw -4(%ebp) /* restore original control word */
28 .section .note.GNU-stack,"",%progbits