This is an archive of the discontinued LLVM Phabricator instance.

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

Authored by bsmith on Apr 14 2015, 4:17 AM.

Details

Reviewers
t.p.northover
Summary

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.

Diff Detail

Repository
rL LLVM

Event Timeline

bsmith updated this revision to Diff 23722.Apr 14 2015, 4:17 AM
bsmith retitled this revision from to [AArch64] Allow non-standard INS/DUP encodings.
bsmith updated this object.
bsmith edited the test plan for this revision. (Show Details)
bsmith set the repository for this revision to rL LLVM.
bsmith added a subscriber: Unknown Object (MLST).
t.p.northover accepted this revision.Apr 14 2015, 8:04 AM
t.p.northover added a reviewer: t.p.northover.
t.p.northover added a subscriber: t.p.northover.

Hi Bradley,

This looks good to me.

Tim.

This revision is now accepted and ready to land.Apr 14 2015, 8:04 AM
bsmith closed this revision.Apr 14 2015, 8:10 AM

Thanks, committed as r234896.