[LLVMdev] Re: questions about LLVM

Shuo Chen shuochen at crhc.uiuc.edu
Wed Nov 17 15:57:47 PST 2004


Prof. Adve,

The idea is to develop a memory model where each byte is extended with 
3 extra bits. Programs are running on this memory model.
Load/store instructions, including those in LibC functions, 
needs to deal with the extra bits in a certain manner. Basically, my 
questions are:
(1) Is it feasible to implement the memory model where each byte is 
extended with 3 extra bit?
(2) Is there a LLVM version of LibC (in its VM code format) currently?
(3) Is LLVM able to compile HTTP servers, FTP servers and SSH servers to 
VM code so that every single VM instruction (include LibC code) is 
executed by the VM interpretor?

thank you very much
-Shuo
   
On Wed, 17 Nov 2004, Vikram S. Adve wrote:

> Shuo,
> 
> >> I have a few questions about LLVM:
> >> (1) The LLVM tutorial says LLVM can be used in architecture research. 
> >> If I want to run my program on an instruction set defined by myself, 
> >> is LLVM a right tool to do that?
> 
> What kind of instruction set do you have in mind?  The closer it is to 
> one we already target, the easier this is, but it is quite possible to 
> write a back-end for a relatively new one.
> 
> 
> >> In this aspect, is LLVM similar to SimpleScalar simulator?
> >
> 
> You can use the interpreter as a simulator for a very abstract machine 
> (and extend it with any performance metrics you want).   How do you 
> want to use it?
> 
> --Vikram
> http://www.cs.uiuc.edu/~vadve
> http://llvm.cs.uiuc.edu/
> 
> 

-- 
------------------------------------------------
   Shuo Chen       (email: shuochen at uiuc.edu)
   Phone: (217)333-6861 (w) (217)367-6144 (h)
------------------------------------------------





More information about the llvm-dev mailing list