[AArch64] Allow non-standard INS/DUP encodings
authorBradley Smith <bradley.smith@arm.com>
Tue, 14 Apr 2015 15:07:26 +0000 (15:07 +0000)
committerBradley Smith <bradley.smith@arm.com>
Tue, 14 Apr 2015 15:07:26 +0000 (15:07 +0000)
commitd87c77c0e8fdc86283ea3ccc00dad1e5e911093f
tree271b9cbe4ae907ffc36ee1cb800b0fd30738206b
parent661ed8583463860b215c71adb2f23602d1621df5
[AArch64] Allow non-standard INS/DUP encodings

The ARMv8 ARMARM states that for these instructions in A64 state:

  "Unspecified bits in "imm5" are ignored but should be set to zero by an assembler.", (imm4 for INS).

Make the disassembler accept any encoding with these ignored bits set to 1.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234896 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AArch64InstrFormats.td
lib/Target/AArch64/AArch64InstrInfo.td
test/MC/Disassembler/AArch64/arm64-advsimd.txt