From 9d1235af960860109a34f8c890b017002c901973 Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Fri, 27 Oct 2017 16:31:32 +0200 Subject: [PATCH] Use new instructions for f64 comparisons * module/language/cps/compile-bytecode.scm (compile-function): Use new instructions for f64 comparisons. --- module/language/cps/compile-bytecode.scm | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/module/language/cps/compile-bytecode.scm b/module/language/cps/compile-bytecode.scm index 5e477b67e..9794c0960 100644 --- a/module/language/cps/compile-bytecode.scm +++ b/module/language/cps/compile-bytecode.scm @@ -456,17 +456,17 @@ (($ $primcall 'u64-= (a b)) (binary-test emit-u64=? a b)) (($ $primcall 'u64->= (a b)) (binary* emit-u64 (a b)) (binary* emit-u64= (a b)) (binary* emit-f64 (a b)) (binary* emit-f64=-scm (a b)) (binary emit-br-if-u64->=-scm a b)) (($ $primcall 'u64->-scm (a b)) (binary emit-br-if-u64->-scm a b)) - (($ $primcall 'logtest (a b)) (binary emit-br-if-logtest a b)) - (($ $primcall 'f64-< (a b)) (binary emit-br-if-f64-< a b)) - (($ $primcall 'f64-<= (a b)) (binary emit-br-if-f64-<= a b)) - (($ $primcall 'f64-= (a b)) (binary emit-br-if-f64-= a b)) - (($ $primcall 'f64->= (a b)) (binary emit-br-if-f64->= a b)) - (($ $primcall 'f64-> (a b)) (binary emit-br-if-f64-> a b)))) + (($ $primcall 'logtest (a b)) (binary emit-br-if-logtest a b)))) (define (compile-trunc label k exp nreq rest-var) (define (do-call proc args emit-call)