Re: [perl #41788] [BUG] Real registers are limited to 2 digits

2008-12-01 Thread NotFound
> Currently, IMCC still has a 2-digit limit for PASM registers. > I think we can easily extend this to any number, as long as it fits in > an INTVAL. Last time I checked, register allocator and some other imcc parts used unsigned char for register numbers in several places. -- Salu2

Re: [perl #41788] [BUG] Real registers are limited to 2 digits

2007-03-16 Thread Allison Randal
Will Coleda wrote: Having a limit is more than reasonable, agreed: the goal of this patch was to bring the code into agreement with the docs. Consider this a poke to the Architect to verify/replace the previous overturn of the original 32-register limit. The advantage of allowing unlimited r

Re: [perl #41788] [BUG] Real registers are limited to 2 digits

2007-03-14 Thread Klaas-Jan Stol
Nuno Carvalho via RT wrote: Hi again, On Tue Mar 13 16:17:56 2007, coke wrote: Having a limit is more than reasonable, agreed: the goal of this patch was to bring the code into agreement with the docs. Consider this a poke to the Architect to verify/replace the previous overturn of the

[perl #41788] [BUG] Real registers are limited to 2 digits

2007-03-14 Thread Nuno Carvalho via RT
Hi again, On Tue Mar 13 16:17:56 2007, coke wrote: > Having a limit is more than reasonable, agreed: the goal of this > patch was to bring the code into agreement with the docs. > > Consider this a poke to the Architect to verify/replace the previous > overturn of the original 32-register lim

Re: [perl #41788] [BUG] Real registers are limited to 2 digits

2007-03-13 Thread Will Coleda
Having a limit is more than reasonable, agreed: the goal of this patch was to bring the code into agreement with the docs. Consider this a poke to the Architect to verify/replace the previous overturn of the original 32-register limit. On Mar 13, 2007, at 6:45 PM, Leopold Toetsch wrote: A

Re: [perl #41788] [BUG] Real registers are limited to 2 digits

2007-03-13 Thread Leopold Toetsch
Am Dienstag, 13. März 2007 11:55 schrieb Nuno Carvalho via RT: > so IMHO the max allowed size of the register name in the lexer > should be the max allowed for an INTVAL. Please folks, get serious. INTVAL allows 2^31/2^63 registers. A register is taking 4/8 bytes of mem. Multiply. Or IOW allowin

Re: [perl #41788] [BUG] Real registers are limited to 2 digits

2007-03-13 Thread chromatic
On Tuesday 13 March 2007 07:54, Nuno Carvalho via RT wrote: > I've allowed for any number of digits in register names, as long that > the number specified always fits in a 32 integer value. Meaning, if the > number defined in the register name is less than MAX_INT then it's ok to > proceed, else g

[perl #41788] [BUG] Real registers are limited to 2 digits

2007-03-13 Thread Nuno Carvalho via RT
Greetings, On Mon Mar 12 15:25:38 2007, [EMAIL PROTECTED] wrote: > chromatic wrote: > > On Monday 12 March 2007 10:52, Nuno Carvalho via RT wrote: > > > > > >> I've run the tests and didn't find any test failling because of > this > >> change. With this change we can have "P999..999", if a

Re: [perl #41788] [BUG] Real registers are limited to 2 digits

2007-03-12 Thread Jonathan Worthington
chromatic wrote: On Monday 12 March 2007 10:52, Nuno Carvalho via RT wrote: I've run the tests and didn't find any test failling because of this change. With this change we can have "P999..999", if a limit to the number of digits (or size) in the register name is defined i can change

Re: [perl #41788] [BUG] Real registers are limited to 2 digits

2007-03-12 Thread Leopold Toetsch
Am Montag, 12. März 2007 21:34 schrieb chromatic: > What does this do to the register allocator and to memory usage?  If I use > integer registers 10,000 and 100,000, will Parrot allocate a sparse data > structure? Of course not ;) PASM regs are "physical" registers. The register allocator alloca

Re: [perl #41788] [BUG] Real registers are limited to 2 digits

2007-03-12 Thread chromatic
On Monday 12 March 2007 10:52, Nuno Carvalho via RT wrote: > I've run the tests and didn't find any test failling because of this > change. With this change we can have "P999..999", if a limit to > the number of digits (or size) in the register name is defined i can > change the lexer to a

[perl #41788] [BUG] Real registers are limited to 2 digits

2007-03-12 Thread Nuno Carvalho via RT
Greetings, On Sun Mar 11 08:03:06 2007, kjs wrote: > Currently, S, N, I and P registers are limited to 2 digits; that is, you > can only use: > > [S|N|I|P]0 to [S|N|I|P]99. > > For instance, this fails: > > .sub main > P333 = new .Integer > P333 = 1 > .end > > Since Parrot does not have a

[perl #41788] [BUG] Real registers are limited to 2 digits

2007-03-12 Thread via RT
# New Ticket Created by Klaas-Jan Stol # Please include the string: [perl #41788] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=41788 > Currently, S, N, I and P registers are limited to 2 digits; that is, you can only use