diff --git a/ChangeLog b/ChangeLog index 9a961fe..4919f3f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2006-02-26 Aleksey Demakov + * jit/jit-rules-x86.sel: fix JIT_OP_STORE_RELATIVE_LONG. + * jit/jit-gen-x86.h (x86_pop_mem, x86_pop_membase): fix opcode -- it was 0x87 (xchg) instead of 0x8f (pop). diff --git a/jit/jit-rules-x86.sel b/jit/jit-rules-x86.sel index 5c43320..b93c5b9 100644 --- a/jit/jit-rules-x86.sel +++ b/jit/jit-rules-x86.sel @@ -2633,7 +2633,7 @@ JIT_OP_STORE_RELATIVE_LONG: manual (inst, reg, insn->value2->address, (jit_int)(const_value & jit_max_uint), 4); x86_mov_membase_imm - (inst, reg, insn->value2->address, + (inst, reg, insn->value2->address + 4, (jit_int)((const_value >> 32) & jit_max_uint), 4); gen->posn.ptr = inst; }