faq

2002-11-12 Thread Marius Nita
Hello, I have a question about the Parrot FAQ. I hope it's not too off-topic for this list. The FAQ mentions that "it would be nice to write the Perl to Bytecode compiler in Perl" and that there is no bootstrap problem. Does this mean that the perl6 compiler is written in perl5 and it will be rew

Re: branch dump

2002-11-12 Thread Dan Sugalski
At 4:57 AM +0530 11/12/02, Gopal V wrote: If memory serves me right, Dan Sugalski wrote: > that case, why bother verifying? Hmm wouldn't the JIT benifit from a pre knowledge of basic blocks and types or some information ? ... (I seem to think so ...). Oh, sure. But whether the metadata is

Re: [CVS ci] JIT t/op/interp_2 - i386

2002-11-12 Thread Leopold Toetsch
Jason Gloudon wrote: On Tue, Nov 12, 2002 at 04:03:35PM +0100, Leopold Toetsch wrote: When JIT is called again with a pc != code_start, i.e. for restart at pc, then a jump instruction to the native offset to this pc is patched into the JIT code. Instead of patching the code, we can pass pc

Re: [CVS ci] JIT t/op/interp_2 - i386

2002-11-12 Thread Jason Gloudon
On Tue, Nov 12, 2002 at 04:03:35PM +0100, Leopold Toetsch wrote: > Some notes WRT implementation in i386: > The first code in JIT is emitted by Parrot_jit_begin, the last 5 bytes > of this code are 5 nop's now. > When JIT is called again with a pc != code_start, i.e. for restart at > pc, then a ju

Re: [CVS ci] JIT t/op/interp_2 - i386

2002-11-12 Thread Leopold Toetsch
Leopold Toetsch wrote: > I did check in a fix (or part of it) for restarting JIT. Full restart for JIT/i386 is in CVS now. This implied some changes: - interpreter has now a jit_info * - build_asm had a jit_info on the stack, this is currently static, but will be allocated soon. - architectures h

Re: [perl #18336] [PATCH] Segfault in PIO_destroy

2002-11-12 Thread Leopold Toetsch
[EMAIL PROTECTED] (via RT) wrote: # New Ticket Created by [EMAIL PROTECTED] # Please include the string: [perl #18336] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt2/Ticket/Display.html?id=18336 > -newhandles = (ParrotIOTable)mem_sys_alloca

[CVS ci] JIT t/op/interp_2 - i386

2002-11-12 Thread Leopold Toetsch
I did check in a fix (or part of it) for restarting JIT. - changed restartable OPs to have jump flag set - test PC (eax) if zero, stop JIT This makes all test succeed on i386/linux under JIT too. Other architectures could follow the scheme of the i386 code, which shouldn't be too hard. Currently