mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-29 08:20:20 +02:00
use MOVLir directly to implement i386 32-bit jit_movi_p
2008-06-11 Paolo Bonzini <bonzini@gnu.org> * lightning/i386/core-32.h: Use MOVLir instead of jit_movi_l to implement jit_movi_p.
This commit is contained in:
parent
e3461957f6
commit
ef7eb772be
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2008-06-11 Paolo Bonzini <bonzini@gnu.org>
|
||||
|
||||
* lightning/i386/core-32.h: Use MOVLir instead of jit_movi_l
|
||||
to implement jit_movi_p.
|
||||
|
||||
2008-06-11 Paolo Bonzini <bonzini@gnu.org>
|
||||
|
||||
* lightning/i386/core-32.h: Use separate __APPLE__ and SysV
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue