Oh, I see. Kito has add /* { dg-do run { target { riscv_vector } } } */ But not all RVV tests has use this and I not sure whether it can work. I think Kito can answer it. If yes, I think we should add all of them. Thanks. juzhe.zhong@rivai.ai From: Andrew Pinski Date: 2023-05-17 10:02 To: juzhe.zhong@rivai.ai CC: gcc-patches; palmer; Kito.cheng Subject: Re: RISC-V Test Errors and Failures On Tue, May 16, 2023 at 6:58 PM juzhe.zhong@rivai.ai wrote: > > Hi, Palmer. > I saw your patch showed there are a lot of run time fail (execution fail) of C++. > bug-*.C > > These tests are RVV api intrinsics tests coming from Kito's that I have already fixed all of them. > I just double checked again they all passed. > I think it may be your regression environment does not set up simulator (QEMU or SPIKE or GEM5) correctly. > For example, did not enable vector extension in simulator, I don't you may try. So on x86_64, we test to see if you have the right vector unit before running those tests? The same thing was true on powerpc (and I think aarch64 does the same for SVE now too). The reason why I am asking is that I would need to run the testsuite using the simulator as setup for the RISCV ISA I am using rather than the one with everything on. So does the RVV runtime testsuite tests to see if you can run RVV before running them (or running them and return they passed)? Thanks, Andrew Pinski > > Thanks. > > > juzhe.zhong@rivai.ai