On 5/18/2026 7:29 AM, Robin Dapp wrote:
> Hi,
>
> When first introducing the cbranch_any/_all patterns I messed up the all
> pattern.  After giving it more thought, I removed the patterns entirely.
> Our current early-break handling via autovec-opt.md is not ideal but
> similar to what the patterns would give us, so no need for confusion.
> The situation will improve anyway once the no-scalar-epilogue early-break
> patches land.
>
> While at it, I tried unifying the int and float comparison emitter
> functions.  The latter now also has "mask" capabilities.
>
> Regtested on rv64gcv_zvl512b.  Waiting for the CI.
>
> Regards
>   Robin
>
> gcc/ChangeLog:
>
>       * config/riscv/autovec.md (<cbranch_optab><mode>): Remove.
>       * config/riscv/riscv-protos.h (expand_vec_cmp_float): Add mask
>       and else arguments.
>       * config/riscv/riscv-v.cc (expand_vec_cmp): Add mask and else
>       arguments.
>       (expand_vec_cmp_float): Ditto.
>       * config/riscv/vector-iterators.md: Remove iterators.
>
> gcc/testsuite/ChangeLog:
>
>       * gcc.target/riscv/rvv/autovec/early-break-5.c: Remove redundant
>       comments.
OK
jeff

Reply via email to