public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jeff Law <jeffreyalaw@gmail.com>
To: Patrick O'Neill <patrick@rivosinc.com>, gcc-patches@gcc.gnu.org
Subject: Re: [PATCH 1/2] RISC-V: Let non-atomic targets use optimized amo loads/stores
Date: Tue, 31 Oct 2023 07:05:08 -0600	[thread overview]
Message-ID: <3c27765c-cc0f-47a0-ad55-7ad797291653@gmail.com> (raw)
In-Reply-To: <20231031004929.1435217-1-patrick@rivosinc.com>



On 10/30/23 18:49, Patrick O'Neill wrote:
> Non-atomic targets are currently prevented from using the optimized fencing for
> seq_cst load/seq_cst store. This patch removes that constraint.
> 
> gcc/ChangeLog:
> 
> 	* config/riscv/sync-rvwmo.md (atomic_load_rvwmo<mode>): Remove
> 	TARGET_ATOMIC constraint
> 	(atomic_store_rvwmo<mode>): Ditto.
> 	* config/riscv/sync-ztso.md (atomic_load_ztso<mode>): Ditto.
> 	(atomic_store_ztso<mode>): Ditto.
> 	* config/riscv/sync.md (atomic_load<mode>): Ditto.
> 	(atomic_store<mode>): Ditto.
OK
jeff

  parent reply	other threads:[~2023-10-31 13:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-31  0:49 Patrick O'Neill
2023-10-31  0:49 ` [PATCH 2/2] RISC-V: Require a extension for testcases with atomic insns Patrick O'Neill
2023-10-31 13:07   ` Jeff Law
2023-10-31 17:16     ` [Committed " Patrick O'Neill
2023-10-31 13:05 ` Jeff Law [this message]
2023-10-31 17:16   ` [Committed 1/2] RISC-V: Let non-atomic targets use optimized amo loads/stores Patrick O'Neill

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=3c27765c-cc0f-47a0-ad55-7ad797291653@gmail.com \
    --to=jeffreyalaw@gmail.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=patrick@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).