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
27 lines
325 B
ArmAsm
27 lines
325 B
ArmAsm
|
|
#include <reactos/asm.h>
|
|
|
|
PUBLIC _fmodf
|
|
|
|
/* FUNCTIONS ***************************************************************/
|
|
.code
|
|
|
|
_fmodf:
|
|
push ebp
|
|
mov ebp, esp
|
|
|
|
fld dword ptr [esp + 4]
|
|
fld dword ptr [esp + 8]
|
|
fxch st(1)
|
|
l1:
|
|
fprem
|
|
fstsw ax
|
|
sahf
|
|
jp l1
|
|
fstp st(1)
|
|
|
|
pop ebp
|
|
ret
|
|
|
|
END
|