On Wed, Nov 17, 2010 at 12:11 AM, Bruno Cardoso Lopes <bruno.cardoso at gmail.com> wrote:> Hi, > > On Sun, Nov 14, 2010 at 5:39 AM, Michael.Kang <blackfin.kang at gmail.com> wrote: >> I like to get the support of llvm runtime so that I can run some VM >> that depends on llvm. I googled porting keyword >> and also simply try to cross compile llvm. Just like to know is it >> possbile ? Does any modification needed? > > You can compile and run llvm tools in a mips machine, but mips+JIT is > not supported.If I like to do some investigation on the MIPS JIT or some exercise development on MIPS JIT. Where should I begin? Or what is it's current status? I am a completely newbie for llvm development. Just ever used X86 JIT to simulate something. Thanks MK> > -- > Bruno Cardoso Lopes > http://www.brunocardoso.cc >-- www.skyeye.org
Hi, There are numerous emails flying around the list at the moment regarding the state of the JIT. In its current state it is infeasible to add support for another architecture (very difficult to say the least) - there are plans currently being formulated to deal with this and convert the JIT to the new MC architecture, which would allow much easier porting between platforms. Have a look for the subject "[LLVMdev] MC-JIT Design". Also, what sort of memory footprint would you require to use the JIT on a MIPS target? The JIT currently (and the next incarnation is also likely to) pulls in an awful lot of fat LLVM libraries that cause a JIT-based compiler to be 8MB-up on x86. MIPS would be substantially larger than this due to its RISC instruction set. James Molloy Graduate Compiler Engineer, ARM Ltd.> -----Original Message----- > From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] > On Behalf Of Michael.Kang > Sent: 17 November 2010 05:23 > To: Bruno Cardoso Lopes > Cc: llvmdev > Subject: Re: [LLVMdev] Is it possible to run llvm on mips machine? > > On Wed, Nov 17, 2010 at 12:11 AM, Bruno Cardoso Lopes > <bruno.cardoso at gmail.com> wrote: > > Hi, > > > > On Sun, Nov 14, 2010 at 5:39 AM, Michael.Kang > <blackfin.kang at gmail.com> wrote: > >> I like to get the support of llvm runtime so that I can run some VM > >> that depends on llvm. I googled porting keyword > >> and also simply try to cross compile llvm. Just like to know is it > >> possbile ? Does any modification needed? > > > > You can compile and run llvm tools in a mips machine, but mips+JIT is > > not supported. > If I like to do some investigation on the MIPS JIT or some exercise > development on MIPS JIT. Where should I begin? Or what is it's current > status? > I am a completely newbie for llvm development. Just ever used X86 JIT > to simulate something. > > Thanks > MK > > > > > -- > > Bruno Cardoso Lopes > > http://www.brunocardoso.cc > > > > > > -- > www.skyeye.org > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev-- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
On Wed, Nov 17, 2010 at 4:30 PM, James Molloy <James.Molloy at arm.com> wrote:> Hi, > > There are numerous emails flying around the list at the moment regarding the state of the JIT. In its current state it is infeasible to add support for another architecture (very difficult to say the least) - there are plans currently being formulated to deal with this and convert the JIT to the new MC architecture, which would allow much easier porting between platforms. > > Have a look for the subject "[LLVMdev] MC-JIT Design".Yes, I read it and still need some time to understand it.> > Also, what sort of memory footprint would you require to use the JIT on a MIPS target? The JIT currently (and the next incarnation is also likely to) pulls in an awful lot of fat LLVM libraries that cause a JIT-based compiler to be 8MB-up on x86. MIPS would be substantially larger than this due to its RISC instruction set. >I will use it on a MIPS PC Which have typically more than one Gigebyte memory. Anyway, I think I should spend some time to understand MC-JIT more. Thanks MK> James Molloy > Graduate Compiler Engineer, ARM Ltd. > > >> -----Original Message----- >> From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] >> On Behalf Of Michael.Kang >> Sent: 17 November 2010 05:23 >> To: Bruno Cardoso Lopes >> Cc: llvmdev >> Subject: Re: [LLVMdev] Is it possible to run llvm on mips machine? >> >> On Wed, Nov 17, 2010 at 12:11 AM, Bruno Cardoso Lopes >> <bruno.cardoso at gmail.com> wrote: >> > Hi, >> > >> > On Sun, Nov 14, 2010 at 5:39 AM, Michael.Kang >> <blackfin.kang at gmail.com> wrote: >> >> I like to get the support of llvm runtime so that I can run some VM >> >> that depends on llvm. I googled porting keyword >> >> and also simply try to cross compile llvm. Just like to know is it >> >> possbile ? Does any modification needed? >> > >> > You can compile and run llvm tools in a mips machine, but mips+JIT is >> > not supported. >> If I like to do some investigation on the MIPS JIT or some exercise >> development on MIPS JIT. Where should I begin? Or what is it's current >> status? >> I am a completely newbie for llvm development. Just ever used X86 JIT >> to simulate something. >> >> Thanks >> MK >> >> > >> > -- >> > Bruno Cardoso Lopes >> > http://www.brunocardoso.cc >> > >> >> >> >> -- >> www.skyeye.org >> _______________________________________________ >> LLVM Developers mailing list >> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu >> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev > > -- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you. >-- www.skyeye.org
Eric Christopher
2010-Nov-17 08:43 UTC
[LLVMdev] Is it possible to run llvm on mips machine?
On Nov 17, 2010, at 12:30 AM, James Molloy wrote:> Hi, > > There are numerous emails flying around the list at the moment regarding the state of the JIT. In its current state it is infeasible to add support for another architecture (very difficult to say the least) - there are plans currently being formulated to deal with this and convert the JIT to the new MC architecture, which would allow much easier porting between platforms. >I think infeasible is probably too strong a word. In fact, it would be just as easy to do support in the existing JIT for mips as it would be to add MC work for the target. That said, I'd probably add MC support for the target since that'll be the way forward and will hopefully get a lot of the JIT support for free-ish.> Have a look for the subject "[LLVMdev] MC-JIT Design". > > Also, what sort of memory footprint would you require to use the JIT on a MIPS target? The JIT currently (and the next incarnation is also likely to) pulls in an awful lot of fat LLVM libraries that cause a JIT-based compiler to be 8MB-up on x86. MIPS would be substantially larger than this due to its RISC instruction set. >Most MIPS targets these days can have some pretty hefty ram -, he could be wanting to JIT on an old SGI machine, my last one had 8GB of ram :) That said most of the embedded linux boards will generally ship with about a GB or 4. -eric
Seemingly Similar Threads
- [LLVMdev] Is it possible to run llvm on mips machine?
- [LLVMdev] Is it possible to run llvm on mips machine?
- [LLVMdev] Is it possible to run llvm on mips machine?
- [LLVMdev] Is it possible to run llvm on mips machine?
- [LLVMdev] Is it possible to run llvm on mips machine?