[LLVMdev] Back ends for instructional use?
Richard Pennington
rich at pennware.com
Sat Aug 20 07:14:34 PDT 2011
On Monday, August 15, 2011 01:38:32 PM Jim Grosbach wrote:
> On Aug 15, 2011, at 11:20 AM, Adve, Vikram Sadanand 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?
>
> Would QEMU work, perhaps? Caveat: I haven't used it personally for this
> sort of thing.
>
I've used QEMU to run Linux user space programs compiled with clang/LLVM for
both Mips and ARM: http://ellcc.org
-Rich
More information about the llvm-dev
mailing list