gcc: xtensa: add XCHAL_HAVE_{CLAMPS,DEPBITS,EXCLUSIVE,XEA3} to dynconfig
authorMax Filippov <jcmvbkbc@gmail.com>
Mon, 27 Feb 2023 01:46:08 +0000 (17:46 -0800)
committerMax Filippov <jcmvbkbc@gmail.com>
Mon, 27 Feb 2023 12:03:33 +0000 (04:03 -0800)
commit999b7aab21ca96d58a1dc99f52a3c01cd8760c72
treecf39e261dec059fcc229d864c90d5a99b87396d6
parent16cfd803db832dffe718fd88df78b7b203d8c791
gcc: xtensa: add XCHAL_HAVE_{CLAMPS,DEPBITS,EXCLUSIVE,XEA3} to dynconfig

gcc/
* config/xtensa/xtensa-dynconfig.cc (xtensa_get_config_v2)
(xtensa_get_config_v3): New functions.

include/
* xtensa-dynconfig.h (xtensa_config_v3): New struct.
(xtensa_get_config_v3): New declaration.
(XCHAL_HAVE_CLAMPS, XCHAL_HAVE_DEPBITS, XCHAL_HAVE_EXCLUSIVE)
(XCHAL_HAVE_XEA3, XTENSA_CONFIG_V3_ENTRY_LIST): New definitions.
(XTENSA_CONFIG_INSTANCE_LIST): Add xtensa_config_v3 instance.
(XTENSA_CONFIG_ENTRY_LIST): Add XTENSA_CONFIG_V3_ENTRY_LIST.
gcc/config/xtensa/xtensa-dynconfig.cc
include/xtensa-dynconfig.h