[AArch64][Patch 3/5] Adjust maximum number of instruction aliases.
authorMatthew Wahab <matthew.wahab@arm.com>
Fri, 11 Dec 2015 09:56:07 +0000 (09:56 +0000)
committerMatthew Wahab <matthew.wahab@arm.com>
Fri, 11 Dec 2015 10:12:08 +0000 (10:12 +0000)
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

opcodes/ChangeLog
opcodes/aarch64-gen.c

index 35cdbcfdfd2636066093768040f434dc68221640..ace1392874af557f066036219e60bf3bfc37403c 100644 (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,
index 155ec85e93203cb55e538454e2b0c002fa064fb5..971bcc9d5e22e04046a72220300de83ff4d23548 100644 (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;
This page took 0.025441 seconds and 4 git commands to generate.