Re:[pushed] [PATCH] LoongArch: Implenment vec_init where N is a LSX vector mode

2024-01-08 Thread chenglulu
Pushed to r14-7022. 在 2024/1/5 下午3:38, Jiahao Xu 写道: This patch implenments more vec_init optabs that can handle two LSX vectors producing a LASX vector by concatenating them. When an lsx vector is concatenated with an LSX const_vector of zeroes, the vec_concatz pattern can be used effectively

[PATCH] LoongArch: Implenment vec_init where N is a LSX vector mode

2024-01-04 Thread Jiahao Xu
This patch implenments more vec_init optabs that can handle two LSX vectors producing a LASX vector by concatenating them. When an lsx vector is concatenated with an LSX const_vector of zeroes, the vec_concatz pattern can be used effectively. For example as below typedef short v8hi __attribute__