public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Patrick O'Neill <patrick@rivosinc.com>
To: Jeff Law <jeffreyalaw@gmail.com>, gcc-patches@gcc.gnu.org
Cc: palmer@dabbelt.com, gnu-toolchain@rivosinc.com
Subject: Re: [PATCH v2 2/3] RISC-V: Add Zalrsc and Zaamo testsuite support
Date: Mon, 10 Jun 2024 09:39:26 -0700	[thread overview]
Message-ID: <99e38b66-f17a-4640-8a7f-0cc82cca50fe@rivosinc.com> (raw)
In-Reply-To: <1b8c5ee3-3f1b-4925-b421-4bb7033a6151@gmail.com>


On 6/7/24 16:04, Jeff Law wrote:
>
>
> On 6/3/24 3:53 PM, Patrick O'Neill wrote:
>> Convert testsuite infrastructure to use Zalrsc and Zaamo rather than A.
>>
>> gcc/testsuite/ChangeLog:
>>
>>     * gcc.target/riscv/amo-table-a-6-amo-add-1.c: Use Zaamo rather 
>> than A.
>>     * gcc.target/riscv/amo-table-a-6-amo-add-2.c: Ditto.
>>     * gcc.target/riscv/amo-table-a-6-amo-add-3.c: Ditto.
>>     * gcc.target/riscv/amo-table-a-6-amo-add-4.c: Ditto.
>>     * gcc.target/riscv/amo-table-a-6-amo-add-5.c: Ditto.
>>     * gcc.target/riscv/amo-table-a-6-compare-exchange-1.c: Use Zalrsc 
>> rather
>>     than A.
>>     * gcc.target/riscv/amo-table-a-6-compare-exchange-2.c: Ditto.
>>     * gcc.target/riscv/amo-table-a-6-compare-exchange-3.c: Ditto.
>>     * gcc.target/riscv/amo-table-a-6-compare-exchange-4.c: Ditto.
>>     * gcc.target/riscv/amo-table-a-6-compare-exchange-5.c: Ditto.
>>     * gcc.target/riscv/amo-table-a-6-compare-exchange-6.c: Ditto.
>>     * gcc.target/riscv/amo-table-a-6-compare-exchange-7.c: Ditto.
>>     * gcc.target/riscv/amo-table-a-6-subword-amo-add-1.c: Use Zaamo 
>> rather
>>     than A.
>>     * gcc.target/riscv/amo-table-a-6-subword-amo-add-2.c: Ditto.
>>     * gcc.target/riscv/amo-table-a-6-subword-amo-add-3.c: Ditto.
>>     * gcc.target/riscv/amo-table-a-6-subword-amo-add-4.c: Ditto.
>>     * gcc.target/riscv/amo-table-a-6-subword-amo-add-5.c: Ditto.
>>     * gcc.target/riscv/amo-table-ztso-amo-add-1.c: Add Zaamo option.
>>     * gcc.target/riscv/amo-table-ztso-amo-add-2.c: Ditto.
>>     * gcc.target/riscv/amo-table-ztso-amo-add-3.c: Ditto.
>>     * gcc.target/riscv/amo-table-ztso-amo-add-4.c: Ditto.
>>     * gcc.target/riscv/amo-table-ztso-amo-add-5.c: Ditto.
>>     * gcc.target/riscv/amo-table-ztso-compare-exchange-1.c: Use 
>> Zalrsc rather
>>     than A.
>>     * gcc.target/riscv/amo-table-ztso-compare-exchange-2.c: Ditto.
>>     * gcc.target/riscv/amo-table-ztso-compare-exchange-3.c: Ditto.
>>     * gcc.target/riscv/amo-table-ztso-compare-exchange-4.c: Ditto.
>>     * gcc.target/riscv/amo-table-ztso-compare-exchange-5.c: Ditto.
>>     * gcc.target/riscv/amo-table-ztso-compare-exchange-6.c: Ditto.
>>     * gcc.target/riscv/amo-table-ztso-compare-exchange-7.c: Ditto.
>>     * gcc.target/riscv/amo-table-ztso-subword-amo-add-1.c: Ditto.
>>     * gcc.target/riscv/amo-table-ztso-subword-amo-add-2.c: Ditto.
>>     * gcc.target/riscv/amo-table-ztso-subword-amo-add-3.c: Ditto.
>>     * gcc.target/riscv/amo-table-ztso-subword-amo-add-4.c: Ditto.
>>     * gcc.target/riscv/amo-table-ztso-subword-amo-add-5.c: Ditto.
>>     * lib/target-supports.exp: Add testsuite infrastructure support for
>>     Zaamo and Zalrsc.
> So there's a lot of whitespace changes going on in target-supports.exp 
> that make it harder to find the real changes.
>
> There's always a bit of a judgement call for that kind of thing. This 
> one probably goes past would generally recommend, meaning that the 
> formatting stuff would be a separate patch.
>
> A reasonable starting point would be if you're not changing the 
> function in question, then fixing formatting in it probably should be 
> a distinct patch.
>
> You probably should update the docs in sourcebuild.texi for the new 
> target-supports tests.
>
> So OK for the trunk (including the whitespace fixes) with a suitable 
> change to sourcebuild.texi.

Sorry about that - the whitespace changes snuck in when resolving a 
merge conflict and were unintentional.

I'll post a v3 with the sourcebuild.texi changes and patch 3/3 changes 
later today.

I'll split the target-supports.exp trailing whitespace removal into a 
separate patch after this series lands.

Patrick

>
> jeff

  reply	other threads:[~2024-06-10 16:39 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-03 21:53 [PATCH v2 0/3] RISC-V: Add basic Zaamo and Zalrsc support Patrick O'Neill
2024-06-03 21:53 ` [PATCH v2 1/3] " Patrick O'Neill
2024-06-04  3:00   ` Kito Cheng
2024-06-04 17:30     ` Patrick O'Neill
2024-06-04 21:27       ` Andrew Waterman
2024-06-07 22:35   ` Jeff Law
2024-06-03 21:53 ` [PATCH v2 2/3] RISC-V: Add Zalrsc and Zaamo testsuite support Patrick O'Neill
2024-06-07 23:04   ` Jeff Law
2024-06-10 16:39     ` Patrick O'Neill [this message]
2024-06-11 18:21       ` Patrick O'Neill
2024-06-12 18:14         ` Jeff Law
2024-06-03 21:53 ` [PATCH v2 3/3] RISC-V: Add Zalrsc amo-op patterns Patrick O'Neill
2024-06-07 23:11   ` Jeff Law

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=99e38b66-f17a-4640-8a7f-0cc82cca50fe@rivosinc.com \
    --to=patrick@rivosinc.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=gnu-toolchain@rivosinc.com \
    --cc=jeffreyalaw@gmail.com \
    --cc=palmer@dabbelt.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).