diff options
author | Renato Golin <renato.golin@linaro.org> | 2015-05-30 10:30:02 +0000 |
---|---|---|
committer | Renato Golin <renato.golin@linaro.org> | 2015-05-30 10:30:02 +0000 |
commit | 230d298320897cce6fbc55ed3a2516b3c46108fa (patch) | |
tree | 1c1ec975f8ba495684353b4ee328311d416efdb7 /llvm/lib/Support/TargetParser.cpp | |
parent | 11e6f8fed1809ab3f2245a25f50c95ceae77bf10 (diff) | |
download | llvm-230d298320897cce6fbc55ed3a2516b3c46108fa.zip llvm-230d298320897cce6fbc55ed3a2516b3c46108fa.tar.gz llvm-230d298320897cce6fbc55ed3a2516b3c46108fa.tar.bz2 |
[ARMTargetParser] Move IAS arch ext parser. NFC
The plan was to move the whole table into the already existing ArchExtNames
but some fields depend on a table-generated file, and we don't yet have this
feature in the generic lib/Support side.
Once the minimum target-specific table-generated files are available in a
generic fashion to these libraries, we'll have to keep it in the ASM parser.
llvm-svn: 238651
Diffstat (limited to 'llvm/lib/Support/TargetParser.cpp')
-rw-r--r-- | llvm/lib/Support/TargetParser.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/llvm/lib/Support/TargetParser.cpp b/llvm/lib/Support/TargetParser.cpp index 0fa1b20..372f858 100644 --- a/llvm/lib/Support/TargetParser.cpp +++ b/llvm/lib/Support/TargetParser.cpp @@ -106,8 +106,14 @@ struct { { "fp", ARM::AEK_FP }, { "idiv", ARM::AEK_HWDIV }, { "mp", ARM::AEK_MP }, + { "simd", ARM::AEK_SIMD }, { "sec", ARM::AEK_SEC }, - { "virt", ARM::AEK_VIRT } + { "virt", ARM::AEK_VIRT }, + { "os", ARM::AEK_OS }, + { "iwmmxt", ARM::AEK_IWMMXT }, + { "iwmmxt2", ARM::AEK_IWMMXT2 }, + { "maverick", ARM::AEK_MAVERICK }, + { "xscale", ARM::AEK_XSCALE } }; // List of CPU names and their arches. // The same CPU can have multiple arches and can be default on multiple arches. |