2
* This file has no copyright assigned and is placed in the Public Domain.
3
* This file is part of the w64 mingw-runtime package.
4
* No warranty is given; refer to the file DISCLAIMER.PD within this package.
6
#include <_mingw_mac.h>
11
.globl __MINGW_USYMBOL(ceilf)
12
.def __MINGW_USYMBOL(ceilf); .scl 2; .type 32; .endef
13
__MINGW_USYMBOL(ceilf):
19
fstcw 4(%rsp) /* store fpu control word */
21
movl $0x0800,%edx /* round towards +oo */
25
fldcw (%rsp) /* load modified control word */
29
fldcw 4(%rsp) /* restore original control word */
38
fstcw 4(%esp) /* store fpu control word */
40
/* We use here %edx although only the low 1 bits are defined.
41
But none of the operations should care and they are faster
42
than the 16 bit operations. */
43
movl $0x0800,%edx /* round towards +oo */
47
fldcw (%esp) /* load modified control word */
51
fldcw 4(%esp) /* restore original control word */