[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 09/34: Fix enter/leave JIT ABI
From: |
Andy Wingo |
Subject: |
[Guile-commits] 09/34: Fix enter/leave JIT ABI |
Date: |
Mon, 20 May 2019 09:55:52 -0400 (EDT) |
wingo pushed a commit to branch master
in repository guile.
commit 9c9389ad2b5bed2b7232cb6ced2a1417e6d1852a
Author: Andy Wingo <address@hidden>
Date: Thu May 16 10:45:44 2019 +0200
Fix enter/leave JIT ABI
---
lightening/lightening.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lightening/lightening.c b/lightening/lightening.c
index 46cd0d3..c58f577 100644
--- a/lightening/lightening.c
+++ b/lightening/lightening.c
@@ -1096,7 +1096,7 @@ jit_enter_jit_abi(jit_state_t *_jit, size_t v, size_t vf,
size_t frame_size)
jit_align_stack(_jit, (pv_count + v) * (__WORDSIZE / 8) + vf * 8);
size_t offset = 0;
- for (size_t i = 0; i < vf_count; i++, offset += 8)
+ for (size_t i = 0; i < vf; i++, offset += 8)
jit_stxi_d(_jit, offset, JIT_SP, user_callee_save_fprs[i]);
for (size_t i = 0; i < v; i++, offset += __WORDSIZE / 8)
jit_stxi(_jit, offset, JIT_SP, user_callee_save_gprs[i]);
@@ -1115,7 +1115,7 @@ jit_leave_jit_abi(jit_state_t *_jit, size_t v, size_t vf,
size_t frame_size)
ASSERT((pv_count + v) * (__WORDSIZE / 8) + vf * 8 <= frame_size);
size_t offset = 0;
- for (size_t i = 0; i < vf_count; i++, offset += 8)
+ for (size_t i = 0; i < vf; i++, offset += 8)
jit_ldxi_d(_jit, user_callee_save_fprs[i], JIT_SP, offset);
for (size_t i = 0; i < v; i++, offset += __WORDSIZE / 8)
jit_ldxi(_jit, user_callee_save_gprs[i], JIT_SP, offset);
- [Guile-commits] branch master updated (1b98734 -> e057ea0), Andy Wingo, 2019/05/20
- [Guile-commits] 02/34: Refactor some bits from x86 to lightening, Andy Wingo, 2019/05/20
- [Guile-commits] 07/34: Fix GPR temporary selection, Andy Wingo, 2019/05/20
- [Guile-commits] 01/34: Refactor to move temp register acquire to core, Andy Wingo, 2019/05/20
- [Guile-commits] 10/34: Fix a couple bugs related to aarch64 literal pools, Andy Wingo, 2019/05/20
- [Guile-commits] 06/34: Allow a backend to have multiple temporary registers, Andy Wingo, 2019/05/20
- [Guile-commits] 09/34: Fix enter/leave JIT ABI,
Andy Wingo <=
- [Guile-commits] 14/34: Fix dpkg --add-architecture invocation, Andy Wingo, 2019/05/20
- [Guile-commits] 16/34: Attempt to fix CI on Debian, Andy Wingo, 2019/05/20
- [Guile-commits] 19/34: Attempt to fix CI on Debian, Andy Wingo, 2019/05/20
- [Guile-commits] 24/34: Remove unused jit_{gpr,fpr}_is_callee_save, Andy Wingo, 2019/05/20
- [Guile-commits] 11/34: Aarch64 backend avoids needless temporary register allocation, Andy Wingo, 2019/05/20
- [Guile-commits] 04/34: Refactor to add support for constant tables, shifted relocs, Andy Wingo, 2019/05/20
- [Guile-commits] 34/34: Merge remote-tracking branch 'lightening/master', Andy Wingo, 2019/05/20
- [Guile-commits] 12/34: Remove jit_nop, Andy Wingo, 2019/05/20
- [Guile-commits] 15/34: Fix YAML for CI, Andy Wingo, 2019/05/20
- [Guile-commits] 18/34: Attempt to fix CI on Debian, Andy Wingo, 2019/05/20