Browse Source

fix JIT_OP_LSIGN

cache-refactoring
Aleksey Demakov 18 years ago
parent
commit
814acaec5d
  1. 4
      jit/jit-rules-x86.ins

4
jit/jit-rules-x86.ins

@ -1299,7 +1299,7 @@ JIT_OP_ISIGN:
JIT_OP_LSIGN: JIT_OP_LSIGN:
[=reg, imm] -> { [=reg, imm] -> {
jit_int value = ((jit_int *)($2))[0]; jit_int value = ((jit_int *)($2))[1];
if(value < 0) if(value < 0)
{ {
x86_mov_reg_imm(inst, $1, -1); x86_mov_reg_imm(inst, $1, -1);
@ -1310,7 +1310,7 @@ JIT_OP_LSIGN:
} }
} }
[=reg, lreg] -> { [=reg, lreg] -> {
if($1 != $2) if($1 != %2)
{ {
x86_mov_reg_reg(inst, $1, %2, 4); x86_mov_reg_reg(inst, $1, %2, 4);
} }

Loading…
Cancel
Save