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
mer; juzhe.zhong; xuli Subject: [PATCH] RISC-V: Optimization of vrgather.vv into vrgatherei16.vv[PR111451] From: xuli Consider this following case: typedef int32_t vnx32si __attribute__ ((vector_size (128))); __attribute__ ((noipa)) void permute_##TYPE (TYPE

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

2023-09-21 Thread Li Xu
From: xuli Consider this following case: typedef int32_t vnx32si __attribute__ ((vector_size (128))); __attribute__ ((noipa)) void permute_##TYPE (TYPE values1, TYPE values2, \ TYPE *out) \ {