[binutils-gdb] aarch64: Update parse_vector_reg_list comment
Alice Carlotti
acarlotti@sourceware.org
Thu Dec 11 15:04:49 GMT 2025
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=4799a6af6a33437d6cd6ab2607abe369d2b40ae0
commit 4799a6af6a33437d6cd6ab2607abe369d2b40ae0
Author: Alice Carlotti <alice.carlotti@arm.com>
Date: Wed Dec 10 21:17:24 2025 +0000
aarch64: Update parse_vector_reg_list comment
The information about indexes was wrong. I've also adjusted the
formatting and improved other parts of the comment.
Diff:
---
gas/config/tc-aarch64.c | 22 +++++++++-------------
1 file changed, 9 insertions(+), 13 deletions(-)
diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c
index 42a04c58ddb..29de5ee9994 100644
--- a/gas/config/tc-aarch64.c
+++ b/gas/config/tc-aarch64.c
@@ -1389,19 +1389,15 @@ reg_type_mask (aarch64_reg_type reg_type)
It returns PARSE_FAIL if the register list is invalid.
- If HAS_QUALIFIER is true, the registers in the list must have qualifiers
- or the list is invalid.
- If HAS_QUALIFIER is false, the registers in the list must not have
- qualifiers or the list is invalid.
-
- The list contains one to four registers.
- Each register can be one of:
- <Vt>.<T>[<index>]
- <Vt>.<T>
- All <T> should be identical.
- All <index> should be identical.
- There are restrictions on <Vt> numbers which are checked later
- (by reg_list_valid_p). */
+ If HAS_QUALIFIER is true, the registers must have type suffixes.
+ Otherwise, the registers must not have type suffixes.
+
+ If the register list contains typed SIMD registers without an element count
+ (e.g. "v0.h"), then the register list must be indexed.
+
+ The list must contain one to four registers, and all type suffixes must be
+ identical. Restrictions on register numbers are checked later (by
+ reg_list_valid_p). */
static int
parse_vector_reg_list (char **ccp, aarch64_reg_type type,
More information about the Binutils-cvs
mailing list