From: Kyrylo Tkachov Date: Fri, 12 Mar 2021 13:18:00 +0000 (+0000) Subject: aarch64: Set AARCH64_EXTRA_TUNE_PREFER_ADVSIMD_AUTOVEC for Neoverse N2 X-Git-Tag: releases/gcc-10.3.0~226 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b2b194695f08cb04d8c5602f0cc32311155242fa;p=thirdparty%2Fgcc.git aarch64: Set AARCH64_EXTRA_TUNE_PREFER_ADVSIMD_AUTOVEC for Neoverse N2 This patch tweaks the Neoverse N2 tuning on the GCC 10 branch to have it in line with GCC 8 and 9 to prefer AdvancedSIMD over SVE for auto-vectorisation. gcc/ChangeLog: * config/aarch64/aarch64.c (neoversen2_tunings): Set AARCH64_EXTRA_TUNE_PREFER_ADVSIMD_AUTOVEC tune_flags. --- diff --git a/gcc/config/aarch64/aarch64.c b/gcc/config/aarch64/aarch64.c index 775f79d88ff8..5bd5c458ae04 100644 --- a/gcc/config/aarch64/aarch64.c +++ b/gcc/config/aarch64/aarch64.c @@ -1430,7 +1430,7 @@ static const struct tune_params neoversen2_tunings = 2, /* min_div_recip_mul_df. */ 0, /* max_case_values. */ tune_params::AUTOPREFETCHER_WEAK, /* autoprefetcher_model. */ - (AARCH64_EXTRA_TUNE_NONE), /* tune_flags. */ + (AARCH64_EXTRA_TUNE_PREFER_ADVSIMD_AUTOVEC), /* tune_flags. */ &generic_prefetch_tune };