Re: [PATCH v1 0/3] RISC-V: Combine vec_duplicate + vmin.vv to vmin.vx on GR2VR cost

2025-06-16 Thread Kito Cheng
LGTM On Tue, Jun 17, 2025 at 10:14 AM wrote: > > From: Pan Li > > This patch would like to introduce the combine of vec_dup + vmin.vv > into vmin.vx on the cost value of GR2VR. The late-combine will take > place if the cost of GR2VR is zero, or reject the combine if non-zero > like 1, 2, 15 in

[PATCH v1 0/3] RISC-V: Combine vec_duplicate + vmin.vv to vmin.vx on GR2VR cost

2025-06-16 Thread pan2 . li
From: Pan Li This patch would like to introduce the combine of vec_dup + vmin.vv into vmin.vx on the cost value of GR2VR. The late-combine will take place if the cost of GR2VR is zero, or reject the combine if non-zero like 1, 2, 15 in test. There will be two cases for the combine: Case 0: |