RE: [PATCH V2] RISC-V: Add ZVFHMIN block autovec testcase

2023-06-12 Thread Li, Pan2 via Gcc-patches
; jeffreya...@gmail.com Subject: Re: [PATCH V2] RISC-V: Add ZVFHMIN block autovec testcase LGTM too, thanks On Mon, Jun 12, 2023 at 5:46 PM Robin Dapp via Gcc-patches wrote: > > > +/* We can't enable FP16 NEG/PLUS/MINUS/MULT/DIV auto-vectorization > > +when -march="*zvfhmin*"

Re: [PATCH V2] RISC-V: Add ZVFHMIN block autovec testcase

2023-06-12 Thread Kito Cheng via Gcc-patches
LGTM too, thanks On Mon, Jun 12, 2023 at 5:46 PM Robin Dapp via Gcc-patches wrote: > > > +/* We can't enable FP16 NEG/PLUS/MINUS/MULT/DIV auto-vectorization when > > -march="*zvfhmin*". */ > > +/* { dg-final { scan-tree-dump-times "vectorized 1 loops in function" 0 > > "vect" } } */ > >

Re: [PATCH V2] RISC-V: Add ZVFHMIN block autovec testcase

2023-06-12 Thread Robin Dapp via Gcc-patches
> +/* We can't enable FP16 NEG/PLUS/MINUS/MULT/DIV auto-vectorization when > -march="*zvfhmin*". */ > +/* { dg-final { scan-tree-dump-times "vectorized 1 loops in function" 0 > "vect" } } */ Thanks. OK from my side. Regards Robin

[PATCH V2] RISC-V: Add ZVFHMIN block autovec testcase

2023-06-12 Thread juzhe . zhong
From: Juzhe-Zhong To be safe, add ZVFHMIN autovec block testcase to make sure we won't enable autovec in ZVFHMIN by mistakes. gcc/testsuite/ChangeLog: * gcc.target/riscv/rvv/autovec/zvfhmin-1.c: New test. --- .../gcc.target/riscv/rvv/autovec/zvfhmin-1.c | 35 +++ 1