12345678910111213141516171819202122232425262728293031323334 |
- #include <i387/bsd_asm.h>
- ENTRY(ceil)
- pushl %ebp
- movl %esp,%ebp
- subl $8,%esp
- fstcw -4(%ebp)
- movw -4(%ebp),%dx
- orw $0x0800,%dx
- andw $0xfbff,%dx
- movw %dx,-8(%ebp)
- fldcw -8(%ebp)
- fldl 8(%ebp);
- frndint
- fldcw -4(%ebp)
- leave
- ret
- END(ceil)
-
- #if defined(__linux__) && defined(__ELF__)
- .section .note.GNU-stack,"",%progbits
- #endif
|