Hi,
I got ExitStatusIsZero and ExitStatusIsOne working. However, the last patch
isn't finished and there are a few issues with it:
1) we need to discuss how to properly place ifdefs in the .brg
2) I need to make it pass more than one parameter correctly
3) I need to clean it up
You can merge all patches, _except_ the last one. Please review them and
comment if you wish.
Cheers,
Eduard
Eduard - Gabriel Munteanu (9):
jit: store vm_type in struct var_info
x86-64: remove INSN32_* and INSN64_*
x86: unify 32-bit and 64-bit insn selectors
x86-64: support INSN_MOV_MEMLOCAL_REG
Fix memory corruption in free_slot() from radix tree
x86-64: fix __emit_memdisp()
x86-64: save register parameters in emit_trampoline()
x86-64: fix wrong register jump in emit_trampoline()
(DON'T MERGE !) insn selector
Makefile | 2 +-
arch/x86/Makefile_32 | 2 +-
arch/x86/Makefile_64 | 2 +-
arch/x86/emit-code.c | 176 +++++++++--------
arch/x86/include/arch/instruction.h | 31 ---
arch/x86/include/arch/registers_32.h | 3 +
arch/x86/include/arch/registers_64.h | 2 +
.../{insn-selector_32.brg => insn-selector.brg} | 199 +++++++++++---------
arch/x86/insn-selector_64.brg | 79 --------
arch/x86/use-def.c | 35 +---
include/jit/compilation-unit.h | 3 +-
include/jit/vars.h | 4 +-
jit/bytecode-to-ir.c | 4 +-
jit/compilation-unit.c | 8 +-
jit/object-bc.c | 2 +-
jit/ostack-bc.c | 4 +-
lib/radix-tree.c | 4 +-
test/arch-x86/insn-selector-test_32.c | 8 +-
test/jit/arithmetic-bc-test.c | 10 +-
test/jit/branch-bc-test.c | 6 +-
test/jit/invoke-bc-test.c | 2 +-
test/jit/linear-scan-test.c | 10 +-
test/jit/liveness-test.c | 8 +-
test/jit/load-store-bc-test.c | 2 +-
test/jit/object-bc-test.c | 2 +-
test/jit/spill-reload-test.c | 10 +-
test/jit/typeconv-bc-test.c | 2 +-
27 files changed, 270 insertions(+), 350 deletions(-)
rename arch/x86/{insn-selector_32.brg => insn-selector.brg} (91%)
delete mode 100644 arch/x86/insn-selector_64.brg
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Jatovm-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jatovm-devel