From: Alice Carlotti Date: Wed, 10 Dec 2025 21:17:24 +0000 (+0000) Subject: aarch64: Update parse_vector_reg_list comment X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4799a6af6a33437d6cd6ab2607abe369d2b40ae0;p=thirdparty%2Fbinutils-gdb.git 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 --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: - .[] - . - All should be identical. - All should be identical. - There are restrictions on 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,