diff options
author | Sumanth Gundapaneni <sgundapa@codeaurora.org> | 2015-02-26 18:08:41 +0000 |
---|---|---|
committer | Sumanth Gundapaneni <sgundapa@codeaurora.org> | 2015-02-26 18:08:41 +0000 |
commit | 28a3b86b069c05418234bd16890843ca400b8639 (patch) | |
tree | 718794189966c82ce4ea2a45e34788714b944820 /clang/lib/Basic/Targets.cpp | |
parent | a9049ea36848df64e26d3c11a11dd393fb469e79 (diff) | |
download | bcm5719-llvm-28a3b86b069c05418234bd16890843ca400b8639.tar.gz bcm5719-llvm-28a3b86b069c05418234bd16890843ca400b8639.zip |
Use ".arch_extension" ARM directive to support hwdiv on krait
In case of "krait" CPU, asm printer doesn't emit any ".cpu" so the
features bits are not computed. This patch lets the asm printer
emit ".cpu cortex-a9" directive for krait and the hwdiv feature is
enabled through ".arch_extension". In short, krait is treated
as "cortex-a9" with hwdiv. We can not emit ".krait" as CPU since
it is not supported bu GNU GAS yet
llvm-svn: 230651
Diffstat (limited to 'clang/lib/Basic/Targets.cpp')
0 files changed, 0 insertions, 0 deletions