[LLVMdev] Back ends for instructional use?

Joe Abbey jabbey at arxan.com
Mon Aug 15 12:03:12 PDT 2011


I can confirm that QEMU works for Linux ARM. 

We use Debian armel in-house for Linux Arm testing. 

http://www.debian.org/ports/arm

We recently also purchased Beagleboards which are a low-cost way to get an ARM development environment. 

http://www.beagleboard.org

Joe

On Aug 15, 2011, at 2:40 PM, Eli Friedman <eli.friedman at gmail.com> wrote:

> On Mon, Aug 15, 2011 at 11:20 AM, Adve, Vikram Sadanand
> <vadve at illinois.edu> wrote:
>> I'm trying to decide whether to use either the MIPS or ARM back ends for course projects in our introductory compiler class.  I'd like to use something that has a stable back end, so that the students can use the selector, probably without changes, and do a project on register allocation and stack layout.  We don't have MIPS or ARM hardware (other than possibly a few donated Android phones to play with), so a simulator like Spim will be essential.
>> 
>> 1. Is there a similar open-source or free simulator for ARM that would run llc- or lli-generated code on Linux?
> 
> Off the top of my head, QEMU will run ARM code; not sure if that's
> quite what you need, though.
> 
>> 2. How stable is the MIPS back end?  We need the whole thing for testing, and as a reference implementation.
> 
> It's not as mature as the ARM backend, but the basics should work.
> (Note that there has been some substantial work going into the MIPS
> backend on trunk.)
> 
> -Eli
> 
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev




More information about the llvm-dev mailing list