[penberg/jato] 7f9b5f: jit: fix conversion of invoke* instructions

2009-09-05 Thread noreply
Branch: refs/heads/master Home: http://github.com/penberg/jato Commit: 7f9b5f817b69aae2622cdcf3604f23661a1b6550 http://github.com/penberg/jato/commit/7f9b5f817b69aae2622cdcf3604f23661a1b6550 Author: Tomek Grabiec tgrab...@gmail.com Date: 2009-09-05 (Sat, 05 Sep 2009) Changed paths: M

[PATCH 01/19] x86-64: pass arguments correctly in STMT_ATHROW

2009-09-05 Thread Eduard - Gabriel Munteanu
This provides correct argument passing for x86-64 in STMT_ATHROW. Signed-off-by: Eduard - Gabriel Munteanu eduard.munte...@linux360.ro --- arch/x86/insn-selector.brg | 25 - 1 files changed, 24 insertions(+), 1 deletions(-) diff --git a/arch/x86/insn-selector.brg

[PATCH 04/19] x86-64: save *this pointer

2009-09-05 Thread Eduard - Gabriel Munteanu
Monitor emitters and locking code can't get *this otherwise because the corresponding instructions aren't insn-selected. Therefore we save *this in a known place on the stack. Signed-off-by: Eduard - Gabriel Munteanu eduard.munte...@linux360.ro --- arch/x86/emit-code.c|6

[PATCH 08/19] x86: ifdef EXPR_CONVERSION_FROM_FLOAT

2009-09-05 Thread Eduard - Gabriel Munteanu
We ifdef EXPR_CONVERSION_FROM_FLOAT so the x86-64 port works until it is properly implemented. Signed-off-by: Eduard - Gabriel Munteanu eduard.munte...@linux360.ro --- arch/x86/insn-selector.brg |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/x86/insn-selector.brg

[PATCH 10/19] x86-64: implement INSN_MOV_MEMINDEX_REG

2009-09-05 Thread Eduard - Gabriel Munteanu
This implements INSN_MOV_MEMINDEX_REG on x86-64. Signed-off-by: Eduard - Gabriel Munteanu eduard.munte...@linux360.ro --- arch/x86/emit-code.c | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/arch/x86/emit-code.c b/arch/x86/emit-code.c index b363332..c2d625b

[PATCH 15/19] x86-64: move received parameters to non-fixed registers

2009-09-05 Thread Eduard - Gabriel Munteanu
We must not keep the parameters we received in fixed registers because they can be clobbered by other insn-selector rules that use them (e.g. method invocation). Signed-off-by: Eduard - Gabriel Munteanu eduard.munte...@linux360.ro --- arch/x86/insn-selector.brg | 38

[PATCH 13/19] x86-64: add XMM registers

2009-09-05 Thread Eduard - Gabriel Munteanu
This adds definitions for XMM regs on x86-64. Signed-off-by: Eduard - Gabriel Munteanu eduard.munte...@linux360.ro --- arch/x86/include/arch/registers_64.h |9 + arch/x86/registers_64.c |9 + 2 files changed, 18 insertions(+), 0 deletions(-) diff --git

[PATCH 18/19] x86-64: remove is_caller_saved_reg()

2009-09-05 Thread Eduard - Gabriel Munteanu
is_caller_saved_reg() is no longer used since caller_save_regs has been introduced, so we remove it. Signed-off-by: Eduard - Gabriel Munteanu eduard.munte...@linux360.ro --- arch/x86/include/arch/registers_64.h | 18 -- 1 files changed, 0 insertions(+), 18 deletions(-) diff

Re: [PATCH] vm: Use calloc() to allocate class methods

2009-09-05 Thread Vegard Nossum
2009/9/5 Pekka Enberg penb...@cs.helsinki.fi: Good point. I wonder why we have methods without code attribute in classfiles. Native and abstract methods don't have code. It's all here: http://java.sun.com/docs/books/jvms/second_edition/html/ClassFile.doc.html#1546 I think I tried once to

Re: [PATCH] vm: Use calloc() to allocate class methods

2009-09-05 Thread Pekka Enberg
Vegard Nossum wrote: 2009/9/5 Pekka Enberg penb...@cs.helsinki.fi: Good point. I wonder why we have methods without code attribute in classfiles. Native and abstract methods don't have code. It's all here: http://java.sun.com/docs/books/jvms/second_edition/html/ClassFile.doc.html#1546