mirror of
https://github.com/reactos/reactos.git
synced 2024-07-29 23:58:44 +00:00
[CRT]
Add asm stubs for some ARM math functions svn path=/trunk/; revision=67161
This commit is contained in:
parent
9db44f101d
commit
29552a8cd5
|
@ -474,6 +474,18 @@ elseif(ARCH STREQUAL "amd64")
|
||||||
list(APPEND CRT_ASM_SOURCE
|
list(APPEND CRT_ASM_SOURCE
|
||||||
except/amd64/cpp.s)
|
except/amd64/cpp.s)
|
||||||
endif()
|
endif()
|
||||||
|
elseif(ARCH STREQUAL "arm")
|
||||||
|
list(APPEND CRT_ASM_SOURCE
|
||||||
|
math/arm/floor.s
|
||||||
|
math/arm/log10.s
|
||||||
|
math/arm/pow.s
|
||||||
|
math/arm/__dtou64.s
|
||||||
|
math/arm/__u64tod.s
|
||||||
|
math/arm/__rt_sdiv.s
|
||||||
|
math/arm/__rt_sdiv64.s
|
||||||
|
math/arm/__rt_udiv.s
|
||||||
|
math/arm/__rt_udiv64.s
|
||||||
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(NOT ARCH STREQUAL "i386")
|
if(NOT ARCH STREQUAL "i386")
|
||||||
|
|
|
@ -133,6 +133,18 @@ elseif(ARCH STREQUAL "amd64")
|
||||||
except/amd64/ehandler.c
|
except/amd64/ehandler.c
|
||||||
math/cos.c
|
math/cos.c
|
||||||
math/sin.c)
|
math/sin.c)
|
||||||
|
elseif(ARCH STREQUAL "arm")
|
||||||
|
list(APPEND LIBCNTPR_ASM_SOURCE
|
||||||
|
math/arm/floor.s
|
||||||
|
math/arm/log10.s
|
||||||
|
math/arm/pow.s
|
||||||
|
math/arm/__dtou64.s
|
||||||
|
math/arm/__u64tod.s
|
||||||
|
math/arm/__rt_sdiv.s
|
||||||
|
math/arm/__rt_sdiv64.s
|
||||||
|
math/arm/__rt_udiv.s
|
||||||
|
math/arm/__rt_udiv64.s
|
||||||
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(ARCH STREQUAL "i386")
|
if(ARCH STREQUAL "i386")
|
||||||
|
|
20
reactos/lib/sdk/crt/math/arm/__dtou64.s
Normal file
20
reactos/lib/sdk/crt/math/arm/__dtou64.s
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
/*
|
||||||
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
|
* PROJECT: ReactOS system libraries
|
||||||
|
* PURPOSE: Implementation of __dtou64
|
||||||
|
* PROGRAMMER: Timo Kreuzer (timo.kreuzer@reactos.org)
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* INCLUDES ******************************************************************/
|
||||||
|
|
||||||
|
#include <kxarm.h>
|
||||||
|
|
||||||
|
/* CODE **********************************************************************/
|
||||||
|
TEXTAREA
|
||||||
|
|
||||||
|
LEAF_ENTRY __dtou64
|
||||||
|
|
||||||
|
LEAF_END __dtou64
|
||||||
|
|
||||||
|
END
|
||||||
|
/* EOF */
|
20
reactos/lib/sdk/crt/math/arm/__rt_sdiv.s
Normal file
20
reactos/lib/sdk/crt/math/arm/__rt_sdiv.s
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
/*
|
||||||
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
|
* PROJECT: ReactOS system libraries
|
||||||
|
* PURPOSE: Implementation of __rt_sdiv
|
||||||
|
* PROGRAMMER: Timo Kreuzer (timo.kreuzer@reactos.org)
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* INCLUDES ******************************************************************/
|
||||||
|
|
||||||
|
#include <kxarm.h>
|
||||||
|
|
||||||
|
/* CODE **********************************************************************/
|
||||||
|
TEXTAREA
|
||||||
|
|
||||||
|
LEAF_ENTRY __rt_sdiv
|
||||||
|
|
||||||
|
LEAF_END __rt_sdiv
|
||||||
|
|
||||||
|
END
|
||||||
|
/* EOF */
|
20
reactos/lib/sdk/crt/math/arm/__rt_sdiv64.s
Normal file
20
reactos/lib/sdk/crt/math/arm/__rt_sdiv64.s
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
/*
|
||||||
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
|
* PROJECT: ReactOS system libraries
|
||||||
|
* PURPOSE: Implementation of __rt_sdiv64
|
||||||
|
* PROGRAMMER: Timo Kreuzer (timo.kreuzer@reactos.org)
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* INCLUDES ******************************************************************/
|
||||||
|
|
||||||
|
#include <kxarm.h>
|
||||||
|
|
||||||
|
/* CODE **********************************************************************/
|
||||||
|
TEXTAREA
|
||||||
|
|
||||||
|
LEAF_ENTRY __rt_sdiv64
|
||||||
|
|
||||||
|
LEAF_END __rt_sdiv64
|
||||||
|
|
||||||
|
END
|
||||||
|
/* EOF */
|
20
reactos/lib/sdk/crt/math/arm/__rt_udiv.s
Normal file
20
reactos/lib/sdk/crt/math/arm/__rt_udiv.s
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
/*
|
||||||
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
|
* PROJECT: ReactOS system libraries
|
||||||
|
* PURPOSE: Implementation of __rt_udiv
|
||||||
|
* PROGRAMMER: Timo Kreuzer (timo.kreuzer@reactos.org)
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* INCLUDES ******************************************************************/
|
||||||
|
|
||||||
|
#include <kxarm.h>
|
||||||
|
|
||||||
|
/* CODE **********************************************************************/
|
||||||
|
TEXTAREA
|
||||||
|
|
||||||
|
LEAF_ENTRY __rt_udiv
|
||||||
|
|
||||||
|
LEAF_END __rt_udiv
|
||||||
|
|
||||||
|
END
|
||||||
|
/* EOF */
|
20
reactos/lib/sdk/crt/math/arm/__rt_udiv64.s
Normal file
20
reactos/lib/sdk/crt/math/arm/__rt_udiv64.s
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
/*
|
||||||
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
|
* PROJECT: ReactOS system libraries
|
||||||
|
* PURPOSE: Implementation of __rt_udiv64
|
||||||
|
* PROGRAMMER: Timo Kreuzer (timo.kreuzer@reactos.org)
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* INCLUDES ******************************************************************/
|
||||||
|
|
||||||
|
#include <kxarm.h>
|
||||||
|
|
||||||
|
/* CODE **********************************************************************/
|
||||||
|
TEXTAREA
|
||||||
|
|
||||||
|
LEAF_ENTRY __rt_udiv64
|
||||||
|
|
||||||
|
LEAF_END __rt_udiv64
|
||||||
|
|
||||||
|
END
|
||||||
|
/* EOF */
|
20
reactos/lib/sdk/crt/math/arm/__u64tod.s
Normal file
20
reactos/lib/sdk/crt/math/arm/__u64tod.s
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
/*
|
||||||
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
|
* PROJECT: ReactOS system libraries
|
||||||
|
* PURPOSE: Implementation of __u64tod
|
||||||
|
* PROGRAMMER: Timo Kreuzer (timo.kreuzer@reactos.org)
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* INCLUDES ******************************************************************/
|
||||||
|
|
||||||
|
#include <kxarm.h>
|
||||||
|
|
||||||
|
/* CODE **********************************************************************/
|
||||||
|
TEXTAREA
|
||||||
|
|
||||||
|
LEAF_ENTRY __u64tod
|
||||||
|
|
||||||
|
LEAF_END __u64tod
|
||||||
|
|
||||||
|
END
|
||||||
|
/* EOF */
|
20
reactos/lib/sdk/crt/math/arm/floor.s
Normal file
20
reactos/lib/sdk/crt/math/arm/floor.s
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
/*
|
||||||
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
|
* PROJECT: ReactOS system libraries
|
||||||
|
* PURPOSE: Implementation of floor
|
||||||
|
* PROGRAMMER: Timo Kreuzer (timo.kreuzer@reactos.org)
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* INCLUDES ******************************************************************/
|
||||||
|
|
||||||
|
#include <kxarm.h>
|
||||||
|
|
||||||
|
/* CODE **********************************************************************/
|
||||||
|
TEXTAREA
|
||||||
|
|
||||||
|
LEAF_ENTRY floor
|
||||||
|
|
||||||
|
LEAF_END floor
|
||||||
|
|
||||||
|
END
|
||||||
|
/* EOF */
|
20
reactos/lib/sdk/crt/math/arm/log10.s
Normal file
20
reactos/lib/sdk/crt/math/arm/log10.s
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
/*
|
||||||
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
|
* PROJECT: ReactOS system libraries
|
||||||
|
* PURPOSE: Implementation of log10
|
||||||
|
* PROGRAMMER: Timo Kreuzer (timo.kreuzer@reactos.org)
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* INCLUDES ******************************************************************/
|
||||||
|
|
||||||
|
#include <kxarm.h>
|
||||||
|
|
||||||
|
/* CODE **********************************************************************/
|
||||||
|
TEXTAREA
|
||||||
|
|
||||||
|
LEAF_ENTRY log10
|
||||||
|
|
||||||
|
LEAF_END log10
|
||||||
|
|
||||||
|
END
|
||||||
|
/* EOF */
|
20
reactos/lib/sdk/crt/math/arm/pow.s
Normal file
20
reactos/lib/sdk/crt/math/arm/pow.s
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
/*
|
||||||
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
|
* PROJECT: ReactOS system libraries
|
||||||
|
* PURPOSE: Implementation of pow
|
||||||
|
* PROGRAMMER: Timo Kreuzer (timo.kreuzer@reactos.org)
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* INCLUDES ******************************************************************/
|
||||||
|
|
||||||
|
#include <kxarm.h>
|
||||||
|
|
||||||
|
/* CODE **********************************************************************/
|
||||||
|
TEXTAREA
|
||||||
|
|
||||||
|
LEAF_ENTRY pow
|
||||||
|
|
||||||
|
LEAF_END pow
|
||||||
|
|
||||||
|
END
|
||||||
|
/* EOF */
|
Loading…
Reference in a new issue