public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jeff Law <jeffreyalaw@gmail.com>
To: Jivan Hakobyan <jivanhakobyan9@gmail.com>, gcc-patches@gcc.gnu.org
Subject: Re: RISC-V: avoid splitting small constants in bcrli_nottwobits patterns
Date: Tue, 25 Apr 2023 20:45:51 -0600	[thread overview]
Message-ID: <3b949b57-102b-0029-ce4c-f4759a7c9257@gmail.com> (raw)
In-Reply-To: <CAHso6sOfD3TVgU3utyPeMvG=7KVy8tNJsUf1h_wLAcy4R919_A@mail.gmail.com>



On 4/20/23 14:11, Jivan Hakobyan via Gcc-patches wrote:
> and_nottwobits.patch
> 
> RISC-V: avoid splitting small constant in *bclri<mode>_nottwobits
>          and *bclridisi_nottwobit patterns
> 
> gcc/
>          * config/riscv/bitmanip.md Updated predicats of
>          bclri<mode>_nottwobits and bclridisi_nottwobits patterns
>          * config/riscv/predicates.md (not_uimm_extra_bit_or_nottwobits):
>          Adjust predicate to avoid splitting arith constants
>          * config/riscv/predicates.md (const_nottwobits_not_arith_operand):
>          New predicate
> 
> gcc/testsuite
>          * gcc.target/riscv/zbs-bclri-nottwobits.c: New test.
Thanks.  I made trivial fixes to the ChangeLog entry and pushed this to 
the trunk.

jeff

      reply	other threads:[~2023-04-26  2:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-20 20:11 Jivan Hakobyan
2023-04-26  2:45 ` Jeff Law [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=3b949b57-102b-0029-ce4c-f4759a7c9257@gmail.com \
    --to=jeffreyalaw@gmail.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=jivanhakobyan9@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).