[gcc r14-9349] RISC-V: Refactor expand_vec_cmp [NFC]

2024-03-06 Thread Demin Han via Gcc-cvs
https://gcc.gnu.org/g:1cd8254ebad7b73993d2acee80a7caf37c21878a commit r14-9349-g1cd8254ebad7b73993d2acee80a7caf37c21878a Author: demin.han Date: Mon Feb 26 14:50:15 2024 +0800 RISC-V: Refactor expand_vec_cmp [NFC] There are two expand_vec_cmp functions. They have same structur

[gcc r14-9380] RISC-V: Fix ICE in riscv vector costs

2024-03-07 Thread Demin Han via Gcc-cvs
https://gcc.gnu.org/g:42187c6968af9907de1f9b7563d87de739857684 commit r14-9380-g42187c6968af9907de1f9b7563d87de739857684 Author: demin.han Date: Wed Mar 6 17:34:34 2024 +0800 RISC-V: Fix ICE in riscv vector costs The following code can result in ICE: -march=rv64gcv --param ris

[gcc r14-9826] RISC-V: Minor fix for max_point

2024-04-07 Thread Demin Han via Gcc-cvs
https://gcc.gnu.org/g:aa2ab7b79a87c25d113752401a6026c6823dfe57 commit r14-9826-gaa2ab7b79a87c25d113752401a6026c6823dfe57 Author: demin.han Date: Mon Apr 1 16:20:46 2024 +0800 RISC-V: Minor fix for max_point The program points start from 1, so max_point should be equal to lengt

[gcc r15-47] RISC-V: Refine the condition for add additional vars in RVV cost model

2024-04-29 Thread Demin Han via Gcc-cvs
https://gcc.gnu.org/g:ca2f531cc5db4f1020d4329976610356033e0246 commit r15-47-gca2f531cc5db4f1020d4329976610356033e0246 Author: demin.han Date: Tue Mar 26 16:52:12 2024 +0800 RISC-V: Refine the condition for add additional vars in RVV cost model The adjacent_dr_p is sufficient and