[cmucl-cvs] CMUCL commit: cross-sol-x86-branch src/lisp (Config.sparc_common)
Raymond Toy
rtoy at common-lisp.net
Tue Dec 14 21:26:02 UTC 2010
Date: Tuesday, December 14, 2010 @ 16:26:02
Author: rtoy
Path: /project/cmucl/cvsroot/src/lisp
Tag: cross-sol-x86-branch
Modified: Config.sparc_common
Add -DFEATURE_SSE2 if we're compiling on x86 and have either
FEATURE_X87 or FEATURE_SSE2 defined.
---------------------+
Config.sparc_common | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
Index: src/lisp/Config.sparc_common
diff -u src/lisp/Config.sparc_common:1.3.6.1 src/lisp/Config.sparc_common:1.3.6.2
--- src/lisp/Config.sparc_common:1.3.6.1 Mon Dec 13 23:25:11 2010
+++ src/lisp/Config.sparc_common Tue Dec 14 16:26:02 2010
@@ -27,12 +27,24 @@
GC_SRC = gencgc.c
endif
+# Enable support for SSE2. If FEATURE_X87 is set, we want SSE2
+# support in the C code too so that the same binary is built in both
+# cases. If neither is set, then we don't want any SSE2 support at
+# all.
+ifdef FEATURE_X87
+SSE2 = -DFEATURE_SSE2
+else
+ifdef FEATURE_SSE2
+SSE2 = -DFEATURE_SSE2
+endif
+endif
+
# Enable support for Unicode
ifdef FEATURE_UNICODE
UNICODE = -DUNICODE
endif
-CPPFLAGS = -I. -I$(PATH1) -DSOLARIS -DSVR4 $(CC_V8PLUS) $(LINKAGE) $(GENCGC) $(UNICODE)
+CPPFLAGS = -I. -I$(PATH1) -DSOLARIS -DSVR4 $(CC_V8PLUS) $(LINKAGE) $(GENCGC) $(UNICODE) $(SSE2)
CFLAGS = -g $(CC_V8PLUS)
More information about the cmucl-cvs
mailing list