public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: 钟居哲 <juzhe.zhong@rivai.ai>
To: gcc-patches <gcc-patches@gcc.gnu.org>
Cc: palmer <palmer@rivosinc.com>,  "Jeff Law" <jeffreyalaw@gmail.com>
Subject: [PATCH] RISC-V: Add v_uimm_operand
Date: Fri, 12 May 2023 06:00:48 +0800	[thread overview]
Message-ID: <969B3287F7711EA4+202305120600483436491@rivai.ai> (raw)

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

>>  ;; V has 32-bit unsigned immediates.  This happens to be the same constraint asIt should be 5-bit unsigned immediates>> ;  the csr_operand, but it's not CSR related.
>> (define_predicate "v_uimm_operand"
>>   (match_operand 0 "csr_operand"))
To make name consistent, it should be "vector_xxxx", so I suggest it to be "vector_scalar_shift_operand".

Thanks.


juzhe.zhong@rivai.ai

             reply	other threads:[~2023-05-11 22:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-11 22:00 钟居哲 [this message]
2023-05-11 22:31 ` Palmer Dabbelt
2023-05-11 22:32   ` 钟居哲
  -- strict thread matches above, loose matches on Subject: below --
2023-05-11 18:25 Palmer Dabbelt

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=969B3287F7711EA4+202305120600483436491@rivai.ai \
    --to=juzhe.zhong@rivai.ai \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=jeffreyalaw@gmail.com \
    --cc=palmer@rivosinc.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).