aboutsummaryrefslogtreecommitdiff
path: root/gcc/ipa-modref.c
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2021-11-12 17:33:02 +0000
committerRichard Sandiford <richard.sandiford@arm.com>2021-11-12 17:33:02 +0000
commita82ffd436193d97b0b47441f540e61001f16a682 (patch)
treefc39f70b5adab3a23610d73819195714abf1d875 /gcc/ipa-modref.c
parent1a5288fe3dcaa1eb5398ed28b0765f8dad9a1b2a (diff)
downloadgcc-a82ffd436193d97b0b47441f540e61001f16a682.zip
gcc-a82ffd436193d97b0b47441f540e61001f16a682.tar.gz
gcc-a82ffd436193d97b0b47441f540e61001f16a682.tar.bz2
aarch64: Move cycle estimation into aarch64_vec_op_count
This patch just moves the main cycle estimation routines into aarch64_vec_op_count. gcc/ * config/aarch64/aarch64.c (aarch64_vec_op_count::rename_cycles_per_iter): New function. (aarch64_vec_op_count::min_nonpred_cycles_per_iter): Likewise. (aarch64_vec_op_count::min_pred_cycles_per_iter): Likewise. (aarch64_vec_op_count::min_cycles_per_iter): Likewise. (aarch64_vec_op_count::dump): Move earlier in file. Dump the above properties too. (aarch64_estimate_min_cycles_per_iter): Delete. (adjust_body_cost): Use aarch64_vec_op_count::min_cycles_per_iter instead of aarch64_estimate_min_cycles_per_iter. Rely on the dump routine to print CPI estimates. (adjust_body_cost_sve): Likewise. Use the other functions above instead of doing the work inline.
Diffstat (limited to 'gcc/ipa-modref.c')
0 files changed, 0 insertions, 0 deletions