- Use ___readcr4 instead of __readcr4, because MSVC doesn't like this intrinsic to be redefined.
- Add _ftol2

svn path=/branches/cmake-bringup/; revision=49679
This commit is contained in:
Timo Kreuzer 2010-11-21 09:36:26 +00:00
parent 1a4c47df9e
commit 0b8509a565
4 changed files with 38 additions and 5 deletions

View file

@ -0,0 +1,28 @@
/*
* 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