mirror of
https://github.com/reactos/reactos.git
synced 2025-06-26 12:49:42 +00:00

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