Browse Source

add JIT_OP_BR_LFALSE rule for x86

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

4
ChangeLog

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

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_LFALSE: branch
[lreg] -> {
x86_alu_reg_reg(inst, X86_OR, $1, %1);
inst = output_branch(func, inst, 0x74 /* eq */, insn);
}
JIT_OP_BR_LTRUE: branch
[lreg] -> {
x86_alu_reg_reg(inst, X86_OR, $1, %1);

Loading…
Cancel
Save