ARM IAS: (partially) support .arch_extension directive
authorSaleem Abdulrasool <compnerd@compnerd.org>
Sun, 16 Feb 2014 00:16:41 +0000 (00:16 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Sun, 16 Feb 2014 00:16:41 +0000 (00:16 +0000)
commit1edea19210df055ad24dfd18c23973c3668ac738
tree86ad9547c1501508f66d004a93db925a6c1f2006
parent132a2879413c203a2f25ba90a1fa5d44ae1f7832
ARM IAS: (partially) support .arch_extension directive

This adds a partial implementation of the .arch_extension directive to the
integrated ARM assembler.  There are a number of limitations to this
implementation arising from the target backend support rather than the
implementation itself.  Namely, iWMMXT (v1 and v2), Maverick, and XScale support
is not present in the ARM backend.  Currently, there is no check for A-class
only (needed for virt), and no ARMv6k detection (needed for os and sec).  The
remainder of the extensions are fully supported.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201471 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/AsmParser/ARMAsmParser.cpp
test/MC/ARM/directive-arch_extension-crc.s [new file with mode: 0644]
test/MC/ARM/directive-arch_extension-crypto.s [new file with mode: 0644]
test/MC/ARM/directive-arch_extension-fp.s [new file with mode: 0644]
test/MC/ARM/directive-arch_extension-idiv.s [new file with mode: 0644]
test/MC/ARM/directive-arch_extension-mp.s [new file with mode: 0644]
test/MC/ARM/directive-arch_extension-sec.s [new file with mode: 0644]
test/MC/ARM/directive-arch_extension-simd.s [new file with mode: 0644]