[cmucl-commit] [git] CMU Common Lisp branch master updated. snapshot-2014-06-17-g30696a3

Raymond Toy rtoy at common-lisp.net
Thu Jul 24 04:24:21 UTC 2014


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMU Common Lisp".

The branch, master has been updated
       via  30696a3a294bf520a303108d6ada81c741cd2590 (commit)
      from  0c78392056e9471f98f63e32a03ba5ab9e6bbc97 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 30696a3a294bf520a303108d6ada81c741cd2590
Author: Raymond Toy <toy.raymond at gmail.com>
Date:   Wed Jul 23 21:24:11 2014 -0700

    Add fdlibm trig for sparc.
    
    Sparc's libm almost gets everything right but it fails two tests;
    
     | Failed Form: (COS (* 13/4 PI))
     | Expected -0.7071067811865471d0 but saw -0.7071067811865472d0
     |
     | Failed Form: (SIN (SCALE-FLOAT 1.0d0 120))
     | Expected 0.377820109360752d0 but saw 0.37782010936075205d0
    
    In both of these cases, the expected value is the correct one, as
    confirmed by computing these values with maxima to 64 digits of
    precision.  (Care must be used to look at the actual bits instead of
    rounding the printed decimal form.)

diff --git a/src/lisp/Config.sparc_sunc b/src/lisp/Config.sparc_sunc
index 2e0b4e0..ffe4598 100644
--- a/src/lisp/Config.sparc_sunc
+++ b/src/lisp/Config.sparc_sunc
@@ -28,3 +28,22 @@ CFLAGS += -xlibmieee -O
 DEPEND_FLAGS = -xM
 ASFLAGS = $(AS_V8PLUS)
 OS_LINK_FLAGS = -M /usr/lib/ld/map.noexstk
+
+OS_SRC += k_sin.c k_cos.c k_tan.c s_sin.c s_cos.c s_tan.c sincos.c
+
+k_sin.o : k_sin.c
+	$(CC) -c $(CFLAGS) $(CPPFLAGS) $(CC_REM_PIO2) $<
+k_cos.o : k_cos.c
+	$(CC) -c $(CFLAGS) $(CPPFLAGS) $(CC_REM_PIO2) $<
+k_tan.o : k_tan.c
+	$(CC) -c $(CFLAGS) $(CPPFLAGS) $(CC_REM_PIO2) $<
+
+s_sin.o : s_sin.c
+	$(CC) -c $(CFLAGS) $(CPPFLAGS) $(CC_REM_PIO2) $<
+s_cos.o : s_cos.c
+	$(CC) -c $(CFLAGS) $(CPPFLAGS) $(CC_REM_PIO2) $<
+s_tan.o : s_tan.c
+	$(CC) -c $(CFLAGS) $(CPPFLAGS) $(CC_REM_PIO2) $<
+
+sincos.o : sincos.c
+	$(CC) -c $(CFLAGS) $(CPPFLAGS) $(CC_REM_PIO2) $<

-----------------------------------------------------------------------

Summary of changes:
 src/lisp/Config.sparc_sunc |   19 +++++++++++++++++++
 1 file changed, 19 insertions(+)


hooks/post-receive
-- 
CMU Common Lisp


More information about the cmucl-commit mailing list