]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
aarch64: Fix the hyphenated disassembly comment.
authorSrinath Parvathaneni <srinath.parvathaneni@arm.com>
Tue, 21 May 2024 13:59:03 +0000 (14:59 +0100)
committersrinath <srinath.parvathaneni@arm.com>
Tue, 21 May 2024 13:59:10 +0000 (14:59 +0100)
This patch fixes the following comment.

-  /* The hyphenated form is preferred for disassembly if there are
-     more than two registers in the list, and the register numbers
      are monotonically increasing in increments of one.  */

+  /* The hyphenated form is preferred for disassembly if there is
+     more than one register in the list, and the register numbers
      are monotonically increasing in increments of one.  */

opcodes/aarch64-opc.c

index 4a7a6ae784b415967a31870bcce8bf07c65f90ee..032ab17e25074a4f1465e150d718f6fadebc0337 100644 (file)
@@ -3700,8 +3700,8 @@ print_register_list (char *buf, size_t size, const aarch64_opnd_info *opnd,
   else
     tb[0] = '\0';
 
-  /* The hyphenated form is preferred for disassembly if there are
-     more than two registers in the list, and the register numbers
+  /* The hyphenated form is preferred for disassembly if there is
+     more than one register in the list, and the register numbers
      are monotonically increasing in increments of one.  */
   if (stride == 1 && num_regs > 1
       && ((opnd->type != AARCH64_OPND_SME_Zt2)