[llvm-dev] [RFC] Making -mcpu=generic the default for ARM armv7a and arm8a rather than -mcpu=cortex-a8 or -mcpu=cortex-a53

Evandro Menezes via llvm-dev llvm-dev at lists.llvm.org
Wed May 31 08:23:14 PDT 2017


On 05/31/2017 08:35 AM, Renato Golin wrote:
> On 31 May 2017 at 13:57, Kristof Beyls <Kristof.Beyls at arm.com> wrote:
>> Taking into account the above measurements, my conclusions are:
>> 1. We should make -mcpu=generic the default cpu, not Cortex-A8 or Cortex-A53
>> for march=armv7a and march=armv8a.
> Using -mcpu=native makes more sense to me, if at all possible to
> detect, falling back to generic, which doesn't hurt.

For the sake of predictability, methinks that it'd make more sense for 
the default to always mean the same thing for everyone, as Kristof 
suggested.


-- 
Evandro Menezes



More information about the llvm-dev mailing list