summaryrefslogtreecommitdiff
path: root/opcodes/aarch64-gen.c
diff options
context:
space:
mode:
authorMatthew Wahab <matthew.wahab@arm.com>2015-12-11 09:56:07 +0000
committerMatthew Wahab <matthew.wahab@arm.com>2015-12-11 10:12:08 +0000
commita0f7013add6b1737e9a5e5d63cdf41ab2ebca0bf (patch)
treeae9abb554c68ada25b95e4a83b4e7413a40d423f /opcodes/aarch64-gen.c
parent55c144e691ec05a7b8231b5c58dc6d6659a1c4eb (diff)
downloadbinutils-gdb-a0f7013add6b1737e9a5e5d63cdf41ab2ebca0bf.tar.gz
[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
Diffstat (limited to 'opcodes/aarch64-gen.c')
-rw-r--r--opcodes/aarch64-gen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/opcodes/aarch64-gen.c b/opcodes/aarch64-gen.c
index 155ec85e932..971bcc9d5e2 100644
--- a/opcodes/aarch64-gen.c
+++ b/opcodes/aarch64-gen.c
@@ -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;