Disable open-coding of flonum-copysign/abs/negate on i386 for now.
authorTaylor R Campbell <campbell@mumble.net>
Fri, 14 Dec 2018 13:42:18 +0000 (13:42 +0000)
committerTaylor R Campbell <campbell@mumble.net>
Sat, 15 Dec 2018 22:33:21 +0000 (22:33 +0000)
Requires too much work to get these to handle signalling NaN
correctly at the moment.

src/compiler/machines/i386/machin.scm

index 5de18a51949e0de4faad54bdf3147185cc567638..17dd499dd07b4ea4362a00b4823706479744c80c 100644 (file)
@@ -363,4 +363,9 @@ USA.
                  FLONUM-IS-LESS-OR-GREATER? FLONUM-IS-UNORDERED?
                  FLONUM-IS-NORMAL? FLONUM-IS-FINITE? FLONUM-IS-INFINITE?
                  FLONUM-IS-NAN? FLONUM-IS-ZERO? FLONUM-IS-EQUAL?
-                 FLONUM-IS-NEGATIVE? FLONUM-COPYSIGN))
\ No newline at end of file
+                 FLONUM-IS-NEGATIVE?
+                 ;; Disabled: these require some care to handle
+                 ;; signalling NaN, which can't even be loaded onto
+                 ;; the i387 floating-point stack without raising an
+                 ;; exception.
+                 FLONUM-COPYSIGN FLONUM-NEGATE FLONUM-ABS))
\ No newline at end of file