Skip to content

Commit

Permalink
[ARM64][AArch64] Update disassembler attributes to ARMv8.5 ISA with S…
Browse files Browse the repository at this point in the history
…VE extensions

This patch updates assembler attributes for AArch64 targets so we can disassemble newer instructions supported in ISA version 8.5 and SVE extensions.

Differential Revision: https://reviews.llvm.org/D62235

llvm-svn: 361451
  • Loading branch information
omjavaid committed May 23, 2019
1 parent ada9d2d commit 772176d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lldb/source/Plugins/Disassembler/llvm/DisassemblerLLVMC.cpp
Expand Up @@ -1188,10 +1188,10 @@ DisassemblerLLVMC::DisassemblerLLVMC(const ArchSpec &arch,
features_str += "+dspr2,";
}

// If any AArch64 variant, enable the ARMv8.2 ISA extensions so we can
// disassemble newer instructions.
// If any AArch64 variant, enable the ARMv8.5 ISA with SVE extensions so we
// can disassemble newer instructions.
if (triple.getArch() == llvm::Triple::aarch64)
features_str += "+v8.2a";
features_str += "+v8.5a,+sve2";

if (triple.getArch() == llvm::Triple::aarch64
&& triple.getVendor() == llvm::Triple::Apple) {
Expand Down

0 comments on commit 772176d

Please sign in to comment.