2 * Written by J.T. Conklin <jtc@netbsd.org>.
3 * Changes for long double by Ulrich Drepper <drepper@cygnus.com>
7 #include <machine/asm.h>
16 fstcw -4(%ebp) /* store fpu control word */
18 orw $0x0800,%dx /* round towards +oo */
21 fldcw -8(%ebp) /* load modfied control word */
23 fldt 8(%ebp); /* round */
26 fldcw -4(%ebp) /* restore original control word */
30 weak_alias (__ceill, ceill)