Committed to trunk. Pan
-----Original Message----- From: Gcc-patches <gcc-patches-bounces+pan2.li=intel....@gcc.gnu.org> On Behalf Of Kito Cheng via Gcc-patches Sent: Friday, May 12, 2023 2:32 PM To: juzhe.zh...@rivai.ai Cc: gcc-patches@gcc.gnu.org; pal...@dabbelt.com; jeffreya...@gmail.com; rdapp....@gmail.com Subject: Re: [PATCH] RISC-V: Fix fail of vmv-imm-rv64.c in rv32 ok On Fri, May 12, 2023 at 11:11 AM <juzhe.zh...@rivai.ai> wrote: > > From: Juzhe-Zhong <juzhe.zh...@rivai.ai> > > After update local codebase to the trunk. I realize there is one more fail in > RV32. > After this patch, all fails of RVV are cleaned up. > Thanks. > > FAIL: gcc.target/riscv/rvv/autovec/vmv-imm-rv64.c -O3 -ftree-vectorize > (test for excess errors) Excess errors: > cc1: error: ABI requires '-march=rv32' > > gcc/testsuite/ChangeLog: > > * gcc.target/riscv/rvv/autovec/vmv-imm-rv64.c: Add ABI > > --- > gcc/testsuite/gcc.target/riscv/rvv/autovec/vmv-imm-rv64.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vmv-imm-rv64.c > b/gcc/testsuite/gcc.target/riscv/rvv/autovec/vmv-imm-rv64.c > index 520321e1c73..e386166f95e 100644 > --- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vmv-imm-rv64.c > +++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/vmv-imm-rv64.c > @@ -1,5 +1,5 @@ > /* { dg-do compile } */ > -/* { dg-additional-options "-std=c99 -march=rv64gcv > -fno-vect-cost-model --param=riscv-autovec-preference=scalable > -fno-builtin" } */ > +/* { dg-additional-options "-std=c99 -march=rv64gcv -mabi=lp64d > +-fno-vect-cost-model --param=riscv-autovec-preference=scalable > +-fno-builtin" } */ > > #include "vmv-imm-template.h" > > -- > 2.36.1 >