[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 04/07: Fix compilation of compile_eq
From: |
Andy Wingo |
Subject: |
[Guile-commits] 04/07: Fix compilation of compile_eq |
Date: |
Sun, 2 Sep 2018 03:24:25 -0400 (EDT) |
wingo pushed a commit to branch lightning
in repository guile.
commit dafa648915a6f2f1638e37e19fdcdb1b9325faf5
Author: Andy Wingo <address@hidden>
Date: Sat Sep 1 10:11:17 2018 +0200
Fix compilation of compile_eq
* libguile/jit.c (compile_eq): Compare to register, not immediate.
---
libguile/jit.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libguile/jit.c b/libguile/jit.c
index 1c76285..d8d9677 100644
--- a/libguile/jit.c
+++ b/libguile/jit.c
@@ -3213,10 +3213,10 @@ compile_eq (scm_jit_state *j, uint16_t a, uint16_t b)
switch (fuse_conditional_branch (j, &target))
{
case scm_op_je:
- k = jit_beqi (T0, T1);
+ k = jit_beqr (T0, T1);
break;
case scm_op_jne:
- k = jit_bnei (T0, T1);
+ k = jit_bner (T0, T1);
break;
default:
UNREACHABLE ();
- [Guile-commits] branch lightning updated (dac4344 -> 449ef7d), Andy Wingo, 2018/09/02
- [Guile-commits] 07/07: Prevent Lightning from stompling our registers, Andy Wingo, 2018/09/02
- [Guile-commits] 06/07: Add ability to stop JIT after N compilations., Andy Wingo, 2018/09/02
- [Guile-commits] 05/07: Minor 32-bit untag-fixnum optimization, Andy Wingo, 2018/09/02
- [Guile-commits] 04/07: Fix compilation of compile_eq,
Andy Wingo <=
- [Guile-commits] 03/07: More JIT debugging, Andy Wingo, 2018/09/02
- [Guile-commits] 02/07: JIT threshold controlled by environment variable, Andy Wingo, 2018/09/02
- [Guile-commits] 01/07: Minor optimization in compile_alloc_frame, Andy Wingo, 2018/09/02