Add asm stubs for some ARM math functions

svn path=/trunk/; revision=67161
This commit is contained in:
Timo Kreuzer 2015-04-11 12:44:55 +00:00
parent 9db44f101d
commit 29552a8cd5
11 changed files with 204 additions and 0 deletions

View file

@ -474,6 +474,18 @@ elseif(ARCH STREQUAL "amd64")
list(APPEND CRT_ASM_SOURCE
except/amd64/cpp.s)
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()
if(NOT ARCH STREQUAL "i386")

View file

@ -133,6 +133,18 @@ elseif(ARCH STREQUAL "amd64")
except/amd64/ehandler.c
math/cos.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()
if(ARCH STREQUAL "i386")

View 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 */

View 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 */

View 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 */

View 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 */

View 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 */

View 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 */

View 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 */

View 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 */

View 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 */