blob: b17ce2bd1dbda8e29b687c72a1ea8c5c8a4089cc [file] [log] [blame]
/**
* This file has no copyright assigned and is placed in the Public Domain.
* This file is part of the mingw-w64 runtime package.
* No warranty is given; refer to the file DISCLAIMER.PD within this package.
*/
#include <_mingw_mac.h>
.file "nearbyint.S"
.text
.align 2
.globl __MINGW_USYMBOL(nearbyint)
.def __MINGW_USYMBOL(nearbyint); .scl 2; .type 32; .endef
__MINGW_USYMBOL(nearbyint):
mrs x1, fpcr
frintx d0, d0
msr fpcr, x1
ret