Re: register allocation

2004-11-13 Thread Leopold Toetsch
Bill Coffman <[EMAIL PROTECTED]> wrote: > Hello, > * I have the below failed tests. > t/library/dumper.t 13 332813 13 100.00% 1-13 These are fixed (assignment collisions in pcc.c) > t/op/gc.t 1 256181 5.56% 13 Is very similar to the case below - gc_14 (you mi

Re: Harness runs the sub, D::C says I haven't

2004-11-13 Thread Leif Eriksen
First, thanx so very much for responding so quickly... Paul Johnson wrote: On Sat, Nov 13, 2004 at 12:46:16AM +1100, Leif Eriksen wrote: Even though Test::More is reporting (via make test) that every test Could you try putting the use_ok inside a BEGIN block, as Test::More recommends? OK, will

Re: [perl #32421] Bug: segfault in imcc parsing bad if statement

2004-11-13 Thread Gopal V
> Segfault in the lexer. Bad. > > 349 sprintf(label, "%s%d", yytext, > frames->label); > (gdb) p frames > $1 = (struct macro_frame_t *) 0x0 I didn't know how or why or what a frame is in this context which is why this isn't a patch :) __

Re: S10/11 Questions

2004-11-13 Thread Smylers
Larry Wall writes: > On Wed, Nov 10, 2004 at 01:12:46PM -0600, Rod Adams wrote: > > : /usr/bin/perl6forces perl6 > : /usr/bin/ponieforces ponie > : /usr/bin/perl5p alias for ponie, as some sites might find the term > : "ponie" too removed from "perl" > : /usr/bin/perluses other rul

Continuations, basic blocks, loops and register allocation

2004-11-13 Thread Leopold Toetsch
As the analysis of test errors of the new reigster allocator has shown, we have a problem WRT register allocation. This problem isn't new, but as the allocator is more efficiently reusing registers (or reusing them in a different way) it's exposed again. 0) The register allocator isn't to blame

Re: Continuations, basic blocks, loops and register allocation

2004-11-13 Thread Jeff Clites
On Nov 13, 2004, at 8:53 AM, Leopold Toetsch wrote: 2) Continuations (t/op/gc_13.imc [Hi Piers]) Again we have a hidden branch done by a Continuation, or better a loop. The control flow of the main program is basically represented by this conventional code fragment: arr1=[...]; arr2=[.

Re: Continuations, basic blocks, loops and register allocation

2004-11-13 Thread Matt Fowles
All~ On Sat, 13 Nov 2004 10:52:38 -0800, Jeff Clites <[EMAIL PROTECTED]> wrote: > On Nov 13, 2004, at 8:53 AM, Leopold Toetsch wrote: > > We'd have just to force using lexicals for all vars > > Having variable-size register sets would solve this, since you could > have fixed assignments of variab

Re: Continuations, basic blocks, loops and register allocation

2004-11-13 Thread Leopold Toetsch
Matt Fowles <[EMAIL PROTECTED]> wrote: > I like the idea of mandating lexicals vars. This would also eliminate > the need for spilling (I think), as the register allocator would only > need to refetch the lexical rather than save it off somewhere to be > restored later. There are two issues: yes

Re: Continuations, basic blocks, loops and register allocation

2004-11-13 Thread Jeff Clites
On Nov 13, 2004, at 11:16 AM, Matt Fowles wrote: All~ On Sat, 13 Nov 2004 10:52:38 -0800, Jeff Clites <[EMAIL PROTECTED]> wrote: On Nov 13, 2004, at 8:53 AM, Leopold Toetsch wrote: We'd have just to force using lexicals for all vars Having variable-size register sets would solve this, since you co

Re: Continuations, basic blocks, loops and register allocation

2004-11-13 Thread Matt Fowles
Jeff~ On Sat, 13 Nov 2004 14:08:12 -0800, Jeff Clites <[EMAIL PROTECTED]> wrote: > That's oversimplifying a bit, but I feel like those are the core issues > (stemming from the observation of Leo's that continuations in effect > give all variables a lifetime that extends to their entire block, in

[perl #23159] Parrot SIGSEGV in scratchpad_find

2004-11-13 Thread Will Coleda via RT
While there was a lot of talk in this thread about how we were not going to provide extra checks to prevent segfaults... both the original case and the simple one below no longer generate segfaults, but instead throw an exception of some kind. Closing ticket. > [EMAIL PROTECTED] - Tue Jul 29

Re: Continuations, basic blocks, loops and register allocation

2004-11-13 Thread Jeff Clites
On Nov 13, 2004, at 2:46 PM, Matt Fowles wrote: On Sat, 13 Nov 2004 14:08:12 -0800, Jeff Clites <[EMAIL PROTECTED]> wrote: That's oversimplifying a bit, but I feel like those are the core issues (stemming from the observation of Leo's that continuations in effect give all variables a lifetime tha

Re: Continuations, basic blocks, loops and register allocation

2004-11-13 Thread Matt Fowles
Jeff~ On Sat, 13 Nov 2004 17:35:02 -0800, Jeff Clites <[EMAIL PROTECTED]> wrote: > Not all variables, but due to Leo's case (2), it should be all > variables which are referenced after the first function call out of a > subroutine, if there's a later function call; for instance, consider: > > ..