aboutsummaryrefslogtreecommitdiff
path: root/gcc/lra-constraints.c
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2021-03-26 16:08:34 +0000
committerRichard Sandiford <richard.sandiford@arm.com>2021-03-26 16:08:34 +0000
commit50a525b50c912999073a78220c6d62d87946b579 (patch)
treeda70151cbc3ee60d3f03784bdd16eace20626a9a /gcc/lra-constraints.c
parent14bd21c2c576d6f4b9bd403f543502cff40f54fc (diff)
downloadgcc-50a525b50c912999073a78220c6d62d87946b579.zip
gcc-50a525b50c912999073a78220c6d62d87946b579.tar.gz
gcc-50a525b50c912999073a78220c6d62d87946b579.tar.bz2
aarch64: Use an aarch64-specific structure for vector costing
This patch makes the AArch64 vector code use its own vector costs structure, rather than just using the default unsigned[3]. Unfortunately, it's not easy to make this change specific to use_new_vector_costs, so this part is one that affects all CPUs. The change is relatively mechanical though. gcc/ * config/aarch64/aarch64.c (aarch64_vector_costs): New structure. (aarch64_init_cost): New function. (aarch64_add_stmt_cost): Use aarch64_vector_costs instead of the default unsigned[3]. (aarch64_finish_cost, aarch64_destroy_cost_data): New functions. (TARGET_VECTORIZE_INIT_COST): Override. (TARGET_VECTORIZE_FINISH_COST): Likewise. (TARGET_VECTORIZE_DESTROY_COST_DATA): Likewise.
Diffstat (limited to 'gcc/lra-constraints.c')
0 files changed, 0 insertions, 0 deletions