Author: tkreuzer Date: Sat Apr 11 12:44:55 2015 New Revision: 67161
URL: http://svn.reactos.org/svn/reactos?rev=67161&view=rev Log: [CRT] Add asm stubs for some ARM math functions
Added: trunk/reactos/lib/sdk/crt/math/arm/ (with props) trunk/reactos/lib/sdk/crt/math/arm/__dtou64.s (with props) trunk/reactos/lib/sdk/crt/math/arm/__rt_sdiv.s (with props) trunk/reactos/lib/sdk/crt/math/arm/__rt_sdiv64.s (with props) trunk/reactos/lib/sdk/crt/math/arm/__rt_udiv.s (with props) trunk/reactos/lib/sdk/crt/math/arm/__rt_udiv64.s (with props) trunk/reactos/lib/sdk/crt/math/arm/__u64tod.s (with props) trunk/reactos/lib/sdk/crt/math/arm/floor.s (with props) trunk/reactos/lib/sdk/crt/math/arm/log10.s (with props) trunk/reactos/lib/sdk/crt/math/arm/pow.s (with props) Modified: trunk/reactos/lib/sdk/crt/crt.cmake trunk/reactos/lib/sdk/crt/libcntpr.cmake
Modified: trunk/reactos/lib/sdk/crt/crt.cmake URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/crt.cmake?rev=6... ============================================================================== --- trunk/reactos/lib/sdk/crt/crt.cmake [iso-8859-1] (original) +++ trunk/reactos/lib/sdk/crt/crt.cmake [iso-8859-1] Sat Apr 11 12:44:55 2015 @@ -474,6 +474,18 @@ 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")
Modified: trunk/reactos/lib/sdk/crt/libcntpr.cmake URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/libcntpr.cmake?... ============================================================================== --- trunk/reactos/lib/sdk/crt/libcntpr.cmake [iso-8859-1] (original) +++ trunk/reactos/lib/sdk/crt/libcntpr.cmake [iso-8859-1] Sat Apr 11 12:44:55 2015 @@ -133,6 +133,18 @@ 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")
Propchange: trunk/reactos/lib/sdk/crt/math/arm/ ------------------------------------------------------------------------------ --- bugtraq:logregex (added) +++ bugtraq:logregex Sat Apr 11 12:44:55 2015 @@ -0,0 +1 @@ +((CORE|ROSTESTS|ROSAPPS)-\d+)(,? ?((CORE|ROSTESTS|ROSAPPS)-\d+))*(,? ?(and |or )?((CORE|ROSTESTS|ROSAPPS)-\d+))?
Propchange: trunk/reactos/lib/sdk/crt/math/arm/ ------------------------------------------------------------------------------ bugtraq:message = See issue %BUGID% for more details.
Propchange: trunk/reactos/lib/sdk/crt/math/arm/ ------------------------------------------------------------------------------ bugtraq:url = https://jira.reactos.org/browse/%BUGID%
Propchange: trunk/reactos/lib/sdk/crt/math/arm/ ------------------------------------------------------------------------------ tsvn:logminsize = 10
Added: trunk/reactos/lib/sdk/crt/math/arm/__dtou64.s URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/math/arm/__dtou... ============================================================================== --- trunk/reactos/lib/sdk/crt/math/arm/__dtou64.s (added) +++ trunk/reactos/lib/sdk/crt/math/arm/__dtou64.s [iso-8859-1] Sat Apr 11 12:44:55 2015 @@ -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 */
Propchange: trunk/reactos/lib/sdk/crt/math/arm/__dtou64.s ------------------------------------------------------------------------------ svn:eol-style = native
Added: trunk/reactos/lib/sdk/crt/math/arm/__rt_sdiv.s URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/math/arm/__rt_s... ============================================================================== --- trunk/reactos/lib/sdk/crt/math/arm/__rt_sdiv.s (added) +++ trunk/reactos/lib/sdk/crt/math/arm/__rt_sdiv.s [iso-8859-1] Sat Apr 11 12:44:55 2015 @@ -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 */
Propchange: trunk/reactos/lib/sdk/crt/math/arm/__rt_sdiv.s ------------------------------------------------------------------------------ svn:eol-style = native
Added: trunk/reactos/lib/sdk/crt/math/arm/__rt_sdiv64.s URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/math/arm/__rt_s... ============================================================================== --- trunk/reactos/lib/sdk/crt/math/arm/__rt_sdiv64.s (added) +++ trunk/reactos/lib/sdk/crt/math/arm/__rt_sdiv64.s [iso-8859-1] Sat Apr 11 12:44:55 2015 @@ -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 */
Propchange: trunk/reactos/lib/sdk/crt/math/arm/__rt_sdiv64.s ------------------------------------------------------------------------------ svn:eol-style = native
Added: trunk/reactos/lib/sdk/crt/math/arm/__rt_udiv.s URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/math/arm/__rt_u... ============================================================================== --- trunk/reactos/lib/sdk/crt/math/arm/__rt_udiv.s (added) +++ trunk/reactos/lib/sdk/crt/math/arm/__rt_udiv.s [iso-8859-1] Sat Apr 11 12:44:55 2015 @@ -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 */
Propchange: trunk/reactos/lib/sdk/crt/math/arm/__rt_udiv.s ------------------------------------------------------------------------------ svn:eol-style = native
Added: trunk/reactos/lib/sdk/crt/math/arm/__rt_udiv64.s URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/math/arm/__rt_u... ============================================================================== --- trunk/reactos/lib/sdk/crt/math/arm/__rt_udiv64.s (added) +++ trunk/reactos/lib/sdk/crt/math/arm/__rt_udiv64.s [iso-8859-1] Sat Apr 11 12:44:55 2015 @@ -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 */
Propchange: trunk/reactos/lib/sdk/crt/math/arm/__rt_udiv64.s ------------------------------------------------------------------------------ svn:eol-style = native
Added: trunk/reactos/lib/sdk/crt/math/arm/__u64tod.s URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/math/arm/__u64t... ============================================================================== --- trunk/reactos/lib/sdk/crt/math/arm/__u64tod.s (added) +++ trunk/reactos/lib/sdk/crt/math/arm/__u64tod.s [iso-8859-1] Sat Apr 11 12:44:55 2015 @@ -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 */
Propchange: trunk/reactos/lib/sdk/crt/math/arm/__u64tod.s ------------------------------------------------------------------------------ svn:eol-style = native
Added: trunk/reactos/lib/sdk/crt/math/arm/floor.s URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/math/arm/floor.... ============================================================================== --- trunk/reactos/lib/sdk/crt/math/arm/floor.s (added) +++ trunk/reactos/lib/sdk/crt/math/arm/floor.s [iso-8859-1] Sat Apr 11 12:44:55 2015 @@ -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 */
Propchange: trunk/reactos/lib/sdk/crt/math/arm/floor.s ------------------------------------------------------------------------------ svn:eol-style = native
Added: trunk/reactos/lib/sdk/crt/math/arm/log10.s URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/math/arm/log10.... ============================================================================== --- trunk/reactos/lib/sdk/crt/math/arm/log10.s (added) +++ trunk/reactos/lib/sdk/crt/math/arm/log10.s [iso-8859-1] Sat Apr 11 12:44:55 2015 @@ -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 */
Propchange: trunk/reactos/lib/sdk/crt/math/arm/log10.s ------------------------------------------------------------------------------ svn:eol-style = native
Added: trunk/reactos/lib/sdk/crt/math/arm/pow.s URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/math/arm/pow.s?... ============================================================================== --- trunk/reactos/lib/sdk/crt/math/arm/pow.s (added) +++ trunk/reactos/lib/sdk/crt/math/arm/pow.s [iso-8859-1] Sat Apr 11 12:44:55 2015 @@ -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 */
Propchange: trunk/reactos/lib/sdk/crt/math/arm/pow.s ------------------------------------------------------------------------------ svn:eol-style = native