From 3a25ca3b5ca13f4ca685e42d767a1e226d9debc3 Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Thu, 30 Apr 2015 21:04:29 +0000 Subject: [PATCH] [CRT] Add a number of ARM svn path=/trunk/; revision=67481 --- reactos/lib/sdk/crt/math/arm/__dtou64.s | 8 +++-- reactos/lib/sdk/crt/math/arm/__rt_div.c | 4 +-- .../lib/sdk/crt/math/arm/__rt_div_worker.h | 4 +-- reactos/lib/sdk/crt/math/arm/__rt_sdiv.c | 4 +-- reactos/lib/sdk/crt/math/arm/__rt_sdiv64.s | 7 ++-- .../lib/sdk/crt/math/arm/__rt_sdiv64_worker.c | 4 +-- reactos/lib/sdk/crt/math/arm/__rt_srsh.s | 8 +++-- reactos/lib/sdk/crt/math/arm/__rt_udiv.c | 5 ++- reactos/lib/sdk/crt/math/arm/__rt_udiv64.s | 7 ++-- .../lib/sdk/crt/math/arm/__rt_udiv64_worker.c | 5 ++- reactos/lib/sdk/crt/math/arm/__u64tod.s | 8 +++-- reactos/lib/sdk/crt/math/arm/_controlfp.s | 24 ++++++++++++++ reactos/lib/sdk/crt/math/arm/_fpreset.s | 24 ++++++++++++++ reactos/lib/sdk/crt/math/arm/_logb.s | 24 ++++++++++++++ reactos/lib/sdk/crt/math/arm/_statusfp.s | 24 ++++++++++++++ reactos/lib/sdk/crt/math/arm/atan.s | 24 ++++++++++++++ reactos/lib/sdk/crt/math/arm/atan2.s | 24 ++++++++++++++ reactos/lib/sdk/crt/math/arm/ceil.s | 33 +++++++++++++++++++ reactos/lib/sdk/crt/math/arm/exp.s | 24 ++++++++++++++ reactos/lib/sdk/crt/math/arm/fabs.s | 24 ++++++++++++++ reactos/lib/sdk/crt/math/arm/floor.s | 18 ++++++++-- reactos/lib/sdk/crt/math/arm/fmod.s | 24 ++++++++++++++ reactos/lib/sdk/crt/math/arm/ldexp.s | 24 ++++++++++++++ reactos/lib/sdk/crt/math/arm/log.s | 24 ++++++++++++++ reactos/lib/sdk/crt/math/arm/log10.s | 8 +++-- reactos/lib/sdk/crt/math/arm/pow.s | 8 +++-- reactos/lib/sdk/crt/math/arm/sqrt.s | 24 ++++++++++++++ reactos/lib/sdk/crt/math/arm/tan.s | 24 ++++++++++++++ 28 files changed, 410 insertions(+), 33 deletions(-) create mode 100644 reactos/lib/sdk/crt/math/arm/_controlfp.s create mode 100644 reactos/lib/sdk/crt/math/arm/_fpreset.s create mode 100644 reactos/lib/sdk/crt/math/arm/_logb.s create mode 100644 reactos/lib/sdk/crt/math/arm/_statusfp.s create mode 100644 reactos/lib/sdk/crt/math/arm/atan.s create mode 100644 reactos/lib/sdk/crt/math/arm/atan2.s create mode 100644 reactos/lib/sdk/crt/math/arm/ceil.s create mode 100644 reactos/lib/sdk/crt/math/arm/exp.s create mode 100644 reactos/lib/sdk/crt/math/arm/fabs.s create mode 100644 reactos/lib/sdk/crt/math/arm/fmod.s create mode 100644 reactos/lib/sdk/crt/math/arm/ldexp.s create mode 100644 reactos/lib/sdk/crt/math/arm/log.s create mode 100644 reactos/lib/sdk/crt/math/arm/sqrt.s create mode 100644 reactos/lib/sdk/crt/math/arm/tan.s diff --git a/reactos/lib/sdk/crt/math/arm/__dtou64.s b/reactos/lib/sdk/crt/math/arm/__dtou64.s index 8cfed7b0280..03fd67b6b04 100644 --- a/reactos/lib/sdk/crt/math/arm/__dtou64.s +++ b/reactos/lib/sdk/crt/math/arm/__dtou64.s @@ -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@reactos.org) */ @@ -10,10 +10,14 @@ #include /* CODE **********************************************************************/ + TEXTAREA LEAF_ENTRY __dtou64 + __assertfail + bx lr + LEAF_END __dtou64 END diff --git a/reactos/lib/sdk/crt/math/arm/__rt_div.c b/reactos/lib/sdk/crt/math/arm/__rt_div.c index 33b86182e2c..3ba33262d72 100644 --- a/reactos/lib/sdk/crt/math/arm/__rt_div.c +++ b/reactos/lib/sdk/crt/math/arm/__rt_div.c @@ -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 diff --git a/reactos/lib/sdk/crt/math/arm/__rt_div_worker.h b/reactos/lib/sdk/crt/math/arm/__rt_div_worker.h index 78bf31d568f..e0d0ef30265 100644 --- a/reactos/lib/sdk/crt/math/arm/__rt_div_worker.h +++ b/reactos/lib/sdk/crt/math/arm/__rt_div_worker.h @@ -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 diff --git a/reactos/lib/sdk/crt/math/arm/__rt_sdiv.c b/reactos/lib/sdk/crt/math/arm/__rt_sdiv.c index 28906feccbc..dea2b30e326 100644 --- a/reactos/lib/sdk/crt/math/arm/__rt_sdiv.c +++ b/reactos/lib/sdk/crt/math/arm/__rt_sdiv.c @@ -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 diff --git a/reactos/lib/sdk/crt/math/arm/__rt_sdiv64.s b/reactos/lib/sdk/crt/math/arm/__rt_sdiv64.s index 426ea366717..c5ea8bb15ed 100644 --- a/reactos/lib/sdk/crt/math/arm/__rt_sdiv64.s +++ b/reactos/lib/sdk/crt/math/arm/__rt_sdiv64.s @@ -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@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 */ diff --git a/reactos/lib/sdk/crt/math/arm/__rt_sdiv64_worker.c b/reactos/lib/sdk/crt/math/arm/__rt_sdiv64_worker.c index 970df72f0f3..171a3d81d21 100644 --- a/reactos/lib/sdk/crt/math/arm/__rt_sdiv64_worker.c +++ b/reactos/lib/sdk/crt/math/arm/__rt_sdiv64_worker.c @@ -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 diff --git a/reactos/lib/sdk/crt/math/arm/__rt_srsh.s b/reactos/lib/sdk/crt/math/arm/__rt_srsh.s index 92a27c50ab0..5a4510c8b1a 100644 --- a/reactos/lib/sdk/crt/math/arm/__rt_srsh.s +++ b/reactos/lib/sdk/crt/math/arm/__rt_srsh.s @@ -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@reactos.org) */ @@ -10,10 +10,14 @@ #include /* CODE **********************************************************************/ + TEXTAREA LEAF_ENTRY __rt_srsh + __assertfail + bx lr + LEAF_END __rt_srsh END diff --git a/reactos/lib/sdk/crt/math/arm/__rt_udiv.c b/reactos/lib/sdk/crt/math/arm/__rt_udiv.c index 29c4df49bd0..0d047e3c66a 100644 --- a/reactos/lib/sdk/crt/math/arm/__rt_udiv.c +++ b/reactos/lib/sdk/crt/math/arm/__rt_udiv.c @@ -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/md/arm/_div10.s.htm diff --git a/reactos/lib/sdk/crt/math/arm/__rt_udiv64.s b/reactos/lib/sdk/crt/math/arm/__rt_udiv64.s index 81d39e32d19..07c90bce81c 100644 --- a/reactos/lib/sdk/crt/math/arm/__rt_udiv64.s +++ b/reactos/lib/sdk/crt/math/arm/__rt_udiv64.s @@ -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@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 */ diff --git a/reactos/lib/sdk/crt/math/arm/__rt_udiv64_worker.c b/reactos/lib/sdk/crt/math/arm/__rt_udiv64_worker.c index 36df53cb7e3..03be5ff96a4 100644 --- a/reactos/lib/sdk/crt/math/arm/__rt_udiv64_worker.c +++ b/reactos/lib/sdk/crt/math/arm/__rt_udiv64_worker.c @@ -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/md/arm/_div10.s.htm diff --git a/reactos/lib/sdk/crt/math/arm/__u64tod.s b/reactos/lib/sdk/crt/math/arm/__u64tod.s index df06352cc4e..cf56f96fc80 100644 --- a/reactos/lib/sdk/crt/math/arm/__u64tod.s +++ b/reactos/lib/sdk/crt/math/arm/__u64tod.s @@ -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@reactos.org) */ @@ -10,10 +10,14 @@ #include /* CODE **********************************************************************/ + TEXTAREA LEAF_ENTRY __u64tod + __assertfail + bx lr + LEAF_END __u64tod END diff --git a/reactos/lib/sdk/crt/math/arm/_controlfp.s b/reactos/lib/sdk/crt/math/arm/_controlfp.s new file mode 100644 index 00000000000..e7cbf13cb6e --- /dev/null +++ b/reactos/lib/sdk/crt/math/arm/_controlfp.s @@ -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@reactos.org) + */ + +/* INCLUDES ******************************************************************/ + +#include + +/* CODE **********************************************************************/ + + TEXTAREA + + LEAF_ENTRY _controlfp + + __assertfail + bx lr + + LEAF_END _controlfp + + END +/* EOF */ diff --git a/reactos/lib/sdk/crt/math/arm/_fpreset.s b/reactos/lib/sdk/crt/math/arm/_fpreset.s new file mode 100644 index 00000000000..caba746d382 --- /dev/null +++ b/reactos/lib/sdk/crt/math/arm/_fpreset.s @@ -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@reactos.org) + */ + +/* INCLUDES ******************************************************************/ + +#include + +/* CODE **********************************************************************/ + + TEXTAREA + + LEAF_ENTRY _fpreset + + __assertfail + bx lr + + LEAF_END _fpreset + + END +/* EOF */ diff --git a/reactos/lib/sdk/crt/math/arm/_logb.s b/reactos/lib/sdk/crt/math/arm/_logb.s new file mode 100644 index 00000000000..ca86f871bfd --- /dev/null +++ b/reactos/lib/sdk/crt/math/arm/_logb.s @@ -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@reactos.org) + */ + +/* INCLUDES ******************************************************************/ + +#include + +/* CODE **********************************************************************/ + + TEXTAREA + + LEAF_ENTRY _logb + + __assertfail + bx lr + + LEAF_END _logb + + END +/* EOF */ diff --git a/reactos/lib/sdk/crt/math/arm/_statusfp.s b/reactos/lib/sdk/crt/math/arm/_statusfp.s new file mode 100644 index 00000000000..1c810985f3e --- /dev/null +++ b/reactos/lib/sdk/crt/math/arm/_statusfp.s @@ -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@reactos.org) + */ + +/* INCLUDES ******************************************************************/ + +#include + +/* CODE **********************************************************************/ + + TEXTAREA + + LEAF_ENTRY _statusfp + + __assertfail + bx lr + + LEAF_END _statusfp + + END +/* EOF */ diff --git a/reactos/lib/sdk/crt/math/arm/atan.s b/reactos/lib/sdk/crt/math/arm/atan.s new file mode 100644 index 00000000000..65ee8b4afd8 --- /dev/null +++ b/reactos/lib/sdk/crt/math/arm/atan.s @@ -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@reactos.org) + */ + +/* INCLUDES ******************************************************************/ + +#include + +/* CODE **********************************************************************/ + + TEXTAREA + + LEAF_ENTRY atan + + __assertfail + bx lr + + LEAF_END atan + + END +/* EOF */ diff --git a/reactos/lib/sdk/crt/math/arm/atan2.s b/reactos/lib/sdk/crt/math/arm/atan2.s new file mode 100644 index 00000000000..e0c187f1456 --- /dev/null +++ b/reactos/lib/sdk/crt/math/arm/atan2.s @@ -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@reactos.org) + */ + +/* INCLUDES ******************************************************************/ + +#include + +/* CODE **********************************************************************/ + + TEXTAREA + + LEAF_ENTRY atan2 + + __assertfail + bx lr + + LEAF_END atan2 + + END +/* EOF */ diff --git a/reactos/lib/sdk/crt/math/arm/ceil.s b/reactos/lib/sdk/crt/math/arm/ceil.s new file mode 100644 index 00000000000..716f2eeb8a1 --- /dev/null +++ b/reactos/lib/sdk/crt/math/arm/ceil.s @@ -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@reactos.org) + * Original implementation: dawncrow + * SOURCE: MinGW-w64\mingw-w64-crt\math\ceil.S + */ + +/* INCLUDES ******************************************************************/ + +#include + +/* 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 */ diff --git a/reactos/lib/sdk/crt/math/arm/exp.s b/reactos/lib/sdk/crt/math/arm/exp.s new file mode 100644 index 00000000000..18f08edaaa4 --- /dev/null +++ b/reactos/lib/sdk/crt/math/arm/exp.s @@ -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@reactos.org) + */ + +/* INCLUDES ******************************************************************/ + +#include + +/* CODE **********************************************************************/ + + TEXTAREA + + LEAF_ENTRY exp + + __assertfail + bx lr + + LEAF_END exp + + END +/* EOF */ diff --git a/reactos/lib/sdk/crt/math/arm/fabs.s b/reactos/lib/sdk/crt/math/arm/fabs.s new file mode 100644 index 00000000000..331c6ec64c0 --- /dev/null +++ b/reactos/lib/sdk/crt/math/arm/fabs.s @@ -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@reactos.org) + */ + +/* INCLUDES ******************************************************************/ + +#include + +/* CODE **********************************************************************/ + + TEXTAREA + + LEAF_ENTRY fabs + + __assertfail + bx lr + + LEAF_END fabs + + END +/* EOF */ diff --git a/reactos/lib/sdk/crt/math/arm/floor.s b/reactos/lib/sdk/crt/math/arm/floor.s index 1a94834eb88..9dce0383278 100644 --- a/reactos/lib/sdk/crt/math/arm/floor.s +++ b/reactos/lib/sdk/crt/math/arm/floor.s @@ -1,19 +1,31 @@ /* - * 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@reactos.org) + * Original implementation: dawncrow + * SOURCE: MinGW-w64\mingw-w64-crt\math\floor.S */ /* INCLUDES ******************************************************************/ -#include +#include /* 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 END diff --git a/reactos/lib/sdk/crt/math/arm/fmod.s b/reactos/lib/sdk/crt/math/arm/fmod.s new file mode 100644 index 00000000000..a52a354c24f --- /dev/null +++ b/reactos/lib/sdk/crt/math/arm/fmod.s @@ -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@reactos.org) + */ + +/* INCLUDES ******************************************************************/ + +#include + +/* CODE **********************************************************************/ + + TEXTAREA + + LEAF_ENTRY fmod + + __assertfail + bx lr + + LEAF_END fmod + + END +/* EOF */ diff --git a/reactos/lib/sdk/crt/math/arm/ldexp.s b/reactos/lib/sdk/crt/math/arm/ldexp.s new file mode 100644 index 00000000000..de1f9d89b30 --- /dev/null +++ b/reactos/lib/sdk/crt/math/arm/ldexp.s @@ -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@reactos.org) + */ + +/* INCLUDES ******************************************************************/ + +#include + +/* CODE **********************************************************************/ + + TEXTAREA + + LEAF_ENTRY ldexp + + __assertfail + bx lr + + LEAF_END ldexp + + END +/* EOF */ diff --git a/reactos/lib/sdk/crt/math/arm/log.s b/reactos/lib/sdk/crt/math/arm/log.s new file mode 100644 index 00000000000..f22ca40c139 --- /dev/null +++ b/reactos/lib/sdk/crt/math/arm/log.s @@ -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@reactos.org) + */ + +/* INCLUDES ******************************************************************/ + +#include + +/* CODE **********************************************************************/ + + TEXTAREA + + LEAF_ENTRY log + + __assertfail + bx lr + + LEAF_END log + + END +/* EOF */ diff --git a/reactos/lib/sdk/crt/math/arm/log10.s b/reactos/lib/sdk/crt/math/arm/log10.s index a15151ae4f5..236e4f28857 100644 --- a/reactos/lib/sdk/crt/math/arm/log10.s +++ b/reactos/lib/sdk/crt/math/arm/log10.s @@ -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@reactos.org) */ @@ -10,10 +10,14 @@ #include /* CODE **********************************************************************/ + TEXTAREA LEAF_ENTRY log10 + __assertfail + bx lr + LEAF_END log10 END diff --git a/reactos/lib/sdk/crt/math/arm/pow.s b/reactos/lib/sdk/crt/math/arm/pow.s index 6df1cc99055..a5ac1df7659 100644 --- a/reactos/lib/sdk/crt/math/arm/pow.s +++ b/reactos/lib/sdk/crt/math/arm/pow.s @@ -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@reactos.org) */ @@ -10,10 +10,14 @@ #include /* CODE **********************************************************************/ + TEXTAREA LEAF_ENTRY pow + __assertfail + bx lr + LEAF_END pow END diff --git a/reactos/lib/sdk/crt/math/arm/sqrt.s b/reactos/lib/sdk/crt/math/arm/sqrt.s new file mode 100644 index 00000000000..4852306c85b --- /dev/null +++ b/reactos/lib/sdk/crt/math/arm/sqrt.s @@ -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@reactos.org) + */ + +/* INCLUDES ******************************************************************/ + +#include + +/* CODE **********************************************************************/ + + TEXTAREA + + LEAF_ENTRY sqrt + + __assertfail + bx lr + + LEAF_END sqrt + + END +/* EOF */ diff --git a/reactos/lib/sdk/crt/math/arm/tan.s b/reactos/lib/sdk/crt/math/arm/tan.s new file mode 100644 index 00000000000..6cdcae8fc09 --- /dev/null +++ b/reactos/lib/sdk/crt/math/arm/tan.s @@ -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@reactos.org) + */ + +/* INCLUDES ******************************************************************/ + +#include + +/* CODE **********************************************************************/ + + TEXTAREA + + LEAF_ENTRY tan + + __assertfail + bx lr + + LEAF_END tan + + END +/* EOF */