Raymond Toy pushed to branch issue-425-correctly-rounded-math-functions at cmucl / cmucl
Commits:
-
ad844ddd
by Raymond Toy at 2025-12-18T06:36:11-08:00
-
467e0824
by Raymond Toy at 2025-12-18T07:56:25-08:00
3 changed files:
Changes:
| ... | ... | @@ -147,7 +147,7 @@ linux:build: |
| 147 | 147 | - job: linux:install
|
| 148 | 148 | artifacts: true
|
| 149 | 149 | variables:
|
| 150 | - CONFIG: "x86_linux"
|
|
| 150 | + CONFIG: "x86_linux_clang"
|
|
| 151 | 151 | # These rules is needed so that the static analyzer job can run on a
|
| 152 | 152 | # schedule because this is a prerequisite of the analyzer build. A
|
| 153 | 153 | # regular push or merge request does the normal stuff.
|
| ... | ... | @@ -171,7 +171,7 @@ linux:cross-build: |
| 171 | 171 | - linux-4/lisp
|
| 172 | 172 | variables:
|
| 173 | 173 | # This must match the config used for the linux build!
|
| 174 | - CONFIG: "x86_linux"
|
|
| 174 | + CONFIG: "x86_linux_clang"
|
|
| 175 | 175 | |
| 176 | 176 | needs:
|
| 177 | 177 | |
| ... | ... | @@ -346,7 +346,7 @@ ubuntu:build: |
| 346 | 346 | - job: ubuntu:install
|
| 347 | 347 | artifacts: true
|
| 348 | 348 | variables:
|
| 349 | - CONFIG: "x86_linux"
|
|
| 349 | + CONFIG: "x86_linux_clang"
|
|
| 350 | 350 | |
| 351 | 351 | ubuntu:test:
|
| 352 | 352 | <<: *unit_test_configuration
|
| ... | ... | @@ -6,8 +6,7 @@ CORE_MATH = -DCORE_MATH_SUPPORT_ERRNO |
| 6 | 6 | |
| 7 | 7 | CFLAGS += $(COPT)
|
| 8 | 8 | CPPFLAGS += -m32
|
| 9 | -#CFLAGS += -rdynamic -march=pentium4 -mfpmath=sse -mtune=generic
|
|
| 10 | -CFLAGS += -rdynamic -march=haswell -mfpmath=sse
|
|
| 9 | +CFLAGS += -rdynamic -march=pentium4 -mfpmath=sse -mtune=generic
|
|
| 11 | 10 | # ANALYZER flag should be set to -fanalyzer when doing the CI builds
|
| 12 | 11 | # for the C static analyzer.
|
| 13 | 12 | CFLAGS += -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 $(ANALYZER)
|
| ... | ... | @@ -345,7 +345,9 @@ |
| 345 | 345 | ;; acosh(1.5) = log((sqrt(5)+3)/2, case 1 < x < 2
|
| 346 | 346 | (assert-eql 0.9624236501192069d0 (acosh 1.5d0))
|
| 347 | 347 | ;; acosh(4) = log(sqrt(15)+4), case 2 < x < 2^28
|
| 348 | - (assert-eql 2.0634370688955608d0 (acosh 4d0))
|
|
| 348 | + (assert-eql #-core-math 2.0634370688955608d0
|
|
| 349 | + #+core-math 2.0634370688955603d0
|
|
| 350 | + (acosh 4d0))
|
|
| 349 | 351 | ;; acosh(2^50), case 2^28 < x
|
| 350 | 352 | (assert-eql 35.35050620855721d0 (acosh (scale-float 1d0 50)))
|
| 351 | 353 | ;; No overflow for most positive
|