49d1a4c562
also start prefering NtDll API. so far: * NtQueryInformationFile * NtClose adds a performance workaround for windows unicode conversion. but that should probably be removed before merging
41 lines
768 B
ArmAsm
41 lines
768 B
ArmAsm
/**
|
|
* 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 "scalbnf.S"
|
|
.text
|
|
#ifdef __x86_64__
|
|
.align 8
|
|
#else
|
|
.align 4
|
|
#endif
|
|
.globl __MINGW_USYMBOL(scalbnf)
|
|
.def __MINGW_USYMBOL(scalbnf); .scl 2; .type 32; .endef
|
|
__MINGW_USYMBOL(scalbnf):
|
|
#ifdef __x86_64__
|
|
subq $24, %rsp
|
|
movq %rdx,(%rsp)
|
|
fildl (%rsp)
|
|
movss %xmm0,(%rsp)
|
|
flds (%rsp)
|
|
fscale
|
|
fstp %st(1)
|
|
fstps (%rsp)
|
|
movss (%rsp),%xmm0
|
|
addq $24, %rsp
|
|
ret
|
|
#else
|
|
fildl 8(%esp)
|
|
flds 4(%esp)
|
|
fscale
|
|
fstp %st(1)
|
|
ret
|
|
#endif
|
|
|
|
.globl __MINGW_USYMBOL(scalblnf)
|
|
.set __MINGW_USYMBOL(scalblnf),__MINGW_USYMBOL(scalbnf)
|
|
|