Re: [PATCH 1/6] vm: introduce -Xnobuf

2009-09-01 Thread Pekka Enberg
Hi Tomek, On Tue, 2009-09-01 at 10:06 +0200, Tomek Grabiec wrote: > It disables buffering of strings passed to trace_printf(). > > Signed-off-by: Tomek Grabiec Does something like this work for your scenario? Pekka >From 9d6a82a9290f5f75a5018506b4febe31ad8df3e0 Mon Sep

[penberg/jato] 871deb: vm: Some minor cleanups to vm/trace.c

2009-09-01 Thread noreply
Branch: refs/heads/master Home: http://github.com/penberg/jato Commit: 871debad45ae40838514cd92b12930f7d6c00e62 http://github.com/penberg/jato/commit/871debad45ae40838514cd92b12930f7d6c00e62 Author: Pekka Enberg Date: 2009-09-01 (Tue, 01 Sep 2009) Changed paths: M vm/trace.c Log Mess

[penberg/jato] 7f0bd7: x86: Introduce workarounds for running on valgrind

2009-09-01 Thread noreply
Branch: refs/heads/master Home: http://github.com/penberg/jato Commit: 7f0bd7d2ddf6ab8d988e89b5a258a822f6ca4021 http://github.com/penberg/jato/commit/7f0bd7d2ddf6ab8d988e89b5a258a822f6ca4021 Author: Tomek Grabiec Date: 2009-09-01 (Tue, 01 Sep 2009) Changed paths: M arch/x86/insn-selec

[PATCH] x86: Introduce workarounds for running on valgrind

2009-09-01 Thread Pekka Enberg
From: Tomek Grabiec Currently workarounds eliminate class initialization from signal handler by unconditionally selecting calls to vm_class_ensure_init(). [ penb...@cs.helsinki.fi: use RUNNING_ON_VALGRIND for auto-detection ] Signed-off-by: Tomek Grabiec Signed-off-by: Pekka Enberg --- arch/x

[penberg/jato] b1097b: x86: implement INSN_MOV_IMM_MEMLOCAL

2009-09-01 Thread noreply
Branch: refs/heads/master Home: http://github.com/penberg/jato Commit: b1097b07074aa05091fbddcda740cd8b7dd3d3da http://github.com/penberg/jato/commit/b1097b07074aa05091fbddcda740cd8b7dd3d3da Author: Tomek Grabiec Date: 2009-09-01 (Tue, 01 Sep 2009) Changed paths: M arch/x86/emit-code.

Re: [PATCH] x86: Introduce workarounds for valgrind to work with jato.

2009-09-01 Thread Pekka Enberg
On Mon, 2009-08-31 at 16:14 +0200, Tomek Grabiec wrote: > Jato can be compiled with workarounds which make valgrind > work with jato. > > To do so, define VALGRIND variable for make: > make jato VALGRIND=y We can auto-detect whether we're running on valgrind or not: #include #include in

[penberg/jato] 962fec: x86: cleanup emit_mov_reg_memlocal()

2009-09-01 Thread noreply
Branch: refs/heads/master Home: http://github.com/penberg/jato Commit: 962fec4adfc516867de9db76314db1a50457d63c http://github.com/penberg/jato/commit/962fec4adfc516867de9db76314db1a50457d63c Author: Tomek Grabiec Date: 2009-09-01 (Tue, 01 Sep 2009) Changed paths: M arch/x86/emit-code.

[penberg/jato] 8a9f60: Jasmin is now part of Jato sources

2009-09-01 Thread noreply
Branch: refs/heads/master Home: http://github.com/penberg/jato Commit: 8a9f606f9b583dfb30427dcdf7e25f227557d9d3 http://github.com/penberg/jato/commit/8a9f606f9b583dfb30427dcdf7e25f227557d9d3 Author: Pekka Enberg Date: 2009-09-01 (Tue, 01 Sep 2009) Changed paths: M README Log Message:

[PATCH 6/6] x86: fix writes below (%esp) in insn-selector.brg

2009-09-01 Thread Tomek Grabiec
It is incorrect to write or read from memory below %esp. This patch fixes valgrind complaints about access of uninitilized data. Signed-off-by: Tomek Grabiec --- arch/x86/insn-selector.brg | 152 +++- 1 files changed, 80 insertions(+), 72 deletions(-) di

[PATCH 3/6] x86: cleanup emit_mov_reg_memlocal()

2009-09-01 Thread Tomek Grabiec
Signed-off-by: Tomek Grabiec --- arch/x86/emit-code.c | 16 +--- 1 files changed, 1 insertions(+), 15 deletions(-) diff --git a/arch/x86/emit-code.c b/arch/x86/emit-code.c index a99296c..e1eb5ba 100644 --- a/arch/x86/emit-code.c +++ b/arch/x86/emit-code.c @@ -861,21 +861,7 @@ emit

[PATCH 4/6] x86: implement INSN_(FSTP|FLD)_{64}_MEMLOCAL

2009-09-01 Thread Tomek Grabiec
Signed-off-by: Tomek Grabiec --- arch/x86/emit-code.c| 24 arch/x86/include/arch/instruction.h |4 arch/x86/lir-printer.c | 28 arch/x86/use-def.c | 12 4 files changed

[PATCH 5/6] jit: introduce lazy-allocated scratch stack slots

2009-09-01 Thread Tomek Grabiec
They are needed to hold temporary results when register can not be used. Signed-off-by: Tomek Grabiec --- include/jit/compilation-unit.h | 20 +++- jit/compilation-unit.c | 16 2 files changed, 35 insertions(+), 1 deletions(-) diff --git a/include/ji

[PATCH 1/6] vm: introduce -Xnobuf

2009-09-01 Thread Tomek Grabiec
It disables buffering of strings passed to trace_printf(). Signed-off-by: Tomek Grabiec --- include/vm/trace.h |2 ++ vm/jato.c |7 +++ vm/trace.c |9 - 3 files changed, 17 insertions(+), 1 deletions(-) diff --git a/include/vm/trace.h b/include/vm/trace.

[PATCH 2/6] x86: implement INSN_MOV_IMM_MEMLOCAL

2009-09-01 Thread Tomek Grabiec
Signed-off-by: Tomek Grabiec --- arch/x86/emit-code.c|9 - arch/x86/include/arch/instruction.h |2 ++ arch/x86/instruction.c | 12 arch/x86/lir-printer.c | 14 ++ arch/x86/use-def.c |1 +