[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 113/437: Change JIT_REXTMP, JIT_R, JIT_V to use 64-bit r
From: |
Andy Wingo |
Subject: |
[Guile-commits] 113/437: Change JIT_REXTMP, JIT_R, JIT_V to use 64-bit registers |
Date: |
Mon, 2 Jul 2018 05:13:55 -0400 (EDT) |
wingo pushed a commit to branch lightning
in repository guile.
commit 3eb42b42b619abb3c35d68ad455d6ba11da18e45
Author: Paulo Cesar Pereira de Andrade <address@hidden>
Date: Mon Aug 23 19:42:55 2010 -0300
Change JIT_REXTMP, JIT_R, JIT_V to use 64-bit registers
---
lightning/i386/asm-64.h | 16 ++++++++--------
lightning/i386/core-64.h | 6 +++---
2 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/lightning/i386/asm-64.h b/lightning/i386/asm-64.h
index e8a57c4..deaf1a8 100644
--- a/lightning/i386/asm-64.h
+++ b/lightning/i386/asm-64.h
@@ -115,14 +115,14 @@
#define _RBP 0x55
#define _RSI 0x56
#define _RDI 0x57
-#define _R8 0x48
-#define _R9 0x49
-#define _R10 0x4A
-#define _R11 0x4B
-#define _R12 0x4C
-#define _R13 0x4D
-#define _R14 0x4E
-#define _R15 0x4F
+#define _R8 0x58
+#define _R9 0x59
+#define _R10 0x5A
+#define _R11 0x5B
+#define _R12 0x5C
+#define _R13 0x5D
+#define _R14 0x5E
+#define _R15 0x5F
#define _RIP -2
#if defined(_ASM_SAFETY)
diff --git a/lightning/i386/core-64.h b/lightning/i386/core-64.h
index 01cc9d2..a3effb2 100644
--- a/lightning/i386/core-64.h
+++ b/lightning/i386/core-64.h
@@ -36,7 +36,7 @@
/* Used to implement ldc, stc, ... */
#define JIT_CAN_16 0
-#define JIT_REXTMP _R9D
+#define JIT_REXTMP _R9
/* Number or integer argument registers */
#define JIT_ARG_MAX 6
@@ -45,9 +45,9 @@
#define JIT_FP_ARG_MAX 8
#define JIT_R_NUM 3
-#define JIT_R(i) ((i) == 0 ? _EAX : _R9D + (i))
+#define JIT_R(i) ((i) == 0 ? _EAX : _R9 + (i))
#define JIT_V_NUM 3
-#define JIT_V(i) ((i) == 0 ? _EBX : _R11D + (i))
+#define JIT_V(i) ((i) == 0 ? _EBX : _R11 + (i))
struct jit_local_state {
int long_jumps;
- [Guile-commits] 93/437: subtract 1 from the final byte being flushed in PPC jit_flush_code, (continued)
- [Guile-commits] 93/437: subtract 1 from the final byte being flushed in PPC jit_flush_code, Andy Wingo, 2018/07/02
- [Guile-commits] 176/437: Add the new jit_name call to mark function boundaries, Andy Wingo, 2018/07/02
- [Guile-commits] 146/437: Add several arithmetic and branch tests cases., Andy Wingo, 2018/07/02
- [Guile-commits] 191/437: Add updated sparc example from lightning 1.2c documentation., Andy Wingo, 2018/07/02
- [Guile-commits] 151/437: Add new varargs test and correct related test case failures in all ports., Andy Wingo, 2018/07/02
- [Guile-commits] 198/437: Remove non optional gmp dependency., Andy Wingo, 2018/07/02
- [Guile-commits] 202/437: Ensure the end argument of __clear_cache is page aligned., Andy Wingo, 2018/07/02
- [Guile-commits] 197/437: Adapt PowerPC port to work in Darwin 32 bit and Linux 64 bit., Andy Wingo, 2018/07/02
- [Guile-commits] 184/437: Implement the "live" code to explicitly tell a register is live., Andy Wingo, 2018/07/02
- [Guile-commits] 149/437: Make all current test cases pass in Darwin PowerPC., Andy Wingo, 2018/07/02
- [Guile-commits] 113/437: Change JIT_REXTMP, JIT_R, JIT_V to use 64-bit registers,
Andy Wingo <=
- [Guile-commits] 173/437: Add filename and line number annotation abstraction., Andy Wingo, 2018/07/02
- [Guile-commits] 201/437: Do not start over jit generation if can safely grow buffer size., Andy Wingo, 2018/07/02
- [Guile-commits] 152/437: Remove most type casts and compile test tool silently with -Wall, Andy Wingo, 2018/07/02
- [Guile-commits] 208/437: Implement fpr register arguments and minor extra fixes., Andy Wingo, 2018/07/02
- [Guile-commits] 211/437: Correct the cvt.tst test case on Itanium., Andy Wingo, 2018/07/02
- [Guile-commits] 187/437: Correct regression with float arguments in arm hardp, Andy Wingo, 2018/07/02
- [Guile-commits] 200/437: Add a simple memory management wrapper., Andy Wingo, 2018/07/02
- [Guile-commits] 196/437: Add missing __ppc__ definition., Andy Wingo, 2018/07/02
- [Guile-commits] 159/437: Correct stack.tst test case on ppc. Now all tests pass in all backends., Andy Wingo, 2018/07/02
- [Guile-commits] 172/437: Rework {get, push}arg{, i, r}_{f, d} to a more descriptive name and usage., Andy Wingo, 2018/07/02