diff options
author | Richard Sandiford <richard.sandiford@arm.com> | 2021-08-03 13:00:45 +0100 |
---|---|---|
committer | Richard Sandiford <richard.sandiford@arm.com> | 2021-08-03 13:00:45 +0100 |
commit | 78770e0e5d9fef70679e1db4eb2fb06596fbb2f8 (patch) | |
tree | 3ec61a5010e46ce53296a6c27a57de74492971a0 /gcc/doc/invoke.texi | |
parent | b585f0112f293ace8fadc0c7ace59230140b7472 (diff) | |
download | gcc-78770e0e5d9fef70679e1db4eb2fb06596fbb2f8.zip gcc-78770e0e5d9fef70679e1db4eb2fb06596fbb2f8.tar.gz gcc-78770e0e5d9fef70679e1db4eb2fb06596fbb2f8.tar.bz2 |
aarch64: Add gather_load_xNN_cost tuning fields
This patch adds tuning fields for the total cost of a gather load
instruction. Until now, we've costed them as one scalar load
per element instead. Those scalar_load-based values are also
what the patch uses to fill in the new fields for existing
cost structures.
gcc/
* config/aarch64/aarch64-protos.h (sve_vec_cost):
Add gather_load_x32_cost and gather_load_x64_cost.
* config/aarch64/aarch64.c (generic_sve_vector_cost)
(a64fx_sve_vector_cost, neoversev1_sve_vector_cost): Update
accordingly, using the values given by the scalar_load * number
of elements calculation that we used previously.
(aarch64_detect_vector_stmt_subtype): Use the new fields.
Diffstat (limited to 'gcc/doc/invoke.texi')
0 files changed, 0 insertions, 0 deletions