Raymond Toy pushed to branch master at cmucl / cmucl

Commits:

6 changed files:

Changes:

  • src/lisp/Config.x86_common
    ... ... @@ -45,10 +45,11 @@ endif
    45 45
     CPPFLAGS := $(CPP_DEFINE_OPTIONS) $(CPP_INCLUDE_OPTIONS) 
    
    46 46
     CFLAGS += -Wstrict-prototypes -Wall -g -fno-omit-frame-pointer
    
    47 47
     
    
    48
    -# gcc 8.1.1 and 8.3.1 (and probably anything after 8.1.1?) won't
    
    49
    -# produce a working lisp with -O2.  Just use -O1.
    
    50
    -CFLAGS += -O1
    
    51
    -ASFLAGS = -g 
    
    48
    +# Default optimization level.  This can be changed in the individual
    
    49
    +# configs.
    
    50
    +COPT = -O2
    
    51
    +
    
    52
    +ASFLAGS = -g
    
    52 53
     
    
    53 54
     ASSEM_SRC = x86-assem.S
    
    54 55
     ARCH_SRC = x86-arch.c
    

  • src/lisp/Config.x86_darwin
    ... ... @@ -6,6 +6,7 @@ include Config.x86_common
    6 6
     # you have the SDK available.
    
    7 7
     MIN_VER = -mmacosx-version-min=10.6
    
    8 8
     
    
    9
    +CFLAGS += $(COPT)
    
    9 10
     CPPFLAGS += -DDARWIN $(MIN_VER) -m32
    
    10 11
     CFLAGS += -g3 -mtune=generic
    
    11 12
     ASFLAGS += -g3 $(MIN_VER)
    

  • src/lisp/Config.x86_linux
    1 1
     # -*- Mode: makefile -*-
    
    2 2
     include Config.x86_common
    
    3 3
     
    
    4
    +# gcc 8.1.1 and 8.3.1 (and probably anything after 8.1.1?) won't
    
    5
    +# produce a working lisp with -O2.  Just use -O1.
    
    6
    +COPT = -O1
    
    7
    +CFLAGS += $(COPT)
    
    4 8
     CPPFLAGS += -m32 -D__NO_CTYPE -D_GNU_SOURCE
    
    5 9
     CFLAGS += -rdynamic  -march=pentium4 -mfpmath=sse -mtune=generic
    
    6 10
     
    

  • src/lisp/Config.x86_linux_clang
    ... ... @@ -3,6 +3,7 @@ include Config.x86_common
    3 3
     
    
    4 4
     CC = clang
    
    5 5
     CPPFLAGS += -m32 -D__NO_CTYPE -D_GNU_SOURCE
    
    6
    +CFLAGS += $(COPT)
    
    6 7
     CFLAGS += -march=pentium4 -mfpmath=sse -mtune=generic
    
    7 8
     
    
    8 9
     UNDEFSYMPATTERN = -Xlinker -u -Xlinker &
    

  • src/lisp/Config.x86_netbsd
    1 1
     # -*- Mode: makefile -*-
    
    2 2
     include Config.x86_common
    
    3 3
     
    
    4
    +CFLAGS += $(COPT)
    
    4 5
     CPPFLAGS += -march=pentium4 -mfpmath=sse
    
    5 6
     
    
    6 7
     UNDEFSYMPATTERN = -Xlinker -u -Xlinker &
    

  • src/lisp/Config.x86_solaris_sunc
    ... ... @@ -2,6 +2,7 @@
    2 2
     include Config.sparc_common
    
    3 3
     
    
    4 4
     CC = cc -xlibmieee -g
    
    5
    +CFLAGS += $(COPT)
    
    5 6
     CFLAGS += -Di386
    
    6 7
     CPP = cc -E
    
    7 8
     DEPEND_FLAGS = -xM1