[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 111/437: Define extra SSE2 xmmN registers and set JIT_FP
From: |
Andy Wingo |
Subject: |
[Guile-commits] 111/437: Define extra SSE2 xmmN registers and set JIT_FPTMP to the topmost one. |
Date: |
Mon, 2 Jul 2018 05:13:55 -0400 (EDT) |
wingo pushed a commit to branch lightning
in repository guile.
commit adc42ad2ad5cc56f0e9a755700c7fbad6c6ac925
Author: Paulo Cesar Pereira de Andrade <address@hidden>
Date: Mon Aug 23 18:37:41 2010 -0300
Define extra SSE2 xmmN registers and set JIT_FPTMP to the topmost one.
---
lightning/i386/asm.h | 8 ++++++++
lightning/i386/fp-64.h | 6 +++---
2 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/lightning/i386/asm.h b/lightning/i386/asm.h
index 2dec4b9..29f3ab1 100644
--- a/lightning/i386/asm.h
+++ b/lightning/i386/asm.h
@@ -103,6 +103,14 @@ typedef _uc jit_insn;
#define _XMM5 0x75
#define _XMM6 0x76
#define _XMM7 0x77
+#define _XMM8 0x78
+#define _XMM9 0x79
+#define _XMM10 0x7a
+#define _XMM11 0x7b
+#define _XMM12 0x7c
+#define _XMM13 0x7d
+#define _XMM14 0x7e
+#define _XMM15 0x7f
#define _ST0 0
#define _ST1 1
diff --git a/lightning/i386/fp-64.h b/lightning/i386/fp-64.h
index bb4b65f..2dfe399 100644
--- a/lightning/i386/fp-64.h
+++ b/lightning/i386/fp-64.h
@@ -35,10 +35,10 @@
#include <float.h>
-#define JIT_FPR_NUM 9
+#define JIT_FPR_NUM 8
#define JIT_FPRET _XMM0
-#define JIT_FPR(i) (_XMM7 + (i))
-#define JIT_FPTMP _XMM6
+#define JIT_FPR(i) (_XMM8 + (i))
+#define JIT_FPTMP _XMM15
/* Either use a temporary register that is finally AND/OR/XORed with RS = RD,
or use RD as the temporary register and to the AND/OR/XOR with RS. */
- [Guile-commits] 100/437: fix jit_movbrm in the i386 backend, (continued)
- [Guile-commits] 100/437: fix jit_movbrm in the i386 backend, Andy Wingo, 2018/07/02
- [Guile-commits] 58/437: use CALLsr, not CALLLsr, Andy Wingo, 2018/07/02
- [Guile-commits] 60/437: don't use _VOID symbol, reserved by newlib (cygwin), Andy Wingo, 2018/07/02
- [Guile-commits] 96/437: fix blunder in operand order (i386), Andy Wingo, 2018/07/02
- [Guile-commits] 97/437: fix x86 shifts, Andy Wingo, 2018/07/02
- [Guile-commits] 104/437: fix jit_extr_f_d and jit_extr_d_f for x86-64, Andy Wingo, 2018/07/02
- [Guile-commits] 107/437: fix -D_ASM_SAFETY compilation of beqr_d and bne_d, Andy Wingo, 2018/07/02
- [Guile-commits] 101/437: fix i386 jit_replace and x86_64 jit_movi_f, Andy Wingo, 2018/07/02
- [Guile-commits] 118/437: Account stack alignment on jit functions with odd number of arguments., Andy Wingo, 2018/07/02
- [Guile-commits] 03/437: big merge, Andy Wingo, 2018/07/02
- [Guile-commits] 111/437: Define extra SSE2 xmmN registers and set JIT_FPTMP to the topmost one.,
Andy Wingo <=
- [Guile-commits] 94/437: fix problems with i386 32-bit floating point branches, Andy Wingo, 2018/07/02
- [Guile-commits] 115/437: Change JIT_FPR_NUM to 7 to prevent clobber of JIT_FPR(7), Andy Wingo, 2018/07/02
- [Guile-commits] 112/437: Add safety check on number of integer and float arguments on x86_64., Andy Wingo, 2018/07/02
- [Guile-commits] 95/437: another fix to jit_fp_btest, Andy Wingo, 2018/07/02
- [Guile-commits] 110/437: Change jit_getarg_{c, uc, s, us, i, ui} to extr_l to sign extend on 64 bits., Andy Wingo, 2018/07/02
- [Guile-commits] 117/437: Implement x86_64 support for multiple integer and float arguments., Andy Wingo, 2018/07/02
- [Guile-commits] 105/437: fix 64-bit load with sign extension, Andy Wingo, 2018/07/02
- [Guile-commits] 70/437: add _s32P, Andy Wingo, 2018/07/02
- [Guile-commits] 121/437: Define some extra fp-common macros when sizeof(long) == sizeof(int)., Andy Wingo, 2018/07/02
- [Guile-commits] 77/437: add .gitattributes file, Andy Wingo, 2018/07/02