public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Lehua Ding <lehua.ding@rivai.ai>
To: Kito Cheng <kito.cheng@gmail.com>
Cc: "juzhe.zhong" <juzhe.zhong@rivai.ai>,
	"gcc-patches@gcc.gnu.org" <gcc-patches@gcc.gnu.org>,
	"rdapp.gcc@gmail.com" <rdapp.gcc@gmail.com>,
	"palmer@rivosinc.com" <palmer@rivosinc.com>,
	"jeffreyalaw@gmail.com" <jeffreyalaw@gmail.com>
Subject: Re: [PATCH] RISC-V: Removed unnecessary sign-extend for vsetvl
Date: Thu, 9 Nov 2023 17:54:04 +0800	[thread overview]
Message-ID: <37AD47886FA44ECB+7705d96d-e8c1-40bf-a501-be03a4d85c77@rivai.ai> (raw)
In-Reply-To: <CA+yXCZCaAntWdVx-g=LQv-CSVVd_cAZ6Jt30+AuTj59yDutH9Q@mail.gmail.com>

Hi Kito,

On 2023/11/9 17:21, Kito Cheng wrote:
> Should we need a zero-ext version as well?

It's not needed at the moment, since the sign_extend is currently used 
for both int32_t and uint32_t. I can't find a case where zero_extend 
would occur.

-- 
Best,
Lehua (RiVAI)
lehua.ding@rivai.ai


      reply	other threads:[~2023-11-09  9:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-08 13:27 Lehua Ding
     [not found] ` <273AD3EA5CCC79C0+09716C0F-7900-43BD-A3B8-EFE0D3FF3249@rivai.ai>
2023-11-08 13:39   ` Lehua Ding
2023-11-09  9:21     ` Kito Cheng
2023-11-09  9:54       ` Lehua Ding [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=37AD47886FA44ECB+7705d96d-e8c1-40bf-a501-be03a4d85c77@rivai.ai \
    --to=lehua.ding@rivai.ai \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=jeffreyalaw@gmail.com \
    --cc=juzhe.zhong@rivai.ai \
    --cc=kito.cheng@gmail.com \
    --cc=palmer@rivosinc.com \
    --cc=rdapp.gcc@gmail.com \
    /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).