[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Guile-commits] 01/01: Fix f32-set! JIT compilation

From: Andy Wingo
Subject: [Guile-commits] 01/01: Fix f32-set! JIT compilation
Date: Thu, 4 Oct 2018 10:51:34 -0400 (EDT)

wingo pushed a commit to branch master
in repository guile.

commit 6f3357b0df64c4be17e72079864c09a542f1c779
Author: Andy Wingo <address@hidden>
Date:   Thu Oct 4 16:50:10 2018 +0200

    Fix f32-set! JIT compilation
    * libguile/jit.c (compile_f32_set): Fix to write an f32, not a f64.
 libguile/jit.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libguile/jit.c b/libguile/jit.c
index 8ef570f..34bd317 100644
--- a/libguile/jit.c
+++ b/libguile/jit.c
@@ -4119,7 +4119,7 @@ compile_f32_set (scm_jit_state *j, uint8_t ptr, uint8_t 
idx, uint8_t v)
   emit_sp_ref_f64 (j, JIT_F0, v);
   jit_extr_d_f (JIT_F0, JIT_F0);
   record_fpr_clobber (j, JIT_F0);
-  jit_stxr_d (T0, T1, JIT_F0);
+  jit_stxr_f (T0, T1, JIT_F0);
 static void

reply via email to

[Prev in Thread] Current Thread [Next in Thread]