[CVS ci] more JIT changes: register usage array, block allocation..

2002-11-29 Thread Leopold Toetsch
Recent changes to jit: Register usage is now kept in an array per register type and is calculated for non jitted sections too. Register usage can be per section (a sequence of either jitted or nonjitted ops not separated by branches) or per basic block. This allows later to avoid some register

Re: Adding new function signatures to parrot's NCI call list

2002-11-29 Thread Gopal V
If memory serves me right, Leon Brocard wrote: Loaded... dlfunced... ../parrot: relocation error: /usr/lib/libSDL-1.2.so.0: undefined symbol: pthread_mutexattr_init I don't know if this is twisting the knife in the wound ... but it works for me ... [gopal@mushroom parrot]$ perl assemble.pl

[perl #18745] [PATCH] config test for i386 fcomip

2002-11-29 Thread via RT
# New Ticket Created by Leopold Toetsch # Please include the string: [perl #18745] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt2/Ticket/Display.html?id=18745 This config test looks if the fucomip instruction is available. Question is,

[perl #18747] [PATCH] Use imcc instead of assemble.pl

2002-11-29 Thread Jürgen
# New Ticket Created by Jürgen Bömmels # Please include the string: [perl #18747] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt2/Ticket/Display.html?id=18747 Hi, I just hacked imcc to accept normal pasm files. About 85% of the test are

Re: Native function calls

2002-11-29 Thread Leopold Toetsch
Brent Dax wrote: Dan Sugalski: # which builds up a native call pmc that can be invoked. . Oh JITters... ;^) Here we go. d and i signatures currently, but it's easy to add more. It passes the 2 (new) tests. Currently, it's not integrated, add these lines to nci.c #define

Re: [perl #18747] [PATCH] Use imcc instead of assemble.pl

2002-11-29 Thread Leopold Toetsch
Jürgen Bömmels (via RT) wrote: I just hacked imcc to accept normal pasm files. About 85% of the test are still working, and its a major speed improvement. On my K6-350 I get the following timings: This is a speed improvement of about 350%. Superb The remaining failing tests are mostly

Re: Directory renaming

2002-11-29 Thread Nicholas Clark
On Thu, Nov 28, 2002 at 06:22:56PM +0100, Jerome Quelin wrote: Hi, Would it be possible to rename the $PARROT/languages/Befunge-93 directory into $PARROT/languages/befunge ? Indeed, as soon as parrot will support objects, I'll implement the befunge 98 specs, and the same interpreter

Multiarray usage?

2002-11-29 Thread Jerome Quelin
Hi, I'd like to use multi-arrays, but I can't understand how they're working. I looked at $PARROT/t/pmc/multiarray.t, but it's a bit obscure. Could you help me to understand them please? Or are they deprecated? Should I use something else to have arrays of arrays? What are the limitations of

Re: Multiarray usage?

2002-11-29 Thread Jerome Quelin
On Vendredi 29 Novembre 2002 17:18, Leopold Toetsch wrote: Should I use something else to have arrays of arrays? multiarrays are mainly intended for huge packed multi dim arrays. Then what should I use for a 2D array? ... What are the limitations of multiarrays? I've read in

Re: Directory renaming

2002-11-29 Thread Robert Spier
Nicholas Clark writes: On Thu, Nov 28, 2002 at 06:22:56PM +0100, Jerome Quelin wrote: Hi, Would it be possible to rename the $PARROT/languages/Befunge-93 directory into $PARROT/languages/befunge ? Indeed, as soon as parrot will support objects, I'll implement the befunge 98 specs, and

Re: interesting idea...

2002-11-29 Thread Dan Sugalski
At 3:35 PM -0800 11/27/02, Bryan Hundven wrote: On Wed, 27 Nov 2002, Bryan Hundven wrote: Bryan, you should suggest it on the perl6-internals mailinglist where parrot development is happening. :-) -ask I don't know if anyone at parrotcode has thought of this idea, or implemented it as a

Re: Multiarray usage?

2002-11-29 Thread Leopold Toetsch
Jerome Quelin wrote: On Vendredi 29 Novembre 2002 17:18, Leopold Toetsch wrote: Then what should I use for a 2D array? The example (test) is an 2D array. So, a so-called MultiArray is in fact one array, but the first n elems are the elems of the 1st line, the next n elems are the 2nd

Re: Adding new function signatures to parrot's NCI call list

2002-11-29 Thread Dan Sugalski
At 9:00 PM + 11/28/02, Leon Brocard wrote: Loaded... dlfunced... ../parrot: relocation error: /usr/lib/libSDL-1.2.so.0: undefined symbol: pthread_mutexattr_init Well, the C code on the page works fine, but of course you have to link it with -lpthread. How would I do this for the parrot

Re: Adding new function signatures to parrot's NCI call list

2002-11-29 Thread Dan Sugalski
At 9:00 PM + 11/28/02, Leon Brocard wrote: Dan Sugalski sent the following bits through the ether: Also, at the moment I can't test this OK, I've had a go. I'm basing the following on the code you mentioned at http://use.perl.org/~Elian/journal/9147 (of course, you should know better

Re: Directory renaming

2002-11-29 Thread Nicholas Clark
On Fri, Nov 29, 2002 at 10:14:39AM -0800, Robert Spier wrote: Nicholas Clark writes: This seems to be a good idea. I'd commit it, except that it needs more than commit access to move a directory with CVS. Who has enough shell access to cvs.perl.org to do this? [assuming it does want to be

Re: Directory renaming

2002-11-29 Thread Robert Spier
Would it also be your job to do porting of subversion to VMS, so that we could consider replacing CVS with something that lets clients do directory moves? :-) Sadly, no. :) But I can tell you that I am actively investigating the use of subversion for future use on perl.org projects. We're

[perl #18762] nci.t hates me

2002-11-29 Thread via RT
# New Ticket Created by Alex Gough # Please include the string: [perl #18762] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt2/Ticket/Display.html?id=18762 t/pmc/nci.t doesn't like me or, at least, it doesn't like the way I don't have a

Re: [perl #18762] nci.t hates me

2002-11-29 Thread Mr. Nobody
t/pmc/nci.t doesn't like me or, at least, it doesn't like the way I don't have a lrint in my math.h. My KR claims that everything in math.h ought to return a double (well, anything you can validly expect to find in every math.h), so using math.so is probably not the way to test the nci,