[llvm-dev] Does llvm support for the arm7(ARM7EJ-S) (ARMv5TE) properly?

Peter Smith via llvm-dev llvm-dev at lists.llvm.org
Wed Mar 14 02:25:45 PDT 2018


Hello Yonggang,

As you mention, the CPU arm7ej-s isn't in the ARM.td list, however it
is architecturally equivalent to some of the Arm9 cpus that support
the 5TE that are in ARM.td, for example the arm9e. If you used
-mcpu=arm9e you would get code generation that would work for the
arm7ej-s, as would using -march=armv5te. From a cursory look at the
technical reference manuals, there doesn't seem to be any significant
micro architectural differences that would change code-generation.

Peter

On 14 March 2018 at 02:59, 罗勇刚(Yonggang Luo)  via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
> I was trying to using llvm to targeting ARMv5TE
>
> --
>          此致
>> 罗勇刚
> Yours
>     sincerely,
> Yonggang Luo
>
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>


More information about the llvm-dev mailing list