]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
gcc: xtensa: fix salt/saltu version check
authorMax Filippov <jcmvbkbc@gmail.com>
Thu, 7 Sep 2023 03:13:22 +0000 (20:13 -0700)
committerMax Filippov <jcmvbkbc@gmail.com>
Sun, 29 Oct 2023 02:57:30 +0000 (19:57 -0700)
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).

gcc/config/xtensa/xtensa.h

index 5987681e5496cb13420f270f69bab16969c3c76e..49e6350001dac75a332c345affd0a0befdadc665 100644 (file)
@@ -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)