diff options
author | Richard Sandiford <richard.sandiford@arm.com> | 2016-09-21 16:48:16 +0100 |
---|---|---|
committer | Richard Sandiford <richard.sandiford@arm.com> | 2016-09-21 16:48:16 +0100 |
commit | f06935a5c1ef4c978a995361241974917a4ab363 (patch) | |
tree | 08fb9b2a08fb501c1b10632f636468dff8b7b8eb /gas | |
parent | bd11d5d83775e6d05c8e49f2233fb1cf883ff5b4 (diff) | |
download | fsf-binutils-gdb-f06935a5c1ef4c978a995361241974917a4ab363.zip fsf-binutils-gdb-f06935a5c1ef4c978a995361241974917a4ab363.tar.gz fsf-binutils-gdb-f06935a5c1ef4c978a995361241974917a4ab363.tar.bz2 |
[AArch64][SVE 03/32] Rename neon_el_type to vector_el_type
Later patches will add SVEisms to neon_el_type, so this patch renames
it to something more generic.
gas/
* config/tc-aarch64.c (neon_el_type: Rename to...
(vector_el_type): ...this.
(neon_type_el): Update accordingly.
(parse_neon_type_for_operand): Likewise.
(vectype_to_qualifier): Likewise.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 8 | ||||
-rw-r--r-- | gas/config/tc-aarch64.c | 8 |
2 files changed, 12 insertions, 4 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 0f68aba..b66490f 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,5 +1,13 @@ 2016-09-21 Richard Sandiford <richard.sandiford@arm.com> + * config/tc-aarch64.c (neon_el_type: Rename to... + (vector_el_type): ...this. + (neon_type_el): Update accordingly. + (parse_neon_type_for_operand): Likewise. + (vectype_to_qualifier): Likewise. + +2016-09-21 Richard Sandiford <richard.sandiford@arm.com> + * config/tc-aarch64.c (parse_neon_operand_type): Delete. (parse_typed_reg): Call parse_neon_type_for_operand directly. diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c index ce8e713..de1a74d 100644 --- a/gas/config/tc-aarch64.c +++ b/gas/config/tc-aarch64.c @@ -76,7 +76,7 @@ static enum aarch64_abi_type aarch64_abi = AARCH64_ABI_LP64; #define ilp32_p (aarch64_abi == AARCH64_ABI_ILP32) #endif -enum neon_el_type +enum vector_el_type { NT_invtype = -1, NT_b, @@ -92,7 +92,7 @@ enum neon_el_type struct neon_type_el { - enum neon_el_type type; + enum vector_el_type type; unsigned char defined; unsigned width; int64_t index; @@ -752,7 +752,7 @@ parse_neon_type_for_operand (struct neon_type_el *parsed_type, char **str) char *ptr = *str; unsigned width; unsigned element_size; - enum neon_el_type type; + enum vector_el_type type; /* skip '.' */ ptr++; @@ -4637,7 +4637,7 @@ opcode_lookup (char **str) static inline aarch64_opnd_qualifier_t vectype_to_qualifier (const struct neon_type_el *vectype) { - /* Element size in bytes indexed by neon_el_type. */ + /* Element size in bytes indexed by vector_el_type. */ const unsigned char ele_size[5] = {1, 2, 4, 8, 16}; const unsigned int ele_base [5] = |