On Sunday 01 December 2002 18:04, Leopold Toetsch wrote:
> Daniel Grunblatt wrote:
> > The problem is that we do want to allocate a hardware register for a
> > Parrot register that is used only once in the section since the section
> > can be executed more than once, if you don't mind I want to remove
> > ALLOCATE_REGISTERS_ALWAYS.
>
> I do mind, until all platform concerns are sorted out. On my Athlon the
> inner loop in mops.pasm is as fast with one memory access as with two
> registers.

But that's not true on my Intel PIII nor on my PI 233. I get a 50% speed up on 
both.

>
> We probably really want to allocate registers for RISC platforms where
> we can, but not on i386, where a register is a rare ressource.
>
> It doesn't harm to keep it. And platforms can turn it on or off.

Keep it for what?
If there is any other thing in the section that deserves a register more than 
it, that's OK, but if there won't be anything else using it why will we keep 
it?

>
> > Daniel Grunblatt.
>
> leo

Reply via email to