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

Raymond Toy rtoy at common-lisp.net
Sat Aug 2 22:16:03 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  21aad0ecc9f96297deedf9362c19fd877910592a (commit)
       via  a0138a0ccc5d7bd08a7e8445cdd5e05ae83d4618 (commit)
      from  6ea8fc645c5c60634e864a2741ee897b93a4ef5f (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 21aad0ecc9f96297deedf9362c19fd877910592a
Author: Raymond Toy <toy.raymond at gmail.com>
Date:   Sat Aug 2 15:15:53 2014 -0700

    Use fdlibm hyperbolic functions instead of libm.

diff --git a/src/code/irrat.lisp b/src/code/irrat.lisp
index ef1628b..86c7d9e 100644
--- a/src/code/irrat.lisp
+++ b/src/code/irrat.lisp
@@ -71,9 +71,9 @@
 (def-math-rtn "atan2" 2)
 (def-math-rtn ("__ieee754_asin" %asin) 1)
 (def-math-rtn ("__ieee754_acos" %acos) 1)
-(def-math-rtn "sinh" 1)
-(def-math-rtn "cosh" 1)
-(def-math-rtn "tanh" 1)
+(def-math-rtn ("__ieee754_sinh" %sinh) 1)
+(def-math-rtn ("__ieee754_cosh" %cosh) 1)
+(def-math-rtn ("fdlibm_tanh" %tanh) 1)
 (def-math-rtn "asinh" 1)
 (def-math-rtn "acosh" 1)
 (def-math-rtn "atanh" 1)

commit a0138a0ccc5d7bd08a7e8445cdd5e05ae83d4618
Author: Raymond Toy <toy.raymond at gmail.com>
Date:   Sat Aug 2 15:15:36 2014 -0700

    Compile the fdlibm hyperbolic functions.

diff --git a/src/lisp/Config.x86_darwin b/src/lisp/Config.x86_darwin
index 9a2c467..7ced0db 100644
--- a/src/lisp/Config.x86_darwin
+++ b/src/lisp/Config.x86_darwin
@@ -18,7 +18,10 @@ OS_LIBS =
 
 EXEC_FINAL_OBJ = exec-final.o
 
-OS_SRC += k_sin.c k_cos.c k_tan.c s_sin.c s_cos.c s_tan.c sincos.c s_log1p.c s_expm1.c e_pow.c e_exp.c e_log.c e_acos.c e_asin.c s_atan.c
+OS_SRC += k_sin.c k_cos.c k_tan.c s_sin.c s_cos.c s_tan.c sincos.c \
+	s_log1p.c s_expm1.c e_pow.c e_exp.c e_log.c \
+	e_acos.c e_asin.c s_atan.c \
+	e_cosh.c e_sinh.c s_tanh.c
 
 k_sin.o : k_sin.c
 	$(CC) -c $(CFLAGS) $(CPPFLAGS) $(CC_REM_PIO2) $<
@@ -55,3 +58,10 @@ e_asin.o : e_asin.c
 	$(CC) -c $(CFLAGS) $(CPPFLAGS) $(CC_REM_PIO2) $<
 s_atan.o : s_atan.c
 	$(CC) -c $(CFLAGS) $(CPPFLAGS) $(CC_REM_PIO2) $<
+
+e_cosh.o : e_cosh.c
+	$(CC) -c $(CFLAGS) $(CPPFLAGS) $(CC_REM_PIO2) $<
+e_sinh.o : e_sinh.c
+	$(CC) -c $(CFLAGS) $(CPPFLAGS) $(CC_REM_PIO2) $<
+s_tanh.o : s_tanh.c
+	$(CC) -c $(CFLAGS) $(CPPFLAGS) $(CC_REM_PIO2) $<

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

Summary of changes:
 src/code/irrat.lisp        |    6 +++---
 src/lisp/Config.x86_darwin |   12 +++++++++++-
 2 files changed, 14 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
CMU Common Lisp


More information about the cmucl-commit mailing list