[PATCH] [AArch64] Allow non-standard INS/DUP encodings

Bradley Smith bradley.smith at arm.com
Tue Apr 14 04:17:14 PDT 2015


This patch allows the AArch64 backend to accept non-standard encodings of DUP (general) and INS (element).

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). This means that for both of these instructions the disassembler should accept any encoding with these ignored bits set to 1.

REPOSITORY
  rL LLVM

http://reviews.llvm.org/D9012

Files:
  lib/Target/AArch64/AArch64InstrFormats.td
  lib/Target/AArch64/AArch64InstrInfo.td
  test/MC/Disassembler/AArch64/arm64-advsimd.txt

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D9012.23722.patch
Type: text/x-patch
Size: 3593 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150414/d7013411/attachment.bin>


More information about the llvm-commits mailing list