Loading src/lisp/Config.x86_common +21 −0 Changes for src/lisp/Config.x86_common: 21 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -45,7 +45,24 @@ ifdef FEATURE_UNICODE CPP_DEFINE_OPTIONS += -DUNICODE endif # Default to using gcc CC = gcc # But we can use clang. # # However, clang seems to want to use SSE instructions in various # places, but we DON'T want that because we need a lisp that will run # on chips without sse. # # But on Mac, every machine has SSE2 so we can use SSE2. However, # there's some code path through GC or allocation where we aren't # saving the FPU state so after GC or allocation, some XMM FP # registers are corrupted. # # Got that? #CC = clang -mno-sse LD = ld ifeq ($(filter 2% 3%, $(shell $(CC) -dumpversion)),) Loading @@ -70,3 +87,7 @@ DEPEND_FLAGS = # -ffloat-store and -fno-strict-aliasing anymore. e_rem_pio2.o : e_rem_pio2.c $(CC) -c $(CFLAGS) $(CPPFLAGS) $< # gencgc.o : gencgc.c $(CC) -c -mno-sse $(CFLAGS) $(CPPFLAGS) $< No newline at end of file Loading
src/lisp/Config.x86_common +21 −0 Changes for src/lisp/Config.x86_common: 21 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -45,7 +45,24 @@ ifdef FEATURE_UNICODE CPP_DEFINE_OPTIONS += -DUNICODE endif # Default to using gcc CC = gcc # But we can use clang. # # However, clang seems to want to use SSE instructions in various # places, but we DON'T want that because we need a lisp that will run # on chips without sse. # # But on Mac, every machine has SSE2 so we can use SSE2. However, # there's some code path through GC or allocation where we aren't # saving the FPU state so after GC or allocation, some XMM FP # registers are corrupted. # # Got that? #CC = clang -mno-sse LD = ld ifeq ($(filter 2% 3%, $(shell $(CC) -dumpversion)),) Loading @@ -70,3 +87,7 @@ DEPEND_FLAGS = # -ffloat-store and -fno-strict-aliasing anymore. e_rem_pio2.o : e_rem_pio2.c $(CC) -c $(CFLAGS) $(CPPFLAGS) $< # gencgc.o : gencgc.c $(CC) -c -mno-sse $(CFLAGS) $(CPPFLAGS) $< No newline at end of file