aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2016-06-14 20:19:48 +0100
committerRichard Sandiford <richard.sandiford@arm.com>2016-08-23 09:41:01 +0100
commit497e0d6d961208450dc018a4f5f722f60cc506d7 (patch)
treec7eb888a642de0ed21ead73df64335bac4f25918
parent5ec1d3198173c96fc2d1c578f1b3e7a44ebc60fe (diff)
downloadgdb-497e0d6d961208450dc018a4f5f722f60cc506d7.zip
gdb-497e0d6d961208450dc018a4f5f722f60cc506d7.tar.gz
gdb-497e0d6d961208450dc018a4f5f722f60cc506d7.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. Change-Id: I44a9128c2f912a95dec764b37f55a2c44808364e
-rw-r--r--gas/config/tc-aarch64.c4
1 files changed, 2 insertions, 2 deletions
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]. */