[llvm-dev] LLVM issuse:AArch64 TargetParser

Renato Golin via llvm-dev llvm-dev at lists.llvm.org
Wed May 18 05:54:48 PDT 2016


On 18 May 2016 at 13:46, Bruce Hoult <bruce at hoult.org> wrote:
> Thanks!
>
> Just for completeness, if you want to force T16, should you use
>
>  "-target arm -march=armv6 -mthumb -mfloat-abi=soft"
>
> Or is there a better way?
>
> (the last option needed because T16 has no access to FP registers, so you'd
> better either not be using FP arguments/results at all or else compile
> everything else you link to with softfp as well)

That should be enough, yes. Choosing -march=armv6m is another way, but
that will probably change the codegen profile, too.

Depends on what you want. :)

cheers,
--renato


More information about the llvm-dev mailing list