Raymond Toy pushed to branch issue-435-add-core-math-lisp-support at cmucl / cmucl Commits: 4e342cc5 by Raymond Toy at 2026-02-27T17:18:42-08:00 Use the same floating-point-modes for all x86. Previously, Darwin x86 had special float-point-modes functions. However, with lisp_expf, we weren't signaling overflows because x87 instructions weren't causing traps. Use the same routines for all x86. - - - - - 1 changed file: - src/code/float-trap.lisp Changes: ===================================== src/code/float-trap.lisp ===================================== @@ -92,7 +92,7 @@ (setf (x87-floating-point-modes) x87-modes))) ) -#+(and sse2 (not darwin)) +#+(and sse2) (progn (defun floating-point-modes () ;; Combine the modes from the FPU and SSE2 units. Since the sse @@ -133,7 +133,7 @@ (setf (vm::x87-floating-point-modes) (ldb (byte 30 0) x87-modes))) new-mode)) -#+(and sse2 darwin) +#+(and nil sse2 darwin) (progn (defun floating-point-modes () ;; Get just the SSE2 mode bits. View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/commit/4e342cc5337cbed20601b8ac... -- View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/commit/4e342cc5337cbed20601b8ac... You're receiving this email because of your account on gitlab.common-lisp.net.
participants (1)
-
Raymond Toy (@rtoy)