Fix NEON wrongly being enabled with soft-float when targeting armv8/Cortex-A53/A57.
This was caused by r200708 which enabled the crypto feature for these cores.
Differential D2736
[ARM] Fix NEON being enabled with soft-float aemerson on Feb 11 2014, 2:45 AM. Authored by
Details
Fix NEON wrongly being enabled with soft-float when targeting armv8/Cortex-A53/A57. This was caused by r200708 which enabled the crypto feature for these cores.
Diff Detail Event TimelineComment Actions Will this flag also appear in AArch32 command lines?
Comment Actions Not sure what you mean? This isn't a front-end flag, just ensuring that we explicitly disable a subtarget feature from within the driver. Amara Comment Actions Wouldn't getARMTargetFeatures() be called for both targets? If you call clang with -target arm and no neon, would that also add -crypto to it? Maybe having a check on an ARM test earlier would make things clearer (like CHECK-NOT: -crypto). Comment Actions Hi Amara, Renato, Amara asked me to take a look at this too - it looks fine. The addition of Renato, could you explain your objections a little more please? I'm not sure Cheers,
Comment Actions Ah I see, I get where you're coming from. But -soft-float should be a very rarely used option I think (as it disables VFP and NEON), so I personally don't think this is much of an issue. Cheers, James
|
I'd have thought that crypto would be disabled by default without the need of a flag...