On Wed, 4 Oct 2023 at 18:38, Patrick O'Neill <patr...@rivosinc.com> wrote: > > Hi Joern, > > I'm seeing new failures introduced by this patch > (9464e72bcc9123b619215af8cfef491772a3ebd9). > > On rv64gcv: > FAIL: gcc.dg/pr90263.c scan-assembler memcpy
My testing didn't flag this because I used elf targets. The expected behaviour now is to use vector instructions for rvv. so we shouldn't expect memcpy to appear there. I think the rvv case is suitably covered by the new tests, so we just have to avoid the failure here. Does the attached patch work for you? > FAIL: gfortran.fortran-torture/execute/intrinsic_count.f90 execution, > -O2 -fomit-frame-pointer -finline-functions -funroll-loops There seems to be an issue with my test setup regarding fortran, I'll have to investigate.
diff --git a/gcc/testsuite/gcc.dg/pr90263.c b/gcc/testsuite/gcc.dg/pr90263.c index 3222a5331c1..09e0446f45c 100644 --- a/gcc/testsuite/gcc.dg/pr90263.c +++ b/gcc/testsuite/gcc.dg/pr90263.c @@ -9,4 +9,4 @@ int *f (int *p, int *q, long n) } /* { dg-final { scan-assembler "mempcpy" { target { i?86-*-* x86_64-*-* } } } } */ -/* { dg-final { scan-assembler "memcpy" { target { ! { i?86-*-* x86_64-*-* } } } } } */ +/* { dg-final { scan-assembler "memcpy" { target { ! { i?86-*-* x86_64-*-* riscv_v } } } } } */