答复: [PATCH] RISC-V: The 'multilib-generator' enhancement.

2021-09-27 Thread gengqi via Gcc-patches
Sorry, I sent the wrong one. -邮件原件- 发件人: Geng Qi [mailto:gen...@linux.alibaba.com] 发送时间: 2021年9月27日 19:25 收件人: gcc-patches@gcc.gnu.org; cooper...@linux.alibaba.com 抄送: gengqi 主题: [PATCH] RISC-V: The 'multilib-generator' enhancement. From: gengqi gcc/ChangeLog: * co

[PATCH] RISC-V: The 'multilib-generator' enhancement.

2021-09-27 Thread Geng Qi via Gcc-patches
From: gengqi gcc/ChangeLog: * config/riscv/arch-canonicalize (longext_sort): New function for sorting 'multi-letter'. * config/riscv/multilib-generator: Skip to next loop when current 'alt' is 'arch'. The 'arch' may not be the first of 'alts'. (_expand_comb

Re: [PATCH] RISC-V: The 'multilib-generator' enhancement.

2021-01-18 Thread Kito Cheng via Gcc-patches
Hi Geng Qi: Thanks for your patch, committed! On Mon, Jan 18, 2021 at 3:01 PM Geng Qi via Gcc-patches wrote: > > From: gengqi > > Think about this case: > ./multilib-generator rv32imc-ilp32-rv32imac,rv32imacxthead-f > Here are 2 problems: > 1. A unexpected 'xtheadf' extension was made. >

[PATCH] RISC-V: The 'multilib-generator' enhancement.

2021-01-17 Thread Geng Qi via Gcc-patches
From: gengqi Think about this case: ./multilib-generator rv32imc-ilp32-rv32imac,rv32imacxthead-f Here are 2 problems: 1. A unexpected 'xtheadf' extension was made. 2. The arch 'rv32imac' was not be created. This modification fix these two, and also sorts 'multi-letter'. gcc/ChangeLog:

[PATCH] RISC-V: The 'multilib-generator' enhancement.

2021-01-17 Thread Geng Qi via Gcc-patches
From: gengqi gcc/ChangeLog: * config/riscv/arch-canonicalize (longext_sort): New function for sorting 'multi-letter'. * config/riscv/multilib-generator: Adjusting the loop of 'alt' in 'alts'. The 'arch' may not be the first of 'alts'. (_expand_combination):