From: Harsh Prateek Bora <harshpb@linux.ibm.com>
To: Fabiano Rosas <farosas@suse.de>,
qemu-ppc@nongnu.org, qemu-devel@nongnu.org
Cc: npiggin@gmail.com, danielhb413@gmail.com, qemu-stable@nongnu.org
Subject: Re: [PATCH] target/ppc: Fix inequality check in do_lstxv_X
Date: Tue, 17 Sep 2024 10:15:46 +0530 [thread overview]
Message-ID: <811bc24f-f3d7-4794-a94b-b4cb5df15b97@linux.ibm.com> (raw)
In-Reply-To: <87r09n23hn.fsf@suse.de>
Hi Fabiano,
On 9/13/24 17:02, Fabiano Rosas wrote:
> Harsh Prateek Bora <harshpb@linux.ibm.com> writes:
>
>> This fix was earlier introduced for do_lstxv_D form with 2cc0e449d173
>> however got missed for _X form. This patch fixes the same.
>>
>> Cc: qemu-stable@nongnu.org
>> Suggested-by: Fabiano Rosas <farosas@suse.de>
>> Fixes: 70426b5bb738 ("target/ppc: moved stxvx and lxvx from legacy to decodtree")
>> Signed-off-by: Harsh Prateek Bora <harshpb@linux.ibm.com>
>> ---
>> target/ppc/translate/vsx-impl.c.inc | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/target/ppc/translate/vsx-impl.c.inc b/target/ppc/translate/vsx-impl.c.inc
>> index 40a87ddc4a..a869f30e86 100644
>> --- a/target/ppc/translate/vsx-impl.c.inc
>> +++ b/target/ppc/translate/vsx-impl.c.inc
>> @@ -2244,7 +2244,7 @@ static bool do_lstxv_PLS_D(DisasContext *ctx, arg_PLS_D *a,
>>
>> static bool do_lstxv_X(DisasContext *ctx, arg_X *a, bool store, bool paired)
>> {
>> - if (paired || a->rt >= 32) {
>> + if (paired || a->rt < 32) {
>> REQUIRE_VSX(ctx);
>> } else {
>> REQUIRE_VECTOR(ctx);
>
> Hi Harsh,
>
> Seems I was quicker than you =)
>
> https://lore.kernel.org/r/20240911141651.6914-1-farosas@suse.de
>
> I'll give my RB and leave up to the maintainers which patch to take:
>
> Reviewed-by: Fabiano Rosas <farosas@suse.de>
Thanks, I missed looking at your patch earlier.
I would vote for your patch though.
regards,
Harsh
prev parent reply other threads:[~2024-09-17 4:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-13 4:38 [PATCH] target/ppc: Fix inequality check in do_lstxv_X Harsh Prateek Bora
2024-09-13 11:32 ` Fabiano Rosas
2024-09-17 4:45 ` Harsh Prateek Bora [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=811bc24f-f3d7-4794-a94b-b4cb5df15b97@linux.ibm.com \
--to=harshpb@linux.ibm.com \
--cc=danielhb413@gmail.com \
--cc=farosas@suse.de \
--cc=npiggin@gmail.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-ppc@nongnu.org \
--cc=qemu-stable@nongnu.org \
/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 NNTP newsgroup(s).