[LLVMdev] [Compiler-rt] -march=aarch64 flag in gcc/clang

James Molloy james at jamesmolloy.co.uk
Thu Dec 18 01:27:59 PST 2014


Ah right, thanks Renato!

On Thu Dec 18 2014 at 9:27:31 AM Renato Golin <renato.golin at linaro.org>
wrote:

> On 18 December 2014 at 09:08, James Molloy <james at jamesmolloy.co.uk>
> wrote:
> > Hi,
> >
> > Right. I'm aware of that. But to Clang, "armv8-a" as an architecture is
> > ARMv8/AArch32. Unless Clang has recently got a lot cleverer than it has
> been
> > in the past.
>
> Hi James,
>
> That's for march, not target. You still need to specify an "aarch64"
> target, or Clang would not even recognise -march=armv8. If you specify
> "arm" for the target, then -march=armv8 will, indeed, be AArch32.
>
> cheers,
> --renato
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20141218/246ac0d6/attachment.html>


More information about the llvm-dev mailing list