public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: "juzhe.zhong@rivai.ai" <juzhe.zhong@rivai.ai>
To: kito.cheng <kito.cheng@gmail.com>
Cc: gcc-patches <gcc-patches@gcc.gnu.org>, 丁乐华 <lehua.ding@rivai.ai>,
	"Kito.cheng" <kito.cheng@sifive.com>
Subject: Re: Re: [PATCH] RISC-V: Enable vec_init testsuite for RVV VLA vectorization
Date: Mon, 28 Aug 2023 15:15:16 +0800	[thread overview]
Message-ID: <4CA8DD1669BFCC52+2023082815151622528720@rivai.ai> (raw)
In-Reply-To: <CA+yXCZBEh_b1fCuw4=8KKnf-HuOrwcGMQKGSrp9sfCFPa5spJw@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 913 bytes --]

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

Thanks.


juzhe.zhong@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	other threads:[~2023-08-28  7:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-28  3:12 Juzhe-Zhong
2023-08-28  3:48 ` Kito Cheng
2023-08-28  7:15   ` juzhe.zhong [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4CA8DD1669BFCC52+2023082815151622528720@rivai.ai \
    --to=juzhe.zhong@rivai.ai \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=kito.cheng@gmail.com \
    --cc=kito.cheng@sifive.com \
    --cc=lehua.ding@rivai.ai \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).