Re: [pushed][PATCH] Loongarch: Remove vec_concatz pattern

2024-01-24 Thread chenglulu
Pushed to r14-8414. 在 2024/1/24 下午5:19, Jiahao Xu 写道: It is incorrect to use vld/vori to implement the vec_concatz because when the LSX instruction is used to update the value of the vector register, the upper 128 bits of the vector register will not be zeroed. gcc/ChangeLog: * confi

Re: [PATCH] Loongarch: Remove vec_concatz pattern

2024-01-24 Thread Jiahao Xu
在 2024/1/25 下午3:46, chenglulu 写道: Jiahao:  Note that the LoongArch 'a' in the title needs to be capitalized.  I modified this patch and incorporated it first. Thanks, I'll pay attention next time. 在 2024/1/24 下午5:19, Jiahao Xu 写道: It is incorrect to use vld/vori to implement the vec_conca

Re: [PATCH] Loongarch: Remove vec_concatz pattern

2024-01-24 Thread chenglulu
Jiahao:  Note that the LoongArch 'a' in the title needs to be capitalized.  I modified this patch and incorporated it first. 在 2024/1/24 下午5:19, Jiahao Xu 写道: It is incorrect to use vld/vori to implement the vec_concatz because when the LSX instruction is used to update the value of the vect

[PATCH] Loongarch: Remove vec_concatz pattern

2024-01-24 Thread Jiahao Xu
It is incorrect to use vld/vori to implement the vec_concatz because when the LSX instruction is used to update the value of the vector register, the upper 128 bits of the vector register will not be zeroed. gcc/ChangeLog: * config/loongarch/lasx.md (@vec_concatz): Remove this define_i