[LLVMdev] How well does clang perform with ARMv4?

Eli Friedman eli.friedman at gmail.com
Sat Aug 13 00:35:22 PDT 2011


On Fri, Aug 12, 2011 at 6:00 PM, Ryan Pettigrew
<tenacious_techhunter at verizon.net> wrote:
>  I’ve got an embedded development board with an ARMv4 chip that has no thumb
> support whatsoever. Given that lib/Target/ARM/ARM.td has no apparent option
> for ARMv4 without Thumb, can I still use clang for ARMv4, or am I out of
> luck? Can I expect to use clang in the future, or am I going to be stuck
> with the mess that is gcc?

It ought to work; just specify the CPU as "generic" or "strongarm".
Granted, there's relatively little testing for anything older than
ARMv6, but all the pieces are there.

-Eli




More information about the llvm-dev mailing list