dotgnu-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [DotGNU]Will unrolling an instruction slow down execution ?


From: Rhys Weatherley
Subject: Re: [DotGNU]Will unrolling an instruction slow down execution ?
Date: Wed, 14 May 2003 19:56:02 +1000
User-agent: KMail/1.4.3

On Wednesday 14 May 2003 06:49 pm, Gopal V wrote:

> Rhys I've been looking at the object code generated in the cvm.o native
> code ?. Just to obtain a view of what we need to do generate for object
> instructions. Would it be fair to assume that generating that chunk or a
> very similar chunk of code in the unroll section would work ?.

That's a pretty fair assumption, modulo register assignments to stack 
positions.  The main tricky part is with exceptions - you need to "ReExecute" 
in the interpreter to make the exception work.

> The assumption being that we will be able to call the necessary functions
> from assembly ?.

The hard stuff will eventually turn into helper functions, called from the 
JIT.  For now, the CVM interpreter does the hard stuff.

Parts of the generic unroller are now checked in, although they haven't been 
enabled just yet because it is incomplete.

Cheers,

Rhys.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]