[AArch64][Patch 3/5] Adjust maximum number of instruction aliases.

The Statistical Profile Extension adds the instruction PSB CSYNC as an
alias for the HINT #17 instruction. The HINT instruction currently has 8
aliases, which is the maximum number allowed. This patch raises to 16
the limit on the number of aliases an instruction can have.

opcodes/
2015-12-11  Matthew Wahab  <matthew.wahab@arm.com>

	* aarch64-gen.c (find_alias_opcode): Set max_num_aliases to 16.

Change-Id: I131044bf6e0fe0940a9e7478d9bf52137748907d
This commit is contained in:
Matthew Wahab 2015-12-11 09:56:07 +00:00
parent 55c144e691
commit a0f7013add
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2015-12-11 Matthew Wahab <matthew.wahab@arm.com>
* aarch64-gen.c (find_alias_opcode): Set max_num_aliases to 16.
2015-12-11 Matthew Wahab <matthew.wahab@arm.com>
* aarch64-opc.c (aarch64_sys_reg): Add pbmlimitr_el1, pmbptr_el1,

View File

@ -690,8 +690,8 @@ opcode_node *
find_alias_opcode (const aarch64_opcode *opcode)
{
int i;
/* Assume maximum of 8 disassemble preference candidates. */
const int max_num_aliases = 8;
/* Assume maximum of 16 disassemble preference candidates. */
const int max_num_aliases = 16;
const aarch64_opcode *ent;
const aarch64_opcode *preferred[max_num_aliases + 1];
opcode_node head, **next;