Re: Re: [PATCH] RISC-V: Optimization of vrgather.vv into vrgatherei16.vv[PR111451]

2023-09-21 Thread juzhe.zh...@rivai.ai
o.cheng; palmer; Li Xu Subject: Re: [PATCH] RISC-V: Optimization of vrgather.vv into vrgatherei16.vv[PR111451] + unsigned int data_sew = get_sew (data_mode); + enum vlmul_type data_lmul = get_vlmul (data_mode); Remove this. + else if (CONST_VECTOR_P (sel) && data_sew != 16 +

Re: [PATCH] RISC-V: Optimization of vrgather.vv into vrgatherei16.vv[PR111451]

2023-09-21 Thread juzhe.zh...@rivai.ai
+ unsigned int data_sew = get_sew (data_mode); + enum vlmul_type data_lmul = get_vlmul (data_mode); Remove this. + else if (CONST_VECTOR_P (sel) && data_sew != 16 + && data_sew != 8 && (data_lmul == LMUL_2 + || data_lmul == LMUL_4 || data_lmul == LMUL_8)) change it into: