HomePhabricator

[AArch64][SVE] Asm: Enable instructions to be prefixed.

Authored by sdesmalen on Jul 30 2018, 9:05 AM.

Description

[AArch64][SVE] Asm: Enable instructions to be prefixed.

This patch enables instructions that are destructive on their
destination- and first source operand, to be prefixed with a
MOVPRFX instruction.

This patch also adds a variety of tests:

  • positive tests for all instructions and forms that accept a movprfx for either or both predicated and unpredicated forms.
  • negative tests for all instructions and forms that do not accept an unpredicated or predicated movprfx.
  • negative tests for the diagnostics that get emitted when a MOVPRFX instruction is used incorrectly.

This is patch [2/2] in a series to add MOVPRFX instructions:

Reviewers: rengolin, SjoerdMeijer, samparker, fhahn, javed.absar

Reviewed By: SjoerdMeijer

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

llvm-svn: 338261

Details

Committed
sdesmalenJul 30 2018, 9:05 AM
Reviewer
SjoerdMeijer
Differential Revision
D49593: [AArch64][SVE] Asm: Enable instructions to be prefixed.
Parents
rGce979dd24ae6: [clangd] Remove outdated comment. NFC
Branches
Unknown
Tags
Unknown