> -----Ursprüngliche Nachricht----- > Von: "Eric Engler" <[EMAIL PROTECTED]> > Gesendet: 17.12.06 06:24:40 > An: [email protected] > Betreff: Re: [DotGNU] Has the CVM interprerter code been rolled into libjit?
> >The libjit version of the runtime compiles the CIL instructions to > >either machine code or to a libjit interpreter, which has no connection > >to the old CVM interpreter. > > > >The compiler emits CIL instructions only, and has no awareness of any of > >this. > > Thanks, this is very helpful. So, I guess ilrun leverages libjit, and if it > chooses to use the CVM method, the CVM instructions are both generated and > interpreted by ilrun (which is using libjit)? > Ilrun is either using libjit or the cvm interpreter. Which one it's using depends ol the configuration with which the engine is built. (pass either --with-cvm or --with-jit to configure). > Does it keep the CVM instructions in memory? I haven't seen any reference to > creating CVM files in the documentation. > The cvm instructions are created with the cvm coder (cvmc* files). > I'd like to have 2 utility programs to decouple this to make porting easier. > I'd like one program that can convert a file of CIL instructions to a file > of CVM instructions (this wouldn't be platform specific). And then I'd like > a CVM interpreter that is not tied to a JIT module - I want this as small as > possible to ease porting. Was this type of thing done in earlier versions of > DotGNU - maybe I can get some older code to make this easier? > The cvm interpreter is not tied to libjit. It's an either jit or cvm. The CIL instructions depend much on the metadata in the CIL files and so does the generated code. The tool would have to create a file with all the metadata in the CIL file and only the instruction streams replaced by cvm code. > Eric > Cheers, Klaus ______________________________________________________________________________ "Ein Herz für Kinder" - Ihre Spende hilft! Aktion: www.deutschlandsegelt.de Unser Dankeschön: Ihr Name auf dem Segel der 1. deutschen America's Cup-Yacht! _______________________________________________ Developers mailing list [email protected] http://dotgnu.org/mailman/listinfo/developers
