Re: [pushed][PATCH v2] LoongArch: Support immediate_operand for vec_cmp

2024-12-26 Thread Lulu Cheng
Pushed to r15-6445. 在 2024/12/18 下午3:45, Jiahao Xu 写道: We can't vectorize the code into instructions like vslti.w that compare with immediate_operand, because we miss immediate_operand support for integer comparisons. gcc/ChangeLog: * config/loongarch/lasx.md (vec_cmp): Remove.

[PATCH v2] LoongArch: Support immediate_operand for vec_cmp

2024-12-17 Thread Jiahao Xu
We can't vectorize the code into instructions like vslti.w that compare with immediate_operand, because we miss immediate_operand support for integer comparisons. gcc/ChangeLog: * config/loongarch/lasx.md (vec_cmp): Remove. (vec_cmpu): Remove. * config/loongarch/loongarch.