mirror of
https://github.com/reactos/reactos.git
synced 2025-06-26 04:29:50 +00:00

- Use ___readcr4 instead of __readcr4, because MSVC doesn't like this intrinsic to be redefined. - Add _ftol2 svn path=/branches/cmake-bringup/; revision=49679
28 lines
621 B
ArmAsm
28 lines
621 B
ArmAsm
/*
|
|
* COPYRIGHT: See COPYING in the top level directory
|
|
* PROJECT: ReactOS kernel
|
|
* PURPOSE: Run-Time Library
|
|
* FILE: lib/rtl/i386/ftol2.S
|
|
* PROGRAMER:
|
|
*
|
|
*/
|
|
|
|
#include <asm.inc>
|
|
|
|
EXTERN __ftol:PROC
|
|
PUBLIC __ftol2
|
|
PUBLIC __ftol2_sse
|
|
|
|
/* FUNCTIONS ***************************************************************/
|
|
.code
|
|
|
|
/*
|
|
* This routine is called by MSVC-generated code to convert from floating point
|
|
* to integer representation. The floating point number to be converted is
|
|
* on the top of the floating point stack.
|
|
*/
|
|
__ftol2:
|
|
__ftol2_sse:
|
|
jmp __ftol
|
|
|
|
END
|