[LLVMdev] Current status of MIPS support (some basic questions)

Carter Cheng carter_cheng at yahoo.com
Mon Jul 27 11:19:34 PDT 2009

Thanks both for the replies. I am primarily considering using clang to test the backend modifications I may need to make to the experimental code generator to get it to work on my Mipsel device. I suspect the current backend may need to be extended to accommodate my needs in this case. Reading the comments in the backend seems to suggest it support MIPS1-2 and O32 to some extent whereas I need something along the lines of 64bit MIPS3 support and N32.

--- On Mon, 7/27/09, Eli Friedman <eli.friedman at gmail.com> wrote:

> From: Eli Friedman <eli.friedman at gmail.com>
> Subject: Re: [LLVMdev] Current status of MIPS support (some basic questions)
> To: "LLVM Developers Mailing List" <llvmdev at cs.uiuc.edu>
> Date: Monday, July 27, 2009, 9:32 AM
> On Mon, Jul 27, 2009 at 8:56 AM,
> Carter Cheng<carter_cheng at yahoo.com>
> wrote:
> > Is there also an option to compile w/ clang on an x86
> for Mipsel?
> A normal build of clang includes limited cross-compile
> support by
> passing in the "-ccc-host-triple" option, although it's
> still a bit of
> a work-in-progress.  Nobody has added support for any
> Mips targets,
> but it's really easy to patch clang/lib/Basic/Targets.cpp
> to add a new
> target.  Please continue any discussion of this on
> cfe-dev.
> -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