[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 82/437: use MOVLir directly to implement i386 32-bit jit
From: |
Andy Wingo |
Subject: |
[Guile-commits] 82/437: use MOVLir directly to implement i386 32-bit jit_movi_p |
Date: |
Mon, 2 Jul 2018 05:13:50 -0400 (EDT) |
wingo pushed a commit to branch lightning
in repository guile.
commit ef7eb772beea0a7f371a3f1ec75f104a904482cd
Author: Paolo Bonzini <address@hidden>
Date: Wed Jun 11 12:41:26 2008 -0700
use MOVLir directly to implement i386 32-bit jit_movi_p
2008-06-11 Paolo Bonzini <address@hidden>
* lightning/i386/core-32.h: Use MOVLir instead of jit_movi_l
to implement jit_movi_p.
---
ChangeLog | 5 +++++
lightning/i386/core-32.h | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 0d87a2b..a57ee84 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2008-06-11 Paolo Bonzini <address@hidden>
+ * lightning/i386/core-32.h: Use MOVLir instead of jit_movi_l
+ to implement jit_movi_p.
+
+2008-06-11 Paolo Bonzini <address@hidden>
+
* lightning/i386/core-32.h: Use separate __APPLE__ and SysV
prolog/ret macros. Subtract 12 bytes in __APPLE__ case to
keep stack aligned, and always use LEAVE in the epilog.
diff --git a/lightning/i386/core-32.h b/lightning/i386/core-32.h
index 52015d9..7014315 100644
--- a/lightning/i386/core-32.h
+++ b/lightning/i386/core-32.h
@@ -111,7 +111,7 @@ struct jit_local_state {
#define jit_arg_ul() ((_jitl.framesize += sizeof(long)) -
sizeof(long))
#define jit_arg_p() ((_jitl.framesize += sizeof(long)) -
sizeof(long))
-#define jit_movi_p(d, is) (jit_movi_l(d, ((long)(is))), _jit.x.pc)
+#define jit_movi_p(d, is) (MOVLir (((long)(is)), (d)), _jit.x.pc)
#define jit_patch_long_at(jump_pc,v) (*_PSL((jump_pc) - sizeof(long)) =
_jit_SL((jit_insn *)(v) - (jump_pc)))
#define jit_patch_at(jump_pc,v) jit_patch_long_at(jump_pc, v)
- [Guile-commits] 68/437: cast memory address to long for JCCim, (continued)
- [Guile-commits] 68/437: cast memory address to long for JCCim, Andy Wingo, 2018/07/02
- [Guile-commits] 59/437: add --with-lightning-prefix option to lightning.m4, Andy Wingo, 2018/07/02
- [Guile-commits] 67/437: add underscores around __unused__ attribute, Andy Wingo, 2018/07/02
- [Guile-commits] 65/437: fix some problems (not all) with lightningize, Andy Wingo, 2018/07/02
- [Guile-commits] 63/437: Fix stxr_c(_EAX, _EBX, _ESI)., Andy Wingo, 2018/07/02
- [Guile-commits] 64/437: avoid "value computed is not used" in jit_allocai, Andy Wingo, 2018/07/02
- [Guile-commits] 66/437: warning patrol (allocai.c, ppc), Andy Wingo, 2018/07/02
- [Guile-commits] 75/437: fix uses of jit_qop_ with 4 parameters, Andy Wingo, 2018/07/02
- [Guile-commits] 61/437: avoid redefinition of _r1, Andy Wingo, 2018/07/02
- [Guile-commits] 73/437: add LEAQmr for x86-64, Andy Wingo, 2018/07/02
- [Guile-commits] 82/437: use MOVLir directly to implement i386 32-bit jit_movi_p,
Andy Wingo <=
- [Guile-commits] 72/437: misc. x86-64 bugfixes, Andy Wingo, 2018/07/02
- [Guile-commits] 78/437: avoid CRLF issues on mingw, Andy Wingo, 2018/07/02
- [Guile-commits] 62/437: commit source files for separate using/porting manuals, Andy Wingo, 2018/07/02
- [Guile-commits] 80/437: fix C++ incompatibility in i386 back-end, Andy Wingo, 2018/07/02
- [Guile-commits] 45/437: add floating-point for x86-64, Andy Wingo, 2018/07/02
- [Guile-commits] 28/437: first merge of x86-64 backend and related configury changes, Andy Wingo, 2018/07/02
- [Guile-commits] 74/437: add long boolean operations for x86-64, Andy Wingo, 2018/07/02
- [Guile-commits] 89/437: fix _rN vs. _rR, Andy Wingo, 2018/07/02
- [Guile-commits] 90/437: fix IMULQir and IMULQirr, Andy Wingo, 2018/07/02
- [Guile-commits] 79/437: fix jit_replace8 for case when one of the operands is _EAX., Andy Wingo, 2018/07/02