[PATCH] [AArch64] Implement Clang CLI interface proposal about "-march".

Kevin Qin kevinqindev at gmail.com
Thu Jul 3 01:26:03 PDT 2014


ping... Is any comment on this patch?


2014-07-01 18:29 GMT+08:00 Renato Golin <renato.golin at linaro.org>:

> On 1 July 2014 10:55, Kevin Qin <kevinqindev at gmail.com> wrote:
> > It's deprecated. Any use of "-mfpu" on AArch64 target will provide an
> > warning "argument unused during compilation" and won't block compiling
> > process. So most build systems can still work well except receiving a
> lot of
> > warnings.
>
> It might not block the compilation process, but it might break the
> linking process (build attributes, libraries), or change code
> generation, with regards to vectorization and optimizations. I agree
> this is not critical, but it's the kind of bug that is hard to find
> (as opposed to a compilation error), and the kind of warnings that
> people tend not to look at.
>
> I have no more arguments against the removal, and I don't feel too bad
> about it, but was just raising the issue. If people think it's for the
> best, I'll go with it.
>
>
> > Gcc can accept "-mcpu" with modifiers.
>
> Hum... ok, I had no idea, and from their docs, it's not clear also. In
> that case, fine by me.
>
> Thanks for threading this awkward minefield! I think Tim and others
> more involved in the AArch64 port should have a final look, but from
> what you discussed, I have no more objections.
>
> cheers,
> --renato
>



-- 
Best Regards,

Kevin Qin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140703/d1e83bd4/attachment.html>


More information about the cfe-commits mailing list