On 8/7/24 3:42 AM, Feng Wang wrote:
This patch add the vector rotate shift pattern for auto-vect.
With this patch, the scalar rotate shift can be automatically
vectorized into vector rotate shift.
signed-off-by: Feng Wang <wangf...@eswincomputing.com>
gcc/ChangeLog:
* config/riscv/autovec-opt.md (v<bitmanip_optab><mode>3):
Add define_expand for vector rotate shift.
I suspect pre-commit hooks will reject this ChangeLog entry as it has an
extraeneous tab on the "Add define_expand" line. Obviously the filename
will need adjustment per Juzhe's request to move this code into vector.md.
The lint phase of the pre-commit testing flagged a case where you've got
8 spaces instead of a tab in your new pattern. So you should fix that
as well.
OK for the trunk with those fixes. No need to wait for another
pre-commit testrun or approval.
Jeff