[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 46/437: merge from ludovic
From: |
Andy Wingo |
Subject: |
[Guile-commits] 46/437: merge from ludovic |
Date: |
Mon, 2 Jul 2018 05:13:42 -0400 (EDT) |
wingo pushed a commit to branch lightning
in repository guile.
commit 67d0c9a3f1122ab2353e45bdd5bfa2801ba24009
Author: Paolo Bonzini <address@hidden>
Date: Thu Nov 23 09:03:34 2006 +0000
merge from ludovic
Patches applied:
* address@hidden/lightning--stable--1.2--patch-38
Doc: Mention `JIT_R_NUM' and `JIT_V_NUM'.
* address@hidden/lightning--stable--1.2--patch-43
Removed C99/C++ comments from `asm-i386.h'.
git-archimport-id: address@hidden/lightning--stable--1.2--patch-50
---
doc/using.texi | 2 +-
lightning/i386/asm-i386.h | 8 +++++---
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/doc/using.texi b/doc/using.texi
index 2bc4cf1..173f1e7 100644
--- a/doc/using.texi
+++ b/doc/using.texi
@@ -101,7 +101,7 @@ preserved across function calls (@code{V0}, @code{V1} and
restriction was forced by the need to target CISC architectures
which, like the x86, are poor of registers; anyway, backends can
specify the actual number of available caller- and callee-save
-registers.
+registers with the macros @code{JIT_R_NUM} and @code{JIT_V_NUM}.
In addition, there is a special @code{RET} register which contains the
return value of the current function (@emph{not} the return value of
diff --git a/lightning/i386/asm-i386.h b/lightning/i386/asm-i386.h
index 94d944c..67f44a2 100644
--- a/lightning/i386/asm-i386.h
+++ b/lightning/i386/asm-i386.h
@@ -252,7 +252,7 @@ typedef _uc jit_insn;
#define __REX_reg(RR) (__REXwrxb(0,0,0,00,_BIT(_rXP(RR))))
#define __REX_mem(MB,MI) (__REXwrxb(0,0,0,_BIT(_rXP(MI)),_BIT(_rXP(MB))))
-// FIXME: can't mix new (SPL,BPL,SIL,DIL) with (AH,BH,CH,DH)
+/* FIXME: can't mix new (SPL,BPL,SIL,DIL) with (AH,BH,CH,DH) */
#define _REXBrr(RR,MR)
_m64(__REXw_x_(_r1e8lP(RR)||_r1e8lP(MR),0,RR,0,MR))
#define _REXBmr(MB,MI,RD)
_m64(__REXw_x_(_r1e8lP(RD)||_r1e8lP(MB),0,RD,_BIT(_rXP(MI)),MB))
#define _REXBrm(RS,MB,MI) _REXBmr(MB,MI,RS)
@@ -896,12 +896,14 @@ enum {
/* _format
Opcd ,Mod ,r ,m ,mem=dsp+sib ,imm... */
-// FIXME: no prefix is availble to encode a 32-bit operand size in 64-bit mode
+/* FIXME: no prefix is availble to encode a 32-bit operand size in 64-bit
+ mode */
#define CALLm(M) _O_D32
(0xe8 ,(int)(M) )
#define CALLLsr(R) (_REXLrr(0, R), _O_Mrm
(0xff ,_b11,_b010,_r4(R) ))
#define CALLsm(D,B,I,S) (_REXLrm(0, B, I),
_O_r_X (0xff ,_b010 ,(int)(D),B,I,S
))
-// FIXME: no prefix is availble to encode a 32-bit operand size in 64-bit mode
+/* FIXME: no prefix is availble to encode a 32-bit operand size in 64-bit
+ mode */
#define JMPSm(M) _O_D8
(0xeb ,(int)(M) )
#define JMPm(M)
_O_D32 (0xe9 ,(int)(M)
)
#define JMPLsr(R) (_REXLrr(0, R), _O_Mrm
(0xff ,_b11,_b100,_r4(R) ))
- [Guile-commits] 30/437: added ret test and clarified JIT_RET documentation, (continued)
- [Guile-commits] 30/437: added ret test and clarified JIT_RET documentation, Andy Wingo, 2018/07/02
- [Guile-commits] 20/437: fix PPC modi, Andy Wingo, 2018/07/02
- [Guile-commits] 35/437: remove pushr/popr from testsuite, Andy Wingo, 2018/07/02
- [Guile-commits] 31/437: prepare for automatic variables support, Andy Wingo, 2018/07/02
- [Guile-commits] 29/437: cherrypick from ludovic courtes, Andy Wingo, 2018/07/02
- [Guile-commits] 33/437: add jit_allocai for SPARC, Andy Wingo, 2018/07/02
- [Guile-commits] 16/437: Fix comments in config.h.in git-archimport-id: address@hidden/lightning--stable--1.2--patch-18, Andy Wingo, 2018/07/02
- [Guile-commits] 37/437: fix x86-64 builds, Andy Wingo, 2018/07/02
- [Guile-commits] 42/437: add an underscore to macros without a parameter [x86], Andy Wingo, 2018/07/02
- [Guile-commits] 36/437: update manual for jit_allocai, Andy Wingo, 2018/07/02
- [Guile-commits] 46/437: merge from ludovic,
Andy Wingo <=
- [Guile-commits] 14/437: update FSF address, Andy Wingo, 2018/07/02
- [Guile-commits] 34/437: finish jit_allocai implementation, Andy Wingo, 2018/07/02
- [Guile-commits] 43/437: give credit to whom credit is due, Andy Wingo, 2018/07/02
- [Guile-commits] 41/437: x86-64 now passes test suite, Andy Wingo, 2018/07/02
- [Guile-commits] 47/437: refine ludovic's doc patch, Andy Wingo, 2018/07/02
- [Guile-commits] 38/437: add JIT_NEED_PUSH_POP and merge correct implementation of push/pop for SPARC, Andy Wingo, 2018/07/02
- [Guile-commits] 50/437: fix imprecisions in the ChangeLog, Andy Wingo, 2018/07/02
- [Guile-commits] 48/437: use CVTT instruction, fix lightning/Makefile.am, Andy Wingo, 2018/07/02
- [Guile-commits] 53/437: fix -I flags for opcode subdirectory, Andy Wingo, 2018/07/02
- [Guile-commits] 55/437: add Matthew Flatt to THANKS file, Andy Wingo, 2018/07/02