[AArch64] Increase max_num_aliases in aarch64-gen
authorSzabolcs Nagy <szabolcs.nagy@arm.com>
Fri, 11 Nov 2016 10:22:56 +0000 (10:22 +0000)
committerSzabolcs Nagy <szabolcs.nagy@arm.com>
Fri, 11 Nov 2016 10:22:56 +0000 (10:22 +0000)
Some ARMv8.3 pointer authentication instructions are encoded as HINT aliases,
so to allow more instruction aliases in the generator, max_num_aliases is
increased from 16 to 32.

opcodes/
2016-11-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>

* aarch64-gen.c (find_alias_opcode): Increase max_num_aliases to 32.

opcodes/ChangeLog
opcodes/aarch64-gen.c

index 53f2a94efb36df1f3debe582de56aaa425922469..23242e0d2b7d7cdcf2abe2e40939432ae937f115 100644 (file)
@@ -1,3 +1,7 @@
+2016-11-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
+
+       * aarch64-gen.c (find_alias_opcode): Increase max_num_aliases to 32.
+
 2016-11-09  H.J. Lu  <hongjiu.lu@intel.com>
 
        PR binutils/20799
index a62f6c8e008af32e63ebd01292ec40ac1d459241..68b6e14afd212037b4dc04df6cea5a1c492e1918 100644 (file)
@@ -687,8 +687,8 @@ opcode_node *
 find_alias_opcode (const aarch64_opcode *opcode)
 {
   int i;
-  /* Assume maximum of 16 disassemble preference candidates.  */
-  const int max_num_aliases = 16;
+  /* Assume maximum of 32 disassemble preference candidates.  */
+  const int max_num_aliases = 32;
   const aarch64_opcode *ent;
   const aarch64_opcode *preferred[max_num_aliases + 1];
   opcode_node head, **next;
This page took 0.025229 seconds and 4 git commands to generate.