Re: Suggestion: register liveness information

2001-09-24 Thread Dan Sugalski
At 12:36 AM 9/25/2001 +1000, Andrew J Bromage wrote: >G'day all. > >On Mon, Sep 24, 2001 at 10:27:24AM -0400, Michael Maraist wrote: > > > Does it have to be in the instruction stream to be useful? > >No, of course not. I said "instruction" because that's how I saw it >implemented last, but that

Re: Suggestion: register liveness information

2001-09-24 Thread Andrew J Bromage
G'day all. On Mon, Sep 24, 2001 at 10:27:24AM -0400, Michael Maraist wrote: > Does it have to be in the instruction stream to be useful? No, of course not. I said "instruction" because that's how I saw it implemented last, but that was in a compiler backend, not in a virtual machine specificat

Re: Suggestion: register liveness information

2001-09-24 Thread Michael Maraist
> I have a suggestion for allowing parrot implementations to execute > code more efficiently. Add an "instruction" or other annotation which > denotes what registers are "live" at some point in the code. The Does it have to be in the instruction stream to be useful? Why not just be part of the

Re: Suggestion: register liveness information

2001-09-24 Thread Leon Brocard
Andrew J Bromage sent the following bits through the ether: > What do you all think? Leon mentioned control flow graphs a few days > ago, but I think that live value information is more generally useful > to optimising interpreters and JIT compilers. I guess it depends what level you want to b

Suggestion: register liveness information

2001-09-24 Thread Andrew J Bromage
G'day all. I have a suggestion for allowing parrot implementations to execute code more efficiently. Add an "instruction" or other annotation which denotes what registers are "live" at some point in the code. The intended usage is that compilers which wish to generate this information generate