Re: IMCC's bsr handling

2003-02-21 Thread Steve Fink
[Apologies if you receive this twice, but my messages from work haven't been going through, so I'm resending everything now that I have my home net connection back.] On Sat, Feb 08, 2003 at 12:19:35PM +0100, Leopold Toetsch wrote: > Steve Fink wrote: > > > bsr $I0 > > > >It will complain that

Re: [RFC] imcc calling conventions

2003-02-21 Thread Steve Fink
On Feb-18, Leopold Toetsch wrote: > =head1 Stack calling conventions > > Arguments are Bd in reverse order onto the user stack: > >.arg y # save args in reversed order >.arg x >call _foo #(r, s) = _foo(x,y) >.local int r >.local int s >.result s # restore results in

Helpful emacs & gud/perldb debugging tool

2003-02-21 Thread Steve Fink
Here's a silly little tool that I've used for a long time to help debug various programs. I just added perl support to it, so I thought I'd announce it in case anyone got some use out of it. To use it, save it into your $PATH somewhere. Then, instead of running "./someapplication args...", run "de

stabs support

2003-02-21 Thread Steve Fink
First -- wow, thanks! I tried out the stabs stuff for the JIT yesterday, and it's really helpful to be able to step through PASM code from within emacs's gud mode. I had one problem, though -- whenever stepping over a keyed op (eg "set I0, P0[3]"), gdb fails to recognize that it reaches any more l

invoke

2003-02-21 Thread Steve Fink
The invoke op is bothering me -- namely, it disturbs me that it implicitly operates on P0. I know that P0 is the correct register to use according to pdd03, but I dislike having it be implicit. The user is required to set the rest of the pdd03 conventions up manually, so I don't see any need for in

Re: Objects, methods, attributes, properties, and other related frobnitzes

2003-02-21 Thread Benjamin Goldberg
Dan Sugalski wrote: > > At 12:06 AM -0500 2/21/03, Benjamin Goldberg wrote: > >Andy Wardley wrote: > >> > >> Dan Sugalski wrote much sense, including these gems: > >[snip] > >> > Code must be able to fetch a handle on a particular method for > >> > later calling > >> > >> By this I presume you

Re: Using imcc as JIT optimizer

2003-02-21 Thread Leopold Toetsch
Dan Sugalski wrote: At 12:09 PM +0100 2/20/03, Leopold Toetsch wrote: Starting from the unbearable fact, that optimized compiled C is still faster then parrot -j (in primes.pasm), I did this experiment: - do register allocation for JIT in imcc - use the first N registers as MAPped processor regi

Re: Configure.pl --cgoto=0 doesn't work

2003-02-21 Thread Nicholas Clark
On Fri, Feb 21, 2003 at 08:34:05AM +0100, Leopold Toetsch wrote: > Nicholas Clark wrote: > > >If I > > > >perl Configure.pl --cgoto=0 && make all test > > > >then the build fails with: > > We need to sort out different cases: > 1) $cc doesn't have computed goto > 2) user doesn't want to build cor

Re: Configure.pl --cgoto=0 doesn't work

2003-02-21 Thread Nicholas Clark
On Thu, Feb 20, 2003 at 09:45:49PM -0500, Simon Glover wrote: > > On Thu, 20 Feb 2003, Simon Glover wrote: > > > > On Thu, 20 Feb 2003, Nicholas Clark wrote: > > > > > If I > > > > > > perl Configure.pl --cgoto=0 && make all test > > > > > > then the build fails with: > > The problem is that an

Re: Using imcc as JIT optimizer

2003-02-21 Thread Dan Sugalski
At 12:09 PM +0100 2/20/03, Leopold Toetsch wrote: Starting from the unbearable fact, that optimized compiled C is still faster then parrot -j (in primes.pasm), I did this experiment: - do register allocation for JIT in imcc - use the first N registers as MAPped processor registers This sounds pret

Re: Objects, methods, attributes, properties, and other related frobnitzes

2003-02-21 Thread Dan Sugalski
At 12:06 AM -0500 2/21/03, Benjamin Goldberg wrote: Andy Wardley wrote: Dan Sugalski wrote much sense, including these gems: [snip] > Code must be able to fetch a handle on a particular method for later > calling By this I presume you mean that the handle would be frozen to the method as it wa

Re: Objects, methods, attributes, properties, and other related frobnitzes

2003-02-21 Thread Dan Sugalski
At 6:24 PM -0500 2/20/03, Mark Jason Dominus wrote: Dan Sugalski <[EMAIL PROTECTED]>: At 2:06 PM + 2/19/03, Peter Haworth wrote: >On Fri, 14 Feb 2003 15:56:25 -0500, Dan Sugalski wrote: >> I got clarification. The sequence is: >> >> 1) Search for method of the matching name in inheritanc

Re: XML within parrot?

2003-02-21 Thread Dan Sugalski
At 2:07 PM -0800 2/17/03, Tupshin Harper wrote: I've been a parrot lurker for quite some time, and I've recently wanted to start participating in some way. One idea that came to mind was to port a language I wrote a while back which is an XML->relational converter. Call it XTOR(XML to Relational

Re: [perl #21276] [PATCH] formatting fix for docs/dev/rx.dev

2003-02-21 Thread Leopold Toetsch
Cal Henderson (via RT) wrote: # New Ticket Created by Cal Henderson # Please include the string: [perl #21276] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt2/Ticket/Display.html?id=21276 > hi, this patch fixes some formatting issues that cause d

Re: [perl #21301] [PATCH] life.pasm

2003-02-21 Thread Leopold Toetsch
Leon Brocard (via RT) wrote: # New Ticket Created by Leon Brocard # Please include the string: [perl #21301] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt2/Ticket/Display.html?id=21301 > This little patch changes the life.pasm in examples/assembl

Re: Objects, methods, attributes, properties, and other related frobnitzes

2003-02-21 Thread Benjamin Goldberg
Andy Wardley wrote: > > Dan Sugalski wrote much sense, including these gems: [snip] > > Code must be able to fetch a handle on a particular method for later > > calling > > By this I presume you mean that the handle would be frozen to the > method as it was when then handle was fetched? If you l

Re: Objects, methods, attributes, properties, and other related frobnitzes

2003-02-21 Thread Benjamin Goldberg
Dan Sugalski wrote: > > At 2:06 PM + 2/19/03, Peter Haworth wrote: > >On Fri, 14 Feb 2003 15:56:25 -0500, Dan Sugalski wrote: > >> I got clarification. The sequence is: > >> > >> 1) Search for method of the matching name in inheritance tree > >> 2) if #1 fails, search for an AUTOLOAD > >>

Re: Configure.pl --cgoto=0 doesn't work

2003-02-21 Thread Leopold Toetsch
Nicholas Clark wrote: If I perl Configure.pl --cgoto=0 && make all test then the build fails with: We need to sort out different cases: 1) $cc doesn't have computed goto 2) user doesn't want to build core_ops_cg.c Case 1) shouldn't matter, as the CGP core is only called from JIT/i386/gnucc Case

Re: Using imcc as JIT optimizer

2003-02-21 Thread Leopold Toetsch
Leopold Toetsch wrote: - do register allocation for JIT in imcc - use the first N registers as MAPped processor registers The "[RFC] imcc calling conventions" didn't get any response. Should I take this fact as an implict "yep, fine"? Here is again the relevant part, which has implications on