Browse Source

add JIT_OP_BR_LTRUE opcode for x86

cache-refactoring
Aleksey Demakov 16 years ago
parent
commit
c24c2736c2
  1. 4
      ChangeLog
  2. 6
      jit/jit-rules-x86.ins

4
ChangeLog

@ -1,3 +1,7 @@
2009-06-10 Michele Tartara <mikyt@users.sourceforge.net>
* jit/jit-rules-x86.ins (JIT_OP_BR_LTRUE): add opcode rule.
2009-06-05 Aleksey Demakov <ademakov@gmail.com>
* jit/jit-compile.c (jit_function_compile)

6
jit/jit-rules-x86.ins

@ -1249,6 +1249,12 @@ JIT_OP_BR_IGE_UN: branch
inst = output_branch(func, inst, 0x73 /* ge_un */, insn);
}
JIT_OP_BR_LTRUE: branch
[lreg] -> {
x86_alu_reg_reg(inst, X86_OR, $1, %1);
inst = output_branch(func, inst, 0x75 /* ne */, insn);
}
/*
* Comparison opcodes.
*/

Loading…
Cancel
Save