2 * Based on code written by J.T. Conklin <jtc@NetBSD.org>.
5 * $FreeBSD: head/lib/msun/i387/s_ceill.S 217108 2011-01-07 16:13:12Z kib $
8 #include <machine/asm.h>
15 fstcw -4(%ebp) /* store fpu control word */
17 orw $0x0800,%dx /* round towards +oo */
20 fldcw -8(%ebp) /* load modfied control word */
22 fldt 8(%ebp) /* round */
25 fldcw -4(%ebp) /* restore original control word */
31 .section .note.GNU-stack,"",%progbits