guile-commits
[Top][All Lists]
Advanced

[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)
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]