[llvm-dev] [RFC] Adding ARC backend

Pete Couperus via llvm-dev llvm-dev at lists.llvm.org
Fri Sep 1 08:14:12 PDT 2017


Hello Leslie,

>> * Clang driver and target triple support.

>great, then it is able to generate ELF by $ /opt/llvm-svn/bin/clang -c --target=arc hello.c -o hello.o -mmcu=XXX

Basically yes, but we have not implemented the integrated assembler yet, so currently rely on an external ARC gnu toolchain.
Plus, there are a wide variety of subtargets that are basically unsupported until we start adding configuration support. 
https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain

>and do you plan to implement ARC target for lld[1]? it is a good
>testcase: flash them directly to the chip[2], or simulator[3].

Supporting ARC in lld is a good question.  It has not been on my personal short-list, but if you (or others) are interested in specific features, that helps us.
I personally use the bare-metal simulator you sited, though the link you supplied doesn't seem to point out where to get it?
https://www.synopsys.com/cgi-bin/dwarcnsim/req1.cgi

Pete



More information about the llvm-dev mailing list