Hey, This patch series introduces some changes to the tuning model of Neoverse V3 that leads to improvement in execution time while using the compiler options '-Ofast -mcpu=neoverse-v3' on Neoverse V3 cores. The changes are broadly about
1. Increasing SVE comparison costs. 2. Decreasing register move costs. This patch series by itself leads to an increase in dynamic instruction count in some parts of SPEC 2026 731.astcenc_r benchmark which leads to a slight regression in execution time of that benchmark. This regression is fixed in another patch https://gcc.gnu.org/pipermail/gcc-patches/2026-October/735677.html and other than that there are no performance regressions in SPEC 2017 and SPEC 2026 benchmarks. Ok for master? Many thanks, Saurabh Saurabh Jha (3): aarch64: Add two new fields to the tuning models for vector comparisons aarch64: Change SVE2 comparison costs for Neoverse V3 aarch64: Change register move costs for Neoverse V3 gcc/config/aarch64/aarch64-protos.h | 12 ++++++++++++ gcc/config/aarch64/aarch64.cc | 13 +++++++++---- gcc/config/aarch64/tuning_models/cortexx925.h | 2 ++ gcc/config/aarch64/tuning_models/generic_armv9_a.h | 2 ++ gcc/config/aarch64/tuning_models/hip12.h | 2 ++ gcc/config/aarch64/tuning_models/neoverse512tvb.h | 2 ++ gcc/config/aarch64/tuning_models/neoversen2.h | 2 ++ gcc/config/aarch64/tuning_models/neoversen3.h | 2 ++ gcc/config/aarch64/tuning_models/neoversev1.h | 2 ++ gcc/config/aarch64/tuning_models/neoversev2.h | 2 ++ gcc/config/aarch64/tuning_models/neoversev3.h | 14 +++----------- gcc/config/aarch64/tuning_models/neoversev3ae.h | 2 ++ gcc/config/aarch64/tuning_models/olympus.h | 2 ++ 13 files changed, 44 insertions(+), 15 deletions(-) -- 2.34.1 --- This is a forge pull request published on the gcc-patches mailing list mailing list as requested by Saurabh Jha via Sourceware Forge <[email protected]>. Forge discussion: https://forge.sourceware.org/gcc/gcc/pulls/264 Get it locally using: ``` git fetch forge-upstream "+refs/versioned_pull/264/*:refs/versioned_pull/264/*" git switch -c "pr-264-v1" "refs/versioned_pull/264/1/head" ``` Or, download the patch at: https://forge.sourceware.org/gcc/gcc/pulls/264.diff Created on: 2026-10-30 13:05:39+00:00 Latest update: 2026-10-30 13:10:03+00:00 Changes: 13 changed files, 44 additions, 15 deletions Head revision: saurabh.jha/gcc-TEST ref neoverse-v3-tuning commit 6932bd8ae3877e33a3048c49648086a0e5e9b25d Base revision: gcc/gcc ref trunk commit 086ec4412de833db482c8f5eea1540b4a28e568f r17-5756-g086ec4412de833 Merge base: 086ec4412de833db482c8f5eea1540b4a28e568f Requested Reviewers: Changed files: - M: gcc/config/aarch64/aarch64-protos.h - M: gcc/config/aarch64/aarch64.cc - M: gcc/config/aarch64/tuning_models/cortexx925.h - M: gcc/config/aarch64/tuning_models/generic_armv9_a.h - M: gcc/config/aarch64/tuning_models/hip12.h - M: gcc/config/aarch64/tuning_models/neoverse512tvb.h - M: gcc/config/aarch64/tuning_models/neoversen2.h - M: gcc/config/aarch64/tuning_models/neoversen3.h - M: gcc/config/aarch64/tuning_models/neoversev1.h - M: gcc/config/aarch64/tuning_models/neoversev2.h - M: gcc/config/aarch64/tuning_models/neoversev3.h - M: gcc/config/aarch64/tuning_models/neoversev3ae.h - M: gcc/config/aarch64/tuning_models/olympus.h Saurabh Jha (3): aarch64: Add two new fields to the tuning models for vector comparisons aarch64: Change SVE2 comparison costs for Neoverse V3 aarch64: Change register move costs for Neoverse V3 gcc/config/aarch64/aarch64-protos.h | 12 ++++++++++++ gcc/config/aarch64/aarch64.cc | 13 +++++++++---- gcc/config/aarch64/tuning_models/cortexx925.h | 2 ++ gcc/config/aarch64/tuning_models/generic_armv9_a.h | 2 ++ gcc/config/aarch64/tuning_models/hip12.h | 2 ++ gcc/config/aarch64/tuning_models/neoverse512tvb.h | 2 ++ gcc/config/aarch64/tuning_models/neoversen2.h | 2 ++ gcc/config/aarch64/tuning_models/neoversen3.h | 2 ++ gcc/config/aarch64/tuning_models/neoversev1.h | 2 ++ gcc/config/aarch64/tuning_models/neoversev2.h | 2 ++ gcc/config/aarch64/tuning_models/neoversev3.h | 14 +++----------- gcc/config/aarch64/tuning_models/neoversev3ae.h | 2 ++ gcc/config/aarch64/tuning_models/olympus.h | 2 ++ 13 files changed, 44 insertions(+), 15 deletions(-) -- 2.56.0
