Use ".arch_extension" ARM directive to specify the additional CPU features
authorSumanth Gundapaneni <sgundapa@codeaurora.org>
Thu, 26 Feb 2015 18:07:35 +0000 (18:07 +0000)
committerSumanth Gundapaneni <sgundapa@codeaurora.org>
Thu, 26 Feb 2015 18:07:35 +0000 (18:07 +0000)
commit7c0f2ab3dbcd426964bddb214b8a69f2bb0c5b19
treee27ef1fd7852e67eebef0b47084a66d508075247
parente382bb9e353b7eac4ea17487eff1fb48bd7b6b9b
Use ".arch_extension" ARM directive to specify the additional CPU features

This patch is in response to r223147 where the avaiable features are
computed based on ".cpu" directive. This will work clean for the standard
variants like cortex-a9. For custom variants which rely on standard cpu names
for assembly, the additional features of a CPU should be propagated. This can be
done via ".arch_extension" as long as the assembler supports it. The
implementation for krait along with unit test will be submitted in next patch.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230650 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCStreamer.h
lib/Target/ARM/ARMArchExtName.def [new file with mode: 0644]
lib/Target/ARM/ARMArchExtName.h [new file with mode: 0644]
lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp
lib/Target/ARM/MCTargetDesc/ARMTargetStreamer.cpp