Address comment:
https://gcc.gnu.org/pipermail/gcc-patches/2023-August/628546.html 

Thanks.


juzhe.zh...@rivai.ai
 
From: Kito Cheng
Date: 2023-08-28 11:48
To: Juzhe-Zhong
CC: gcc-patches; lehua.ding; kito.cheng
Subject: Re: [PATCH] RISC-V: Enable vec_init testsuite for RVV VLA vectorization
> @@ -11100,6 +11101,15 @@ proc check_vect_support_and_set_flags { } {
>          }
>      } elseif [istarget amdgcn-*-*] {
>          set dg-do-what-default run
> +    } elseif [istarget riscv64-*-*] {
> +       if [check_effective_target_riscv_vector_hw] {
> +           lappend DEFAULT_VECTCFLAGS "--param" 
> "riscv-autovec-preference=scalable"
> +           set dg-do-what-default run
> +       } else {
> +           lappend DEFAULT_VECTCFLAGS "-march=rv64gcv_zfh" "-mabi=lp64d"
 
I would suggest using `-march=rv64gcv` or `-march=rv64gcv_zvfh_zfh`?
Just zfh is not meaningful I think.
 

Reply via email to