From b88c6dce54d4b9426a19b5111abb4db87fb3db40 Mon Sep 17 00:00:00 2001 From: Taylor R Campbell Date: Fri, 14 Dec 2018 13:42:18 +0000 Subject: [PATCH] Disable open-coding of flonum-copysign/abs/negate on i386 for now. Requires too much work to get these to handle signalling NaN correctly at the moment. --- src/compiler/machines/i386/machin.scm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/compiler/machines/i386/machin.scm b/src/compiler/machines/i386/machin.scm index 5de18a519..17dd499dd 100644 --- a/src/compiler/machines/i386/machin.scm +++ b/src/compiler/machines/i386/machin.scm @@ -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 -- 2.25.1