On 8/11/25 7:39 PM, pan2...@intel.com wrote:
From: Pan Li <pan2...@intel.com>

This patch would like to introduce the combine of vec_dup + vmerge.vvm
into vmerge.vxm 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.

From:
  |   ...
  |   vmv.v.x
  | L1:
  |   vaadd.vv
  |   J L1
  |   ...

To:
  |   ...
  | L1:
  |   vmerge.vxm
  |   J L1
  |   ...

The below test suites are passed for this patch series.
* The rv64gcv fully regression test.

Pan Li (2):
   RISC-V: Combine vec_duplicate + vmerge.vv to vmerge.vx on GR2VR cost
   RISC-V: RISC-V: Add test for vec_duplicate + vmerge.vvm combine with GR2VR 
cost 0, 1 and 15
This series is OK.

Thanks,
Jeff

Reply via email to