diff options
author | Richard Sandiford <richard.sandiford@arm.com> | 2016-09-21 16:48:34 +0100 |
---|---|---|
committer | Richard Sandiford <richard.sandiford@arm.com> | 2016-09-21 16:48:34 +0100 |
commit | 53021dd1a03ecde87239c999d70c5591a91f1385 (patch) | |
tree | bf6415bc8689848f987ce34533ad6b2810a5e4db /gas | |
parent | 8f9a77affe98e0892c46504712a1f0d8372ec765 (diff) | |
download | fsf-binutils-gdb-53021dd1a03ecde87239c999d70c5591a91f1385.zip fsf-binutils-gdb-53021dd1a03ecde87239c999d70c5591a91f1385.tar.gz fsf-binutils-gdb-53021dd1a03ecde87239c999d70c5591a91f1385.tar.bz2 |
[AArch64][SVE 05/32] Rename parse_neon_type_for_operand
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.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 6 | ||||
-rw-r--r-- | gas/config/tc-aarch64.c | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index c9e30a1..4780bf4 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,5 +1,11 @@ 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... (vector_type_el): ...this. (parse_neon_type_for_operand): Update accordingly. diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c index db30ab4..c425418 100644 --- a/gas/config/tc-aarch64.c +++ b/gas/config/tc-aarch64.c @@ -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]. */ |