aarch64: Fix the hyphenated disassembly comment.

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.  */
This commit is contained in:
Srinath Parvathaneni
2024-05-21 14:59:03 +01:00
committed by srinath
parent f56e1c8c86
commit e63b1d5950

View File

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