[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 331/437: mips: Do not make t9 available as a generic reg
From: |
Andy Wingo |
Subject: |
[Guile-commits] 331/437: mips: Do not make t9 available as a generic register |
Date: |
Mon, 2 Jul 2018 05:14:48 -0400 (EDT) |
wingo pushed a commit to branch lightning
in repository guile.
commit ade23376f9d31a912ee47cc8a6d9871266e0e7c3
Author: pcpa <address@hidden>
Date: Mon Nov 3 12:55:35 2014 -0200
mips: Do not make t9 available as a generic register
* include/lightning/jit_mips.h: Do not make the t9 register
JIT_R11 (or JIT_R7 for n32 or n64 abi) available. Previously
it cause problems if one expects it to not be changed in a
function call. For example, calling a jit function, where it
really does not need to be changed.
---
ChangeLog | 8 ++++++++
include/lightning/jit_mips.h | 6 ++----
2 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index ef39be4..655eeb9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2014-11-03 Paulo Andrade <address@hidden>
+
+ * include/lightning/jit_mips.h: Do not make the t9 register
+ JIT_R11 (or JIT_R7 for n32 or n64 abi) available. Previously
+ it cause problems if one expects it to not be changed in a
+ function call. For example, calling a jit function, where it
+ really does not need to be changed.
+
2014-10-26 Paulo Andrade <address@hidden>
* lib/jit_aarch64.c, lib/jit_alpha.c, lib/jit_arm.c,
diff --git a/include/lightning/jit_mips.h b/include/lightning/jit_mips.h
index c56d511..7ebf153 100644
--- a/include/lightning/jit_mips.h
+++ b/include/lightning/jit_mips.h
@@ -35,10 +35,10 @@ typedef enum {
#define jit_r(i) (_V0 + (i))
#if NEW_ABI
# define jit_arg_reg_p(i) ((i) >= 0 && (i) < 4)
-# define jit_r_num() 8
+# define jit_r_num() 7
#else
# define jit_arg_reg_p(i) ((i) >= 0 && (i) < 4)
-# define jit_r_num() 12
+# define jit_r_num() 11
#endif
#define jit_v(i) (_S0 + (i))
#define jit_v_num() 8
@@ -58,7 +58,6 @@ typedef enum {
# define JIT_R4 _T6
# define JIT_R5 _T7
# define JIT_R6 _T8
-# define JIT_R7 _T9
#else
# define JIT_R2 _T0
# define JIT_R3 _T1
@@ -69,7 +68,6 @@ typedef enum {
# define JIT_R8 _T6
# define JIT_R9 _T7
# define JIT_R10 _T8
-# define JIT_R11 _T9
#endif
_V0, _V1,
#if !NEW_ABI
- [Guile-commits] 281/437: Implement the new jit_set_data interface., (continued)
- [Guile-commits] 281/437: Implement the new jit_set_data interface., Andy Wingo, 2018/07/02
- [Guile-commits] 329/437: cross: Provide the action for the cross compiling case, Andy Wingo, 2018/07/02
- [Guile-commits] 178/437: Update texinfo documentation to match current implementation., Andy Wingo, 2018/07/02
- [Guile-commits] 392/437: Bump library major., Andy Wingo, 2018/07/02
- [Guile-commits] 398/437: ia64: Pass all tests for variadic jit functions, Andy Wingo, 2018/07/02
- [Guile-commits] 397/437: Implement new synthesized IR codes sequences, Andy Wingo, 2018/07/02
- [Guile-commits] 410/437: GNU lightning 2.1.2 release, Andy Wingo, 2018/07/02
- [Guile-commits] 270/437: x86: Use aligned offset for x87 to/from sse move., Andy Wingo, 2018/07/02
- [Guile-commits] 302/437: Add info menu entry for lightning, Andy Wingo, 2018/07/02
- [Guile-commits] 214/437: Remove remaining ia64 port debug code., Andy Wingo, 2018/07/02
- [Guile-commits] 331/437: mips: Do not make t9 available as a generic register,
Andy Wingo <=
- [Guile-commits] 287/437: ARM: Do not leave early init_jit if /proc is not mounted., Andy Wingo, 2018/07/02
- [Guile-commits] 405/437: Add a second pass to compute live register ranges, Andy Wingo, 2018/07/02
- [Guile-commits] 300/437: Add consistency check on temporaries during a jump, Andy Wingo, 2018/07/02
- [Guile-commits] 276/437: Rewrite jit_regset_scan1 for easier optimization., Andy Wingo, 2018/07/02
- [Guile-commits] 268/437: Sync after regenerating version.texi., Andy Wingo, 2018/07/02
- [Guile-commits] 277/437: x86_64: Correct wrong inline assembly in jit_get_cpu, Andy Wingo, 2018/07/02
- [Guile-commits] 360/437: Correct wrong check in simplify_stxi., Andy Wingo, 2018/07/02
- [Guile-commits] 389/437: alpha: Save correct offset if loading a vararg double., Andy Wingo, 2018/07/02
- [Guile-commits] 380/437: ppc: Add initial jit_va_ calls to ppc, Andy Wingo, 2018/07/02
- [Guile-commits] 239/437: Avoid possible problem if built with gcc 4.8 or newer., Andy Wingo, 2018/07/02