Author: tkreuzer
Date: Thu Apr 30 21:04:29 2015
New Revision: 67481
URL:
http://svn.reactos.org/svn/reactos?rev=67481&view=rev
Log:
[CRT]
Add a number of ARM
Added:
trunk/reactos/lib/sdk/crt/math/arm/_controlfp.s (with props)
trunk/reactos/lib/sdk/crt/math/arm/_fpreset.s (with props)
trunk/reactos/lib/sdk/crt/math/arm/_logb.s (with props)
trunk/reactos/lib/sdk/crt/math/arm/_statusfp.s (with props)
trunk/reactos/lib/sdk/crt/math/arm/atan.s (with props)
trunk/reactos/lib/sdk/crt/math/arm/atan2.s (with props)
trunk/reactos/lib/sdk/crt/math/arm/ceil.s (with props)
trunk/reactos/lib/sdk/crt/math/arm/exp.s (with props)
trunk/reactos/lib/sdk/crt/math/arm/fabs.s (with props)
trunk/reactos/lib/sdk/crt/math/arm/fmod.s (with props)
trunk/reactos/lib/sdk/crt/math/arm/ldexp.s (with props)
trunk/reactos/lib/sdk/crt/math/arm/log.s (with props)
trunk/reactos/lib/sdk/crt/math/arm/sqrt.s (with props)
trunk/reactos/lib/sdk/crt/math/arm/tan.s (with props)
Modified:
trunk/reactos/lib/sdk/crt/math/arm/__dtou64.s
trunk/reactos/lib/sdk/crt/math/arm/__rt_div.c
trunk/reactos/lib/sdk/crt/math/arm/__rt_div_worker.h
trunk/reactos/lib/sdk/crt/math/arm/__rt_sdiv.c
trunk/reactos/lib/sdk/crt/math/arm/__rt_sdiv64.s
trunk/reactos/lib/sdk/crt/math/arm/__rt_sdiv64_worker.c
trunk/reactos/lib/sdk/crt/math/arm/__rt_srsh.s
trunk/reactos/lib/sdk/crt/math/arm/__rt_udiv.c
trunk/reactos/lib/sdk/crt/math/arm/__rt_udiv64.s
trunk/reactos/lib/sdk/crt/math/arm/__rt_udiv64_worker.c
trunk/reactos/lib/sdk/crt/math/arm/__u64tod.s
trunk/reactos/lib/sdk/crt/math/arm/floor.s
trunk/reactos/lib/sdk/crt/math/arm/log10.s
trunk/reactos/lib/sdk/crt/math/arm/pow.s
Modified: trunk/reactos/lib/sdk/crt/math/arm/__dtou64.s
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/math/arm/__dto…
==============================================================================
--- trunk/reactos/lib/sdk/crt/math/arm/__dtou64.s [iso-8859-1] (original)
+++ trunk/reactos/lib/sdk/crt/math/arm/__dtou64.s [iso-8859-1] Thu Apr 30 21:04:29 2015
@@ -1,6 +1,6 @@
/*
- * COPYRIGHT: See COPYING in the top level directory
- * PROJECT: ReactOS system libraries
+ * COPYRIGHT: BSD - See COPYING.ARM in the top level directory
+ * PROJECT: ReactOS CRT library
* PURPOSE: Implementation of __dtou64
* PROGRAMMER: Timo Kreuzer (timo.kreuzer(a)reactos.org)
*/
@@ -10,9 +10,13 @@
#include <kxarm.h>
/* CODE **********************************************************************/
+
TEXTAREA
LEAF_ENTRY __dtou64
+
+ __assertfail
+ bx lr
LEAF_END __dtou64
Modified: trunk/reactos/lib/sdk/crt/math/arm/__rt_div.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/math/arm/__rt_…
==============================================================================
--- trunk/reactos/lib/sdk/crt/math/arm/__rt_div.c [iso-8859-1] (original)
+++ trunk/reactos/lib/sdk/crt/math/arm/__rt_div.c [iso-8859-1] Thu Apr 30 21:04:29 2015
@@ -1,6 +1,6 @@
/*
- * COPYRIGHT: BSD, see COPYING.ARM in the top level directory
- * PROJECT: ReactOS crt library
+ * COPYRIGHT: BSD - See COPYING.ARM in the top level directory
+ * PROJECT: ReactOS CRT library
* FILE: lib/sdk/crt/math/arm/__rt_udiv.c
* PURPOSE: Implementation of __rt_udiv
* PROGRAMMER: Timo Kreuzer
Modified: trunk/reactos/lib/sdk/crt/math/arm/__rt_div_worker.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/math/arm/__rt_…
==============================================================================
--- trunk/reactos/lib/sdk/crt/math/arm/__rt_div_worker.h [iso-8859-1] (original)
+++ trunk/reactos/lib/sdk/crt/math/arm/__rt_div_worker.h [iso-8859-1] Thu Apr 30 21:04:29
2015
@@ -1,6 +1,6 @@
/*
- * COPYRIGHT: BSD, see COPYING.ARM in the top level directory
- * PROJECT: ReactOS crt library
+ * COPYRIGHT: BSD - See COPYING.ARM in the top level directory
+ * PROJECT: ReactOS CRT library
* FILE: lib/sdk/crt/math/arm/__rt_udiv.c
* PURPOSE: Implementation of __rt_udiv
* PROGRAMMER: Timo Kreuzer
Modified: trunk/reactos/lib/sdk/crt/math/arm/__rt_sdiv.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/math/arm/__rt_…
==============================================================================
--- trunk/reactos/lib/sdk/crt/math/arm/__rt_sdiv.c [iso-8859-1] (original)
+++ trunk/reactos/lib/sdk/crt/math/arm/__rt_sdiv.c [iso-8859-1] Thu Apr 30 21:04:29 2015
@@ -1,6 +1,6 @@
/*
- * COPYRIGHT: BSD, see COPYING.ARM in the top level directory
- * PROJECT: ReactOS crt library
+ * COPYRIGHT: BSD - See COPYING.ARM in the top level directory
+ * PROJECT: ReactOS CRT library
* FILE: lib/sdk/crt/math/arm/__rt_sdiv.c
* PURPOSE: Implementation of __rt_sdiv
* PROGRAMMER: Timo Kreuzer
Modified: 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_…
==============================================================================
--- trunk/reactos/lib/sdk/crt/math/arm/__rt_sdiv64.s [iso-8859-1] (original)
+++ trunk/reactos/lib/sdk/crt/math/arm/__rt_sdiv64.s [iso-8859-1] Thu Apr 30 21:04:29
2015
@@ -1,6 +1,6 @@
/*
- * COPYRIGHT: See COPYING in the top level directory
- * PROJECT: ReactOS system libraries
+ * COPYRIGHT: BSD - See COPYING.ARM in the top level directory
+ * PROJECT: ReactOS CRT library
* PURPOSE: Implementation of __rt_sdiv64
* PROGRAMMER: Timo Kreuzer (timo.kreuzer(a)reactos.org)
*/
@@ -12,6 +12,7 @@
IMPORT __rt_sdiv64_worker
/* CODE **********************************************************************/
+
TEXTAREA
NESTED_ENTRY __rt_sdiv64
@@ -30,7 +31,7 @@
Return
/* Move result data into the appropriate registers and return */
ldmia sp!,{r0,r1,r2,r3,pc}
- ENTRY_END __rt_sdiv64
+ NESTED_END __rt_sdiv64
END
/* EOF */
Modified: trunk/reactos/lib/sdk/crt/math/arm/__rt_sdiv64_worker.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/math/arm/__rt_…
==============================================================================
--- trunk/reactos/lib/sdk/crt/math/arm/__rt_sdiv64_worker.c [iso-8859-1] (original)
+++ trunk/reactos/lib/sdk/crt/math/arm/__rt_sdiv64_worker.c [iso-8859-1] Thu Apr 30
21:04:29 2015
@@ -1,6 +1,6 @@
/*
- * COPYRIGHT: BSD, see COPYING.ARM in the top level directory
- * PROJECT: ReactOS crt library
+ * COPYRIGHT: BSD - See COPYING.ARM in the top level directory
+ * PROJECT: ReactOS CRT library
* FILE: lib/sdk/crt/math/arm/__rt_sdiv_worker.c
* PURPOSE: Implementation of __rt_sdiv_worker
* PROGRAMMER: Timo Kreuzer
Modified: trunk/reactos/lib/sdk/crt/math/arm/__rt_srsh.s
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/math/arm/__rt_…
==============================================================================
--- trunk/reactos/lib/sdk/crt/math/arm/__rt_srsh.s [iso-8859-1] (original)
+++ trunk/reactos/lib/sdk/crt/math/arm/__rt_srsh.s [iso-8859-1] Thu Apr 30 21:04:29 2015
@@ -1,6 +1,6 @@
/*
- * COPYRIGHT: See COPYING in the top level directory
- * PROJECT: ReactOS system libraries
+ * COPYRIGHT: BSD - See COPYING.ARM in the top level directory
+ * PROJECT: ReactOS CRT library
* PURPOSE: Implementation of __rt_srsh
* PROGRAMMER: Timo Kreuzer (timo.kreuzer(a)reactos.org)
*/
@@ -10,9 +10,13 @@
#include <kxarm.h>
/* CODE **********************************************************************/
+
TEXTAREA
LEAF_ENTRY __rt_srsh
+
+ __assertfail
+ bx lr
LEAF_END __rt_srsh
Modified: trunk/reactos/lib/sdk/crt/math/arm/__rt_udiv.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/math/arm/__rt_…
==============================================================================
--- trunk/reactos/lib/sdk/crt/math/arm/__rt_udiv.c [iso-8859-1] (original)
+++ trunk/reactos/lib/sdk/crt/math/arm/__rt_udiv.c [iso-8859-1] Thu Apr 30 21:04:29 2015
@@ -1,7 +1,6 @@
/*
- * COPYRIGHT: BSD, see COPYING.ARM in the top level directory
- * PROJECT: ReactOS crt library
- * FILE: lib/sdk/crt/math/arm/__rt_udiv.c
+ * COPYRIGHT: BSD - See COPYING.ARM in the top level directory
+ * PROJECT: ReactOS CRT library
* PURPOSE: Implementation of __rt_udiv
* PROGRAMMER: Timo Kreuzer
* REFERENCE:
http://research.microsoft.com/en-us/um/redmond/projects/invisible/src/crt/m…
Modified: 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_…
==============================================================================
--- trunk/reactos/lib/sdk/crt/math/arm/__rt_udiv64.s [iso-8859-1] (original)
+++ trunk/reactos/lib/sdk/crt/math/arm/__rt_udiv64.s [iso-8859-1] Thu Apr 30 21:04:29
2015
@@ -1,6 +1,6 @@
/*
- * COPYRIGHT: See COPYING in the top level directory
- * PROJECT: ReactOS system libraries
+ * COPYRIGHT: BSD - See COPYING.ARM in the top level directory
+ * PROJECT: ReactOS CRT library
* PURPOSE: Implementation of __rt_udiv64
* PROGRAMMER: Timo Kreuzer (timo.kreuzer(a)reactos.org)
*/
@@ -12,6 +12,7 @@
IMPORT __rt_udiv64_worker
/* CODE **********************************************************************/
+
TEXTAREA
NESTED_ENTRY __rt_udiv64
@@ -30,7 +31,7 @@
Return
/* Move result data into the appropriate registers and return */
ldmia sp!,{r0,r1,r2,r3,pc}
- ENTRY_END __rt_udiv64
+ NESTED_END __rt_udiv64
END
/* EOF */
Modified: trunk/reactos/lib/sdk/crt/math/arm/__rt_udiv64_worker.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/math/arm/__rt_…
==============================================================================
--- trunk/reactos/lib/sdk/crt/math/arm/__rt_udiv64_worker.c [iso-8859-1] (original)
+++ trunk/reactos/lib/sdk/crt/math/arm/__rt_udiv64_worker.c [iso-8859-1] Thu Apr 30
21:04:29 2015
@@ -1,7 +1,6 @@
/*
- * COPYRIGHT: BSD, see COPYING.ARM in the top level directory
- * PROJECT: ReactOS crt library
- * FILE: lib/sdk/crt/math/arm/__rt_udiv64_worker.c
+ * COPYRIGHT: BSD - See COPYING.ARM in the top level directory
+ * PROJECT: ReactOS CRT library
* PURPOSE: Implementation of __rt_udiv64_worker
* PROGRAMMER: Timo Kreuzer
* REFERENCE:
http://research.microsoft.com/en-us/um/redmond/projects/invisible/src/crt/m…
Modified: trunk/reactos/lib/sdk/crt/math/arm/__u64tod.s
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/math/arm/__u64…
==============================================================================
--- trunk/reactos/lib/sdk/crt/math/arm/__u64tod.s [iso-8859-1] (original)
+++ trunk/reactos/lib/sdk/crt/math/arm/__u64tod.s [iso-8859-1] Thu Apr 30 21:04:29 2015
@@ -1,6 +1,6 @@
/*
- * COPYRIGHT: See COPYING in the top level directory
- * PROJECT: ReactOS system libraries
+ * COPYRIGHT: BSD - See COPYING.ARM in the top level directory
+ * PROJECT: ReactOS CRT library
* PURPOSE: Implementation of __u64tod
* PROGRAMMER: Timo Kreuzer (timo.kreuzer(a)reactos.org)
*/
@@ -10,9 +10,13 @@
#include <kxarm.h>
/* CODE **********************************************************************/
+
TEXTAREA
LEAF_ENTRY __u64tod
+
+ __assertfail
+ bx lr
LEAF_END __u64tod
Added: trunk/reactos/lib/sdk/crt/math/arm/_controlfp.s
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/math/arm/_cont…
==============================================================================
--- trunk/reactos/lib/sdk/crt/math/arm/_controlfp.s (added)
+++ trunk/reactos/lib/sdk/crt/math/arm/_controlfp.s [iso-8859-1] Thu Apr 30 21:04:29 2015
@@ -0,0 +1,24 @@
+/*
+ * COPYRIGHT: BSD - See COPYING.ARM in the top level directory
+ * PROJECT: ReactOS CRT library
+ * PURPOSE: Implementation of _controlfp
+ * PROGRAMMER: Timo Kreuzer (timo.kreuzer(a)reactos.org)
+ */
+
+/* INCLUDES ******************************************************************/
+
+#include <kxarm.h>
+
+/* CODE **********************************************************************/
+
+ TEXTAREA
+
+ LEAF_ENTRY _controlfp
+
+ __assertfail
+ bx lr
+
+ LEAF_END _controlfp
+
+ END
+/* EOF */
Propchange: trunk/reactos/lib/sdk/crt/math/arm/_controlfp.s
------------------------------------------------------------------------------
svn:eol-style = native
Added: trunk/reactos/lib/sdk/crt/math/arm/_fpreset.s
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/math/arm/_fpre…
==============================================================================
--- trunk/reactos/lib/sdk/crt/math/arm/_fpreset.s (added)
+++ trunk/reactos/lib/sdk/crt/math/arm/_fpreset.s [iso-8859-1] Thu Apr 30 21:04:29 2015
@@ -0,0 +1,24 @@
+/*
+ * COPYRIGHT: BSD - See COPYING.ARM in the top level directory
+ * PROJECT: ReactOS CRT library
+ * PURPOSE: Implementation of _fpreset
+ * PROGRAMMER: Timo Kreuzer (timo.kreuzer(a)reactos.org)
+ */
+
+/* INCLUDES ******************************************************************/
+
+#include <kxarm.h>
+
+/* CODE **********************************************************************/
+
+ TEXTAREA
+
+ LEAF_ENTRY _fpreset
+
+ __assertfail
+ bx lr
+
+ LEAF_END _fpreset
+
+ END
+/* EOF */
Propchange: trunk/reactos/lib/sdk/crt/math/arm/_fpreset.s
------------------------------------------------------------------------------
svn:eol-style = native
Added: trunk/reactos/lib/sdk/crt/math/arm/_logb.s
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/math/arm/_logb…
==============================================================================
--- trunk/reactos/lib/sdk/crt/math/arm/_logb.s (added)
+++ trunk/reactos/lib/sdk/crt/math/arm/_logb.s [iso-8859-1] Thu Apr 30 21:04:29 2015
@@ -0,0 +1,24 @@
+/*
+ * COPYRIGHT: BSD - See COPYING.ARM in the top level directory
+ * PROJECT: ReactOS CRT library
+ * PURPOSE: Implementation of _logb
+ * PROGRAMMER: Timo Kreuzer (timo.kreuzer(a)reactos.org)
+ */
+
+/* INCLUDES ******************************************************************/
+
+#include <kxarm.h>
+
+/* CODE **********************************************************************/
+
+ TEXTAREA
+
+ LEAF_ENTRY _logb
+
+ __assertfail
+ bx lr
+
+ LEAF_END _logb
+
+ END
+/* EOF */
Propchange: trunk/reactos/lib/sdk/crt/math/arm/_logb.s
------------------------------------------------------------------------------
svn:eol-style = native
Added: trunk/reactos/lib/sdk/crt/math/arm/_statusfp.s
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/math/arm/_stat…
==============================================================================
--- trunk/reactos/lib/sdk/crt/math/arm/_statusfp.s (added)
+++ trunk/reactos/lib/sdk/crt/math/arm/_statusfp.s [iso-8859-1] Thu Apr 30 21:04:29 2015
@@ -0,0 +1,24 @@
+/*
+ * COPYRIGHT: BSD - See COPYING.ARM in the top level directory
+ * PROJECT: ReactOS CRT library
+ * PURPOSE: Implementation of _statusfp
+ * PROGRAMMER: Timo Kreuzer (timo.kreuzer(a)reactos.org)
+ */
+
+/* INCLUDES ******************************************************************/
+
+#include <kxarm.h>
+
+/* CODE **********************************************************************/
+
+ TEXTAREA
+
+ LEAF_ENTRY _statusfp
+
+ __assertfail
+ bx lr
+
+ LEAF_END _statusfp
+
+ END
+/* EOF */
Propchange: trunk/reactos/lib/sdk/crt/math/arm/_statusfp.s
------------------------------------------------------------------------------
svn:eol-style = native
Added: trunk/reactos/lib/sdk/crt/math/arm/atan.s
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/math/arm/atan.…
==============================================================================
--- trunk/reactos/lib/sdk/crt/math/arm/atan.s (added)
+++ trunk/reactos/lib/sdk/crt/math/arm/atan.s [iso-8859-1] Thu Apr 30 21:04:29 2015
@@ -0,0 +1,24 @@
+/*
+ * COPYRIGHT: BSD - See COPYING.ARM in the top level directory
+ * PROJECT: ReactOS CRT library
+ * PURPOSE: Implementation of atan
+ * PROGRAMMER: Timo Kreuzer (timo.kreuzer(a)reactos.org)
+ */
+
+/* INCLUDES ******************************************************************/
+
+#include <kxarm.h>
+
+/* CODE **********************************************************************/
+
+ TEXTAREA
+
+ LEAF_ENTRY atan
+
+ __assertfail
+ bx lr
+
+ LEAF_END atan
+
+ END
+/* EOF */
Propchange: trunk/reactos/lib/sdk/crt/math/arm/atan.s
------------------------------------------------------------------------------
svn:eol-style = native
Added: trunk/reactos/lib/sdk/crt/math/arm/atan2.s
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/math/arm/atan2…
==============================================================================
--- trunk/reactos/lib/sdk/crt/math/arm/atan2.s (added)
+++ trunk/reactos/lib/sdk/crt/math/arm/atan2.s [iso-8859-1] Thu Apr 30 21:04:29 2015
@@ -0,0 +1,24 @@
+/*
+ * COPYRIGHT: BSD - See COPYING.ARM in the top level directory
+ * PROJECT: ReactOS CRT library
+ * PURPOSE: Implementation of atan2
+ * PROGRAMMER: Timo Kreuzer (timo.kreuzer(a)reactos.org)
+ */
+
+/* INCLUDES ******************************************************************/
+
+#include <kxarm.h>
+
+/* CODE **********************************************************************/
+
+ TEXTAREA
+
+ LEAF_ENTRY atan2
+
+ __assertfail
+ bx lr
+
+ LEAF_END atan2
+
+ END
+/* EOF */
Propchange: trunk/reactos/lib/sdk/crt/math/arm/atan2.s
------------------------------------------------------------------------------
svn:eol-style = native
Added: trunk/reactos/lib/sdk/crt/math/arm/ceil.s
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/math/arm/ceil.…
==============================================================================
--- trunk/reactos/lib/sdk/crt/math/arm/ceil.s (added)
+++ trunk/reactos/lib/sdk/crt/math/arm/ceil.s [iso-8859-1] Thu Apr 30 21:04:29 2015
@@ -0,0 +1,33 @@
+/*
+ * COPYRIGHT: BSD - See COPYING.ARM in the top level directory
+ * PROJECT: ReactOS CRT library
+ * PURPOSE: Implementation of ceil
+ * PROGRAMMER: Timo Kreuzer (timo.kreuzer(a)reactos.org)
+ * Original implementation: dawncrow
+ * SOURCE: MinGW-w64\mingw-w64-crt\math\ceil.S
+ */
+
+/* INCLUDES ******************************************************************/
+
+#include <kxarm.h>
+
+/* CODE **********************************************************************/
+
+ TEXTAREA
+
+ LEAF_ENTRY ceil
+
+ vmrs r1, fpscr
+
+ bic r0, r1, #0x00c00000
+ orr r0, r0, #0x00400000 /* Round towards Plus Infinity */
+ vmsr fpscr, r0
+ vcvtr.s32.f64 s0, d0
+ vcvt.f64.s32 d0, s0
+ vmsr fpscr, r1
+ bx lr
+
+ LEAF_END ceil
+
+ END
+/* EOF */
Propchange: trunk/reactos/lib/sdk/crt/math/arm/ceil.s
------------------------------------------------------------------------------
svn:eol-style = native
Added: trunk/reactos/lib/sdk/crt/math/arm/exp.s
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/math/arm/exp.s…
==============================================================================
--- trunk/reactos/lib/sdk/crt/math/arm/exp.s (added)
+++ trunk/reactos/lib/sdk/crt/math/arm/exp.s [iso-8859-1] Thu Apr 30 21:04:29 2015
@@ -0,0 +1,24 @@
+/*
+ * COPYRIGHT: BSD - See COPYING.ARM in the top level directory
+ * PROJECT: ReactOS CRT library
+ * PURPOSE: Implementation of exp
+ * PROGRAMMER: Timo Kreuzer (timo.kreuzer(a)reactos.org)
+ */
+
+/* INCLUDES ******************************************************************/
+
+#include <kxarm.h>
+
+/* CODE **********************************************************************/
+
+ TEXTAREA
+
+ LEAF_ENTRY exp
+
+ __assertfail
+ bx lr
+
+ LEAF_END exp
+
+ END
+/* EOF */
Propchange: trunk/reactos/lib/sdk/crt/math/arm/exp.s
------------------------------------------------------------------------------
svn:eol-style = native
Added: trunk/reactos/lib/sdk/crt/math/arm/fabs.s
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/math/arm/fabs.…
==============================================================================
--- trunk/reactos/lib/sdk/crt/math/arm/fabs.s (added)
+++ trunk/reactos/lib/sdk/crt/math/arm/fabs.s [iso-8859-1] Thu Apr 30 21:04:29 2015
@@ -0,0 +1,24 @@
+/*
+ * COPYRIGHT: BSD - See COPYING.ARM in the top level directory
+ * PROJECT: ReactOS CRT library
+ * PURPOSE: Implementation of fabs
+ * PROGRAMMER: Timo Kreuzer (timo.kreuzer(a)reactos.org)
+ */
+
+/* INCLUDES ******************************************************************/
+
+#include <kxarm.h>
+
+/* CODE **********************************************************************/
+
+ TEXTAREA
+
+ LEAF_ENTRY fabs
+
+ __assertfail
+ bx lr
+
+ LEAF_END fabs
+
+ END
+/* EOF */
Propchange: trunk/reactos/lib/sdk/crt/math/arm/fabs.s
------------------------------------------------------------------------------
svn:eol-style = native
Modified: 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 [iso-8859-1] (original)
+++ trunk/reactos/lib/sdk/crt/math/arm/floor.s [iso-8859-1] Thu Apr 30 21:04:29 2015
@@ -1,18 +1,30 @@
/*
- * COPYRIGHT: See COPYING in the top level directory
- * PROJECT: ReactOS system libraries
+ * COPYRIGHT: BSD - See COPYING.ARM in the top level directory
+ * PROJECT: ReactOS CRT library
* PURPOSE: Implementation of floor
* PROGRAMMER: Timo Kreuzer (timo.kreuzer(a)reactos.org)
+ * Original implementation: dawncrow
+ * SOURCE: MinGW-w64\mingw-w64-crt\math\floor.S
*/
/* INCLUDES ******************************************************************/
-#include <kxarm.h>
+#include <ksarm.h>
/* CODE **********************************************************************/
+
TEXTAREA
LEAF_ENTRY floor
+
+ vmrs r1, fpscr
+ bic r0, r1, #0x00c00000
+ orr r0, r0, #0x00800000 /* Round towards Minus Infinity */
+ vmsr fpscr, r0
+ vcvtr.s32.f64 s0, d0
+ vcvt.f64.s32 d0, s0
+ vmsr fpscr, r1
+ bx lr
LEAF_END floor
Added: trunk/reactos/lib/sdk/crt/math/arm/fmod.s
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/math/arm/fmod.…
==============================================================================
--- trunk/reactos/lib/sdk/crt/math/arm/fmod.s (added)
+++ trunk/reactos/lib/sdk/crt/math/arm/fmod.s [iso-8859-1] Thu Apr 30 21:04:29 2015
@@ -0,0 +1,24 @@
+/*
+ * COPYRIGHT: BSD - See COPYING.ARM in the top level directory
+ * PROJECT: ReactOS CRT library
+ * PURPOSE: Implementation of fmod
+ * PROGRAMMER: Timo Kreuzer (timo.kreuzer(a)reactos.org)
+ */
+
+/* INCLUDES ******************************************************************/
+
+#include <kxarm.h>
+
+/* CODE **********************************************************************/
+
+ TEXTAREA
+
+ LEAF_ENTRY fmod
+
+ __assertfail
+ bx lr
+
+ LEAF_END fmod
+
+ END
+/* EOF */
Propchange: trunk/reactos/lib/sdk/crt/math/arm/fmod.s
------------------------------------------------------------------------------
svn:eol-style = native
Added: trunk/reactos/lib/sdk/crt/math/arm/ldexp.s
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/math/arm/ldexp…
==============================================================================
--- trunk/reactos/lib/sdk/crt/math/arm/ldexp.s (added)
+++ trunk/reactos/lib/sdk/crt/math/arm/ldexp.s [iso-8859-1] Thu Apr 30 21:04:29 2015
@@ -0,0 +1,24 @@
+/*
+ * COPYRIGHT: BSD - See COPYING.ARM in the top level directory
+ * PROJECT: ReactOS CRT library
+ * PURPOSE: Implementation of ldexp
+ * PROGRAMMER: Timo Kreuzer (timo.kreuzer(a)reactos.org)
+ */
+
+/* INCLUDES ******************************************************************/
+
+#include <kxarm.h>
+
+/* CODE **********************************************************************/
+
+ TEXTAREA
+
+ LEAF_ENTRY ldexp
+
+ __assertfail
+ bx lr
+
+ LEAF_END ldexp
+
+ END
+/* EOF */
Propchange: trunk/reactos/lib/sdk/crt/math/arm/ldexp.s
------------------------------------------------------------------------------
svn:eol-style = native
Added: trunk/reactos/lib/sdk/crt/math/arm/log.s
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/math/arm/log.s…
==============================================================================
--- trunk/reactos/lib/sdk/crt/math/arm/log.s (added)
+++ trunk/reactos/lib/sdk/crt/math/arm/log.s [iso-8859-1] Thu Apr 30 21:04:29 2015
@@ -0,0 +1,24 @@
+/*
+ * COPYRIGHT: BSD - See COPYING.ARM in the top level directory
+ * PROJECT: ReactOS CRT library
+ * PURPOSE: Implementation of log
+ * PROGRAMMER: Timo Kreuzer (timo.kreuzer(a)reactos.org)
+ */
+
+/* INCLUDES ******************************************************************/
+
+#include <kxarm.h>
+
+/* CODE **********************************************************************/
+
+ TEXTAREA
+
+ LEAF_ENTRY log
+
+ __assertfail
+ bx lr
+
+ LEAF_END log
+
+ END
+/* EOF */
Propchange: trunk/reactos/lib/sdk/crt/math/arm/log.s
------------------------------------------------------------------------------
svn:eol-style = native
Modified: 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 [iso-8859-1] (original)
+++ trunk/reactos/lib/sdk/crt/math/arm/log10.s [iso-8859-1] Thu Apr 30 21:04:29 2015
@@ -1,6 +1,6 @@
/*
- * COPYRIGHT: See COPYING in the top level directory
- * PROJECT: ReactOS system libraries
+ * COPYRIGHT: BSD - See COPYING.ARM in the top level directory
+ * PROJECT: ReactOS CRT library
* PURPOSE: Implementation of log10
* PROGRAMMER: Timo Kreuzer (timo.kreuzer(a)reactos.org)
*/
@@ -10,9 +10,13 @@
#include <kxarm.h>
/* CODE **********************************************************************/
+
TEXTAREA
LEAF_ENTRY log10
+
+ __assertfail
+ bx lr
LEAF_END log10
Modified: 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 [iso-8859-1] (original)
+++ trunk/reactos/lib/sdk/crt/math/arm/pow.s [iso-8859-1] Thu Apr 30 21:04:29 2015
@@ -1,6 +1,6 @@
/*
- * COPYRIGHT: See COPYING in the top level directory
- * PROJECT: ReactOS system libraries
+ * COPYRIGHT: BSD - See COPYING.ARM in the top level directory
+ * PROJECT: ReactOS CRT library
* PURPOSE: Implementation of pow
* PROGRAMMER: Timo Kreuzer (timo.kreuzer(a)reactos.org)
*/
@@ -10,9 +10,13 @@
#include <kxarm.h>
/* CODE **********************************************************************/
+
TEXTAREA
LEAF_ENTRY pow
+
+ __assertfail
+ bx lr
LEAF_END pow
Added: trunk/reactos/lib/sdk/crt/math/arm/sqrt.s
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/math/arm/sqrt.…
==============================================================================
--- trunk/reactos/lib/sdk/crt/math/arm/sqrt.s (added)
+++ trunk/reactos/lib/sdk/crt/math/arm/sqrt.s [iso-8859-1] Thu Apr 30 21:04:29 2015
@@ -0,0 +1,24 @@
+/*
+ * COPYRIGHT: BSD - See COPYING.ARM in the top level directory
+ * PROJECT: ReactOS CRT library
+ * PURPOSE: Implementation of sqrt
+ * PROGRAMMER: Timo Kreuzer (timo.kreuzer(a)reactos.org)
+ */
+
+/* INCLUDES ******************************************************************/
+
+#include <kxarm.h>
+
+/* CODE **********************************************************************/
+
+ TEXTAREA
+
+ LEAF_ENTRY sqrt
+
+ __assertfail
+ bx lr
+
+ LEAF_END sqrt
+
+ END
+/* EOF */
Propchange: trunk/reactos/lib/sdk/crt/math/arm/sqrt.s
------------------------------------------------------------------------------
svn:eol-style = native
Added: trunk/reactos/lib/sdk/crt/math/arm/tan.s
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/math/arm/tan.s…
==============================================================================
--- trunk/reactos/lib/sdk/crt/math/arm/tan.s (added)
+++ trunk/reactos/lib/sdk/crt/math/arm/tan.s [iso-8859-1] Thu Apr 30 21:04:29 2015
@@ -0,0 +1,24 @@
+/*
+ * COPYRIGHT: BSD - See COPYING.ARM in the top level directory
+ * PROJECT: ReactOS CRT library
+ * PURPOSE: Implementation of tan
+ * PROGRAMMER: Timo Kreuzer (timo.kreuzer(a)reactos.org)
+ */
+
+/* INCLUDES ******************************************************************/
+
+#include <kxarm.h>
+
+/* CODE **********************************************************************/
+
+ TEXTAREA
+
+ LEAF_ENTRY tan
+
+ __assertfail
+ bx lr
+
+ LEAF_END tan
+
+ END
+/* EOF */
Propchange: trunk/reactos/lib/sdk/crt/math/arm/tan.s
------------------------------------------------------------------------------
svn:eol-style = native