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
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
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
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
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
[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
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