[binutils][aarch64] Allow movprfx for SVE2 instructions.
SVE2 introduces a number of new instructions that work with the movprfx instruction. This commit ensures that SVE2 instructions are accounted for. opcodes/ChangeLog: 2019-05-09 Matthew Malcomson <matthew.malcomson@arm.com> * aarch64-opc.c (verify_constraints): Check for movprfx for sve2 instructions.
This commit is contained in:
parent
7ce2460a77
commit
5cd9975095
|
@ -1,3 +1,8 @@
|
|||
2019-05-09 Matthew Malcomson <matthew.malcomson@arm.com>
|
||||
|
||||
* aarch64-opc.c (verify_constraints): Check for movprfx for sve2
|
||||
instructions.
|
||||
|
||||
2019-05-09 Matthew Malcomson <matthew.malcomson@arm.com>
|
||||
|
||||
* aarch64-tbl.h
|
||||
|
|
|
@ -4867,7 +4867,9 @@ verify_constraints (const struct aarch64_inst *inst,
|
|||
{
|
||||
/* Check to see if the MOVPRFX SVE instruction is followed by an SVE
|
||||
instruction for better error messages. */
|
||||
if (!opcode->avariant || !(*opcode->avariant & AARCH64_FEATURE_SVE))
|
||||
if (!opcode->avariant
|
||||
|| !(*opcode->avariant &
|
||||
(AARCH64_FEATURE_SVE | AARCH64_FEATURE_SVE2)))
|
||||
{
|
||||
mismatch_detail->kind = AARCH64_OPDE_SYNTAX_ERROR;
|
||||
mismatch_detail->error = _("SVE instruction expected after "
|
||||
|
|
Loading…
Reference in New Issue