mirror of
https://github.com/reactos/reactos.git
synced 2024-09-22 18:45:51 +00:00
84b1635034
- Add #pragma function to a number of intrisics that we implement to avoid a compiler error of MSVC - Add a workaround to prevent some functions from being inlined - Move sqrtf out of i386 directory - Convert a number of inline assembly functions to raw assembly svn path=/branches/cmake-bringup/; revision=49534
30 lines
373 B
ArmAsm
30 lines
373 B
ArmAsm
|
|
#include <reactos/asm.h>
|
|
|
|
PUBLIC _exp
|
|
|
|
/* FUNCTIONS ***************************************************************/
|
|
.code
|
|
|
|
_exp:
|
|
push ebp
|
|
mov ebp, esp
|
|
|
|
fld qword ptr [ebp + 8]
|
|
fldl2e
|
|
fmul st, st(1)
|
|
fst st(1)
|
|
frndint
|
|
fxch st(1)
|
|
fsub st, st(1)
|
|
f2xm1
|
|
fld1
|
|
faddp st(1), st
|
|
fscale
|
|
fstp st(1)
|
|
|
|
pop ebp
|
|
retn
|
|
|
|
END
|