Re: [PATCH 4/5 V1] RISC-V:Implement testcases for Crypto extension

2022-03-01 Thread Kito Cheng via Gcc-patches
> > diff --git a/gcc/testsuite/gcc.target/riscv/zbkb64.c > > b/gcc/testsuite/gcc.target/riscv/zbkb64.c > > new file mode 100644 > > index 000..2cd76a29750 > > --- /dev/null > > +++ b/gcc/testsuite/gcc.target/riscv/zbkb64.c > > @@ -0,0 +1,21 @@ > > +/* { dg-do compile } */ > > +/* { dg-opti

Re: [PATCH 4/5 V1] RISC-V:Implement testcases for Crypto extension

2022-03-01 Thread Kito Cheng via Gcc-patches
Just one general review comment for this patch: - Add newline at end of this file to prevent "\ No newline at end of file" in the git commit log - I saw you've skip -g and -flto, I guess that because that cause fail since -g or -flto might add few more line to make the scan-assembler-times, I would

[PATCH 4/5 V1] RISC-V:Implement testcases for Crypto extension

2022-02-23 Thread shihua
From: LiaoShihua These testcases use intrinsics . gcc/testsuite/ChangeLog: * gcc.target/riscv/zbkb32.c: New test. * gcc.target/riscv/zbkb64.c: New test. * gcc.target/riscv/zbkc32.c: New test. * gcc.target/riscv/zbkc64.c: New test. * gcc.target/riscv/z