]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
[AArch64][SVE 05/32] Rename parse_neon_type_for_operand
authorRichard Sandiford <richard.sandiford@arm.com>
Wed, 21 Sep 2016 15:48:34 +0000 (16:48 +0100)
committerRichard Sandiford <richard.sandiford@arm.com>
Wed, 21 Sep 2016 15:48:34 +0000 (16:48 +0100)
Generalise the name of parse_neon_type_for_operand to
parse_vector_type_for_operand.  Later patches will add SVEisms to it.

gas/
* config/tc-aarch64.c (parse_neon_type_for_operand): Rename to...
(parse_vector_type_for_operand): ...this.
(parse_typed_reg): Update accordingly.

gas/ChangeLog
gas/config/tc-aarch64.c

index c9e30a1584ddafa2fea062373148be913dd8517a..4780bf4f2f14fc8302fb33fd7377a60518fa162e 100644 (file)
@@ -1,3 +1,9 @@
+2016-09-21  Richard Sandiford  <richard.sandiford@arm.com>
+
+       * config/tc-aarch64.c (parse_neon_type_for_operand): Rename to...
+       (parse_vector_type_for_operand): ...this.
+       (parse_typed_reg): Update accordingly.
+
 2016-09-21  Richard Sandiford  <richard.sandiford@arm.com>
 
        * config/tc-aarch64.c (neon_type_el): Rename to...
index db30ab4932129c916d48c8ac58e9a185c7b27937..c425418a48d8f1617347a051130b1a14b06505e9 100644 (file)
@@ -747,7 +747,7 @@ aarch64_reg_parse_32_64 (char **ccp, int reject_sp, int reject_rz,
    8b 16b 2h 4h 8h 2s 4s 1d 2d
    b h s d q  */
 static bfd_boolean
-parse_neon_type_for_operand (struct vector_type_el *parsed_type, char **str)
+parse_vector_type_for_operand (struct vector_type_el *parsed_type, char **str)
 {
   char *ptr = *str;
   unsigned width;
@@ -866,7 +866,7 @@ parse_typed_reg (char **ccp, aarch64_reg_type type, aarch64_reg_type *rtype,
 
   if (type == REG_TYPE_VN && *str == '.')
     {
-      if (!parse_neon_type_for_operand (&parsetype, &str))
+      if (!parse_vector_type_for_operand (&parsetype, &str))
        return PARSE_FAIL;
 
       /* Register if of the form Vn.[bhsdq].  */