[COMMITTED] gcc: xtensa: fix salt/saltu version check

Message ID 20231029025855.1160018-1-jcmvbkbc@gmail.com
State Unresolved
Headers
Series [COMMITTED] gcc: xtensa: fix salt/saltu version check |

Checks

Context Check Description
snail/gcc-patch-check warning Git am fail log

Commit Message

Max Filippov Oct. 29, 2023, 2:58 a.m. UTC
  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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Patch

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)