[cfe-dev] When to use '-mcpu' versus '-march'

陳韋任 via cfe-dev cfe-dev at lists.llvm.org
Wed Mar 14 08:33:57 PDT 2018


I guess Clang command line options tend to be compatible with GCC.
What GCC says about those options?

2018-03-14 22:48 GMT+08:00 ORiordan, Martin via cfe-dev
<cfe-dev at lists.llvm.org>:
> Hi CFE Devs,
>
>
>
> For out-of-tree target developers, what is the best practice advice for when
> to use ‘-mcpu’ and when to use ‘-march’ to identify variants or various
> generations of a target?
>
>
>
> Thanks,
>
>
>
>             MartinO
>
>
>
> --------------------------------------------------------------
> Intel Research and Development Ireland Limited
> Registered in Ireland
> Registered Office: Collinstown Industrial Park, Leixlip, County Kildare
> Registered Number: 308263
>
> This e-mail and any attachments may contain confidential material for the
> sole use of the intended recipient(s). Any review or distribution by others
> is strictly prohibited. If you are not the intended recipient, please
> contact the sender and delete all copies.
>
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>



-- 
Wei-Ren Chen (陳韋任)
Homepage: https://people.cs.nctu.edu.tw/~chenwj



More information about the cfe-dev mailing list