lightning
[Top][All Lists]
Advanced

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

Re: [Lightning] Adding support for a multi pass intermediate representat


From: Paolo Bonzini
Subject: Re: [Lightning] Adding support for a multi pass intermediate representation
Date: Mon, 8 Nov 2010 20:51:54 +0100

>> Looks pretty good!  But about the last paragraph, I think you're
>> reinventing dataflow analysis, aren't you?  What do you mean by "3
>> lists"?  What would you do about loops?
>
>  I think I am somewhat reinventing dataflow analysis indeed, or,
> the concept is a special case. By 3 lists I mean maintain 3 lists
> of instructions, but there can be more; one for integer types, one
> for float types and one generic to fallback to call C vm functions
> that choose the code path for a single operation in switch statements.

Ok, so what I had missed is that the design is specific to your VM. :)

Paolo



reply via email to

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