[ASM]
[reactos.git] / reactos / lib / sdk / crt / math / i386 / ftol2_asm.s
1 /*
2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS kernel
4 * PURPOSE: Run-Time Library
5 * FILE: lib/rtl/i386/ftol2.S
6 * PROGRAMER:
7 *
8 */
9
10 #include <asm.inc>
11
12 EXTERN __ftol:PROC
13 PUBLIC __ftol2
14 PUBLIC __ftol2_sse
15
16 /* FUNCTIONS ***************************************************************/
17 .code
18
19 /*
20 * This routine is called by MSVC-generated code to convert from floating point
21 * to integer representation. The floating point number to be converted is
22 * on the top of the floating point stack.
23 */
24 __ftol2:
25 __ftol2_sse:
26 jmp __ftol
27
28 END