Displaying 2 results from an estimated 2 matches for "proca9".
2016 Feb 24
1
Performance degradation on ARMv7 (cortex-a9)
Thanks Bradley.
I see that the features set in /ARM.td/ get written to the generated
file /<build>/llvm/lib/Target/ARM/ARMGenSubtargetInfo.inc./ Here the
ProcA9 features appear in /ARMFeatureKV/ table:
/{ "a9", "Cortex-A9 ARM processors", { ARM::ProcA9 }, {
*ARM::FeatureFP16* } },
/With your change, the features for ProcA9 in the above entry are
empty.//This ARMFeatureKV table is then read in MC/MCSubtargetInfo.cpp
in the getFeatur...
2016 Feb 24
2
Performance degradation on ARMv7 (cortex-a9)
...uce subtarget features per ARM architecture.//
// This allows for accurate architecture targeting as well as removing//
// duplicate information (hardcoded feature strings) from MCTargetDesc./
I see that in lib/Target/ARM/ARM.td all the features have been removed
from Proc definition (e.g.: ProcA9) and added to ProcessorModel
definition (e.g.: ProcessorModel<"cortex-a9").
But I find that the features from Proc are still being read and set in
MCSubtargetInfo through the ARMFeatureKV table. So if the Proc is empty
the corresponding feature is not being set.
In my case, if I add...