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,8 +9,7 @@ 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
    
    13
    -CFLAGS += -rdynamic  -march=haswell -mfpmath=sse
    
    12
    +CFLAGS += -rdynamic  -march=pentium4 -mfpmath=sse -mtune=generic
    
    14 13
     # ANALYZER flag should be set to -fanalyzer when doing the CI builds
    
    15 14
     # for the C static analyzer.
    
    16 15
     CFLAGS += -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 $(ANALYZER)
    

  • src/lisp/Config.x86_linux_clang
    ... ... @@ -8,8 +8,7 @@ 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
    
    12
    -CFLAGS += -msse2 -mtune=haswell -ftrapping-math
    
    11
    +CFLAGS += -msse2 -mtune=pentium4 -ftrapping-math
    
    13 12
     CFLAGS += -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
    
    14 13
     
    
    15 14
     UNDEFSYMPATTERN = -Xlinker -u -Xlinker &