Re: [PATCH] LoongArch: Remove unused code and add sign/zero-extend for vpickve2gr.d

2024-04-02 Thread xujiahao
We recently discovered an issue with the sign/zero extension behavior of |[x]vpickve2gr.|The QI , HI and SI are extended to SI instead of DI, which may lead to the generation of additional sign extension instructions. We have decided to fix this issue in the next version. I will upload a new

[PATCH] LoongArch: Remove unused code and add sign/zero-extend for vpickve2gr.d

2024-03-22 Thread Jiahao Xu
For machines that satisfy ISA_HAS_LSX && !TARGET_64BIT, we will not support them now and in the future, so this patch removes these unused code. This patch also adds sign/zero-extend operations to vpickve2gr.d to match the actual instruction behavior, and integrates the template definition of