projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
1.0.40.1: fix return value of WRITE
[sbcl.git]
/
src
/
code
/
float-trap.lisp
diff --git
a/src/code/float-trap.lisp
b/src/code/float-trap.lisp
index
95f385a
..
4bd83cb
100644
(file)
--- a/
src/code/float-trap.lisp
+++ b/
src/code/float-trap.lisp
@@
-47,7
+47,7
@@
;;; interpreter stubs for floating point modes get/setters for the
;;; alpha have been removed to alpha-vm.lisp, as they are implemented
;;; interpreter stubs for floating point modes get/setters for the
;;; alpha have been removed to alpha-vm.lisp, as they are implemented
-;;; in C rather than as VOPs.
+;;; in C rather than as VOPs. Likewise for x86-64 and mips.
#!-(or alpha x86-64 mips)
(progn
(defun floating-point-modes ()
#!-(or alpha x86-64 mips)
(progn
(defun floating-point-modes ()
@@
-158,7
+158,7
@@
sets the floating point modes to their current values (and thus is a no-op)."
;;; disabled by default. Joe User can explicitly enable them if
;;; desired.
(defvar *saved-floating-point-modes*
;;; disabled by default. Joe User can explicitly enable them if
;;; desired.
(defvar *saved-floating-point-modes*
- '(:traps (:overflow #!-netbsd :invalid :divide-by-zero)
+ '(:traps (:overflow #!-(or netbsd ppc) :invalid :divide-by-zero)
:rounding-mode :nearest :current-exceptions nil
:accrued-exceptions nil :fast-mode nil
#!+x86 :precision #!+x86 :53-bit))
:rounding-mode :nearest :current-exceptions nil
:accrued-exceptions nil :fast-mode nil
#!+x86 :precision #!+x86 :53-bit))