Raymond Toy pushed to branch issue-425-correctly-rounded-math-functions at cmucl / cmucl

Commits:

2 changed files:

Changes:

  • src/lisp/Config.x86_linux
    ... ... @@ -9,7 +9,8 @@ CPPFLAGS += -m32
    9 9
     # Gcc 15.2.1 and possibly other version can't compile core-math
    
    10 10
     # without this option.
    
    11 11
     CFLAGS += -std=gnu11
    
    12
    -CFLAGS += -rdynamic  -march=pentium4 -mfpmath=sse -mtune=generic
    
    12
    +#CFLAGS += -rdynamic  -march=pentium4 -mfpmath=sse -mtune=generic
    
    13
    +CFLAGS += -rdynamic  -march=haswell -mfpmath=sse
    
    13 14
     # ANALYZER flag should be set to -fanalyzer when doing the CI builds
    
    14 15
     # for the C static analyzer.
    
    15 16
     CFLAGS += -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 $(ANALYZER)
    

  • src/lisp/Config.x86_linux_clang
    ... ... @@ -8,7 +8,8 @@ CFLAGS += $(COPT)
    8 8
     # Allow sse2 instructions (-msse2); and tune for pentium4
    
    9 9
     # (-mtune=pentium4), the first chip to have sse2; and finally generate
    
    10 10
     # code assuming instructions can trap (-ftrapping-math).
    
    11
    -CFLAGS += -msse2 -mtune=pentium4 -ftrapping-math
    
    11
    +#CFLAGS += -msse2 -mtune=pentium4 -ftrapping-math
    
    12
    +CFLAGS += -msse2 -mtune=haswell -ftrapping-math
    
    12 13
     CFLAGS += -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
    
    13 14
     
    
    14 15
     UNDEFSYMPATTERN = -Xlinker -u -Xlinker &