diff options
author | Logan Chien <tzuhsiang.chien@gmail.com> | 2013-10-28 17:51:12 +0000 |
---|---|---|
committer | Logan Chien <tzuhsiang.chien@gmail.com> | 2013-10-28 17:51:12 +0000 |
commit | 8cbb80d15925e62a6a33d899f568a81d6d74f08c (patch) | |
tree | 119eac09eda9fb98f864d70d57eab25cb68f10d7 /llvm/utils/TableGen/CodeGenDAGPatterns.cpp | |
parent | 8a24152048daa24441d2853b0c0cf6e1cd85ee56 (diff) | |
download | llvm-8cbb80d15925e62a6a33d899f568a81d6d74f08c.zip llvm-8cbb80d15925e62a6a33d899f568a81d6d74f08c.tar.gz llvm-8cbb80d15925e62a6a33d899f568a81d6d74f08c.tar.bz2 |
[arm] Implement eabi_attribute, cpu, and fpu directives.
This commit allows the ARM integrated assembler to parse
and assemble the code with .eabi_attribute, .cpu, and
.fpu directives.
To implement the feature, this commit moves the code from
AttrEmitter to ARMTargetStreamers, and several new test
cases related to cortex-m4, cortex-r5, and cortex-a15 are
added.
Besides, this commit also change the Subtarget->isFPOnlySP()
to Subtarget->hasD16() to match the usage of .fpu directive.
This commit changes the test cases:
* Several .eabi_attribute directives in
2010-09-29-mc-asm-header-test.ll are removed because the .fpu
directive already cover the functionality.
* In the Cortex-A15 test case, the value for
Tag_Advanced_SIMD_arch has be changed from 1 to 2,
which is more precise.
llvm-svn: 193524
Diffstat (limited to 'llvm/utils/TableGen/CodeGenDAGPatterns.cpp')
0 files changed, 0 insertions, 0 deletions