diff options
author | Andre Vieira <andre.simoesdiasvieira@arm.com> | 2022-03-22 10:45:23 +0000 |
---|---|---|
committer | Andre Vieira <andre.simoesdiasvieira@arm.com> | 2022-03-22 11:59:21 +0000 |
commit | b074fa69707a891f07f06f0b1a95999447f66149 (patch) | |
tree | 7f603eaafc886f2f6883339b3562c54369d216fe /gcc/fold-const.cc | |
parent | a850930164ebbba2a6e18a39242cd0371b548407 (diff) | |
download | gcc-b074fa69707a891f07f06f0b1a95999447f66149.zip gcc-b074fa69707a891f07f06f0b1a95999447f66149.tar.gz gcc-b074fa69707a891f07f06f0b1a95999447f66149.tar.bz2 |
aarch64: Update reg-costs to differentiate between memmove costs
This patch introduces a struct to differentiate between different memmove costs
to enable a better modeling of memory operations. These have been modelled for
-mcpu/-mtune=neoverse-v1/neoverse-n1/neoverse-n2/neoverse-512tvb, for all other
tunings all entries are equal to the old single memmove cost to ensure the
behaviour remains the same.
2022-03-16 Tamar Christina <tamar.christina@arm.com>
Andre Vieira <andre.simoesdiasvieira@arm.com>
gcc/ChangeLog:
* config/aarch64/aarch64-protos.h (struct cpu_memmov_cost): New struct.
(struct tune_params): Change type of memmov_cost to use cpu_memmov_cost.
* config/aarch64/aarch64.cc (aarch64_memory_move_cost): Update all
tunings to use cpu_memmov_cost struct.
Diffstat (limited to 'gcc/fold-const.cc')
0 files changed, 0 insertions, 0 deletions