From 814acaec5d916f296d02d7c381a651b6c74e0047 Mon Sep 17 00:00:00 2001 From: Aleksey Demakov Date: Sat, 25 Nov 2006 15:41:53 +0000 Subject: [PATCH] fix JIT_OP_LSIGN --- jit/jit-rules-x86.ins | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jit/jit-rules-x86.ins b/jit/jit-rules-x86.ins index 361b8b1..3395d2b 100644 --- a/jit/jit-rules-x86.ins +++ b/jit/jit-rules-x86.ins @@ -1299,7 +1299,7 @@ JIT_OP_ISIGN: JIT_OP_LSIGN: [=reg, imm] -> { - jit_int value = ((jit_int *)($2))[0]; + jit_int value = ((jit_int *)($2))[1]; if(value < 0) { x86_mov_reg_imm(inst, $1, -1); @@ -1310,7 +1310,7 @@ JIT_OP_LSIGN: } } [=reg, lreg] -> { - if($1 != $2) + if($1 != %2) { x86_mov_reg_reg(inst, $1, %2, 4); }