[ros-diffs] [fireball] 27201: - Uhh.. Doing it properly now. - Also gathered trigonometric function into one file.

fireball at svn.reactos.org fireball at svn.reactos.org
Sat Jun 16 13:55:22 CEST 2007


Author: fireball
Date: Sat Jun 16 15:55:21 2007
New Revision: 27201

URL: http://svn.reactos.org/svn/reactos?rev=27201&view=rev
Log:
- Uhh.. Doing it properly now.
- Also gathered trigonometric function into one file.

Added:
    trunk/reactos/lib/sdk/libcntpr/math/i386/trig_asm.s   (with props)
Removed:
    trunk/reactos/lib/sdk/libcntpr/math/i386/atan_asm.s
    trunk/reactos/lib/sdk/libcntpr/math/i386/cos_asm.s
    trunk/reactos/lib/sdk/libcntpr/math/i386/sin_asm.s
    trunk/reactos/lib/sdk/libcntpr/math/i386/tan_asm.s
Modified:
    trunk/reactos/lib/sdk/libcntpr/libcntpr.rbuild
    trunk/reactos/lib/sdk/libcntpr/math/i386/fabs_asm.s
    trunk/reactos/lib/sdk/libcntpr/math/i386/log_asm.s
    trunk/reactos/lib/sdk/libcntpr/math/i386/sqrt_asm.s

Modified: trunk/reactos/lib/sdk/libcntpr/libcntpr.rbuild
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/libcntpr/libcntpr.rbuild?rev=27201&r1=27200&r2=27201&view=diff
==============================================================================
--- trunk/reactos/lib/sdk/libcntpr/libcntpr.rbuild (original)
+++ trunk/reactos/lib/sdk/libcntpr/libcntpr.rbuild Sat Jun 16 15:55:21 2007
@@ -26,21 +26,18 @@
                 <file>allrem_asm.s</file>
                 <file>allshl_asm.s</file>
                 <file>allshr_asm.s</file>
-                <file>atan_asm.s</file>
                 <file>aulldiv_asm.s</file>
                 <file>aulldvrm_asm.s</file>
                 <file>aullrem_asm.s</file>
                 <file>aullshr_asm.s</file>
                 <file>ceil_asm.s</file>
-                <file>cos_asm.s</file>
                 <file>fabs_asm.s</file>
                 <file>floor_asm.s</file>
                 <file>ftol_asm.s</file>
                 <file>log_asm.s</file>
                 <file>pow_asm.s</file>
-                <file>sin_asm.s</file>
                 <file>sqrt_asm.s</file>
-                <file>tan_asm.s</file>
+                <file>trig_asm.s</file>
             </directory>
         </if>
         <file>abs.c</file>

Removed: trunk/reactos/lib/sdk/libcntpr/math/i386/atan_asm.s
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/libcntpr/math/i386/atan_asm.s?rev=27200&view=auto
==============================================================================
--- trunk/reactos/lib/sdk/libcntpr/math/i386/atan_asm.s (original)
+++ trunk/reactos/lib/sdk/libcntpr/math/i386/atan_asm.s (removed)
@@ -1,17 +1,0 @@
-/*
- * COPYRIGHT:         See COPYING in the top level directory
- * PROJECT:           ReactOS kernel
- * PURPOSE:           Run-Time Library
- * FILE:              lib/rtl/i386/atan.S
- * PROGRAMER:         Magnus Olsen (greatlord at greatlord.com)
-*/
- 
-.globl _atan
- 
-.intel_syntax noprefix
-
-_atan:
-        fld qword ptr [esp+4]
-        fld1
-        fpatan
-        ret

Removed: trunk/reactos/lib/sdk/libcntpr/math/i386/cos_asm.s
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/libcntpr/math/i386/cos_asm.s?rev=27200&view=auto
==============================================================================
--- trunk/reactos/lib/sdk/libcntpr/math/i386/cos_asm.s (original)
+++ trunk/reactos/lib/sdk/libcntpr/math/i386/cos_asm.s (removed)
@@ -1,16 +1,0 @@
-/*
- * COPYRIGHT:         See COPYING in the top level directory
- * PROJECT:           ReactOS kernel
- * PURPOSE:           Run-Time Library
- * FILE:              lib/rtl/i386/cos.S
- * PROGRAMER:         Magnus Olsen (greatlord at greatlord.com)
-*/
-
-.globl _cos
-
-.intel_syntax noprefix
-
-_cos:
-        fld qword ptr [esp+4]
-        fcos
-        ret

Modified: trunk/reactos/lib/sdk/libcntpr/math/i386/fabs_asm.s
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/libcntpr/math/i386/fabs_asm.s?rev=27201&r1=27200&r2=27201&view=diff
==============================================================================
--- trunk/reactos/lib/sdk/libcntpr/math/i386/fabs_asm.s (original)
+++ trunk/reactos/lib/sdk/libcntpr/math/i386/fabs_asm.s Sat Jun 16 15:55:21 2007
@@ -10,6 +10,6 @@
 .intel_syntax noprefix
 _fabs:
 
-        fld qword ptr [esp+4]
+        fld qword ptr [esp+8]
         fabs
         ret

Modified: trunk/reactos/lib/sdk/libcntpr/math/i386/log_asm.s
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/libcntpr/math/i386/log_asm.s?rev=27201&r1=27200&r2=27201&view=diff
==============================================================================
--- trunk/reactos/lib/sdk/libcntpr/math/i386/log_asm.s (original)
+++ trunk/reactos/lib/sdk/libcntpr/math/i386/log_asm.s Sat Jun 16 15:55:21 2007
@@ -9,7 +9,7 @@
 .intel_syntax noprefix
 
 _log:
-        fld     qword ptr [esp+4]
+        fld     qword ptr [esp+8]
         fldln2
         fxch    st(1)
         fyl2x

Removed: trunk/reactos/lib/sdk/libcntpr/math/i386/sin_asm.s
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/libcntpr/math/i386/sin_asm.s?rev=27200&view=auto
==============================================================================
--- trunk/reactos/lib/sdk/libcntpr/math/i386/sin_asm.s (original)
+++ trunk/reactos/lib/sdk/libcntpr/math/i386/sin_asm.s (removed)
@@ -1,14 +1,0 @@
-/*
- * COPYRIGHT:         See COPYING in the top level directory
- * PROJECT:           ReactOS kernel
- * PURPOSE:           Run-Time Library
- * FILE:              lib/rtl/i386/sin.S
- * PROGRAMER:         Magnus Olsen (greatlord at greatlord.com)
- */
- 
-.globl _sin
-.intel_syntax noprefix
-_sin:
-        fld     qword ptr [esp+4]
-        fsin
-        ret

Modified: trunk/reactos/lib/sdk/libcntpr/math/i386/sqrt_asm.s
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/libcntpr/math/i386/sqrt_asm.s?rev=27201&r1=27200&r2=27201&view=diff
==============================================================================
--- trunk/reactos/lib/sdk/libcntpr/math/i386/sqrt_asm.s (original)
+++ trunk/reactos/lib/sdk/libcntpr/math/i386/sqrt_asm.s Sat Jun 16 15:55:21 2007
@@ -12,6 +12,6 @@
 .intel_syntax noprefix
 
 _sqrt:
-        fld     qword ptr [esp+4]
+        fld     qword ptr [esp+8]
         fsqrt
         ret

Removed: trunk/reactos/lib/sdk/libcntpr/math/i386/tan_asm.s
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/libcntpr/math/i386/tan_asm.s?rev=27200&view=auto
==============================================================================
--- trunk/reactos/lib/sdk/libcntpr/math/i386/tan_asm.s (original)
+++ trunk/reactos/lib/sdk/libcntpr/math/i386/tan_asm.s (removed)
@@ -1,16 +1,0 @@
-/*
- * COPYRIGHT:         See COPYING in the top level directory
- * PROJECT:           ReactOS kernel
- * PURPOSE:           Run-Time Library
- * FILE:              lib/rtl/i386/tan.S
- * PROGRAMER:         Magnus Olsen (magnus at greatlord.com)
- */
-.globl _tan
-.intel_syntax noprefix
-_tan:
-        sub     esp,4
-        fld     qword ptr [ebp+8]
-        fptan
-        fstp    dword ptr [ebp+4]
-        add     esp,4;
-        ret

Added: trunk/reactos/lib/sdk/libcntpr/math/i386/trig_asm.s
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/libcntpr/math/i386/trig_asm.s?rev=27201&view=auto
==============================================================================
--- trunk/reactos/lib/sdk/libcntpr/math/i386/trig_asm.s (added)
+++ trunk/reactos/lib/sdk/libcntpr/math/i386/trig_asm.s Sat Jun 16 15:55:21 2007
@@ -1,0 +1,36 @@
+/*
+ * COPYRIGHT:         See COPYING in the top level directory
+ * PROJECT:           ReactOS kernel
+ * PURPOSE:           Run-Time Library
+ * FILE:              lib/rtl/i386/trig_asm.s
+ * PROGRAMER:         Aleksey Bragin (aleksey reactos org)
+*/
+
+.globl _atan
+.globl _cos
+.globl _sin
+.globl _tan
+
+.intel_syntax noprefix
+
+_atan:
+        fld qword ptr [esp+8]
+        fld1
+        fpatan
+        ret
+
+_cos:
+        fld qword ptr [esp+8]
+        fcos
+        ret
+
+_sin:
+        fld qword ptr [esp+8]
+        fsin
+        ret
+
+_tan:
+        fld     qword ptr [esp+8]
+        fptan
+        fstp    dword ptr [esp-4]
+        ret

Propchange: trunk/reactos/lib/sdk/libcntpr/math/i386/trig_asm.s
------------------------------------------------------------------------------
    svn:eol-style = native




More information about the Ros-diffs mailing list