Re: [PATCH] TEST: Fix dump FAIL for RVV

2023-10-09 Thread Richard Biener
On Sun, 8 Oct 2023, Juzhe-Zhong wrote: > gcc/testsuite/ChangeLog: OK > > * gcc.dg/vect/bb-slp-cond-1.c: Fix dump FAIL for RVV. > * gcc.dg/vect/pr57705.c: Ditto. > > --- > gcc/testsuite/gcc.dg/vect/bb-slp-cond-1.c | 4 ++-- > gcc/testsuite/gcc.dg/vect/pr57705.c | 4 ++-- > 2

Re: [PATCH] TEST: Fix dump FAIL for RVV (RISCV-V vector)

2023-10-09 Thread Richard Biener
On Sun, 8 Oct 2023, Juzhe-Zhong wrote: > As this showed: https://godbolt.org/z/3K9oK7fx3 > > ARM SVE 2 times for FOLD_EXTRACT_LAST wheras RVV 4 times. > > This is because RISC-V doesn't enable vec_pack_trunc so we will failed > conversion and fold_extract_last at the first time analysis. > Then

[PATCH] TEST: Fix dump FAIL for RVV

2023-10-08 Thread Juzhe-Zhong
gcc/testsuite/ChangeLog: * gcc.dg/vect/bb-slp-cond-1.c: Fix dump FAIL for RVV. * gcc.dg/vect/pr57705.c: Ditto. --- gcc/testsuite/gcc.dg/vect/bb-slp-cond-1.c | 4 ++-- gcc/testsuite/gcc.dg/vect/pr57705.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git

[PATCH] TEST: Fix dump FAIL for RVV (RISCV-V vector)

2023-10-08 Thread Juzhe-Zhong
As this showed: https://godbolt.org/z/3K9oK7fx3 ARM SVE 2 times for FOLD_EXTRACT_LAST wheras RVV 4 times. This is because RISC-V doesn't enable vec_pack_trunc so we will failed conversion and fold_extract_last at the first time analysis. Then we succeed at the second time. So RVV has 4 times of