Re: [PATCH v4 1/8] Introduce TARGET_CLONES_ATTR_SEPARATOR for RISC-V

2024-11-04 Thread Jeff Law
On 11/1/24 2:58 PM, Yangyu Chen wrote: Some architectures may use ',' in the attribute string, but it is not used as the separator for different targets. To avoid conflict, we introduce a new macro TARGET_CLONES_ATTR_SEPARATOR to separate different clones. As an example, according to RISC-V C

[PATCH v4 1/8] Introduce TARGET_CLONES_ATTR_SEPARATOR for RISC-V

2024-11-01 Thread Yangyu Chen
Some architectures may use ',' in the attribute string, but it is not used as the separator for different targets. To avoid conflict, we introduce a new macro TARGET_CLONES_ATTR_SEPARATOR to separate different clones. As an example, according to RISC-V C-API Specification [1], RISC-V allows ',' in