From: Max Filippov Date: Thu, 7 Sep 2023 03:13:22 +0000 (-0700) Subject: gcc: xtensa: fix salt/saltu version check X-Git-Tag: basepoints/gcc-15~5147 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc7aca846ae524f36a350cd54cd31da22acd6805;p=thirdparty%2Fgcc.git gcc: xtensa: fix salt/saltu version check gcc/ * config/xtensa/xtensa.h (TARGET_SALT): Change HW version from 260000 (which corresponds to RF-2014.0) to 270000 (which corresponds to RG-2015.0, the release where salt/saltu opcodes were introduced). --- diff --git a/gcc/config/xtensa/xtensa.h b/gcc/config/xtensa/xtensa.h index 5987681e5496..49e6350001da 100644 --- a/gcc/config/xtensa/xtensa.h +++ b/gcc/config/xtensa/xtensa.h @@ -54,7 +54,7 @@ along with GCC; see the file COPYING3. If not see #define TARGET_WINDOWED_ABI xtensa_windowed_abi #define TARGET_DEBUG XCHAL_HAVE_DEBUG #define TARGET_L32R XCHAL_HAVE_L32R -#define TARGET_SALT (XTENSA_MARCH_EARLIEST >= 260000) +#define TARGET_SALT (XTENSA_MARCH_EARLIEST >= 270000) #define TARGET_DEFAULT (MASK_SERIALIZE_VOLATILE)