Tuukka Toivonen wrote:

> * Would it be possible at all to start generally using register
>   parameter passing convention in Linux?
> 
> Definitely it would be possible.
> 
> Does anyone know how much this would actually give speedup on x86?
> I don't think very much, because accessing cached stack is as fast
> as registers, unless doing arithmetic there (with Pentium, that is).
> 
> It would be possible, but would it be worth the trouble?
> It bothers me as I can use easily register passing with Watcom
> but not in Linux ... =)

Given the general lack of registers on the x86 architecture, I suspect
that you would just end up pushing the same amount of data onto the
stack anyhow.

-- 
Glynn Clements <[EMAIL PROTECTED]>

Reply via email to