qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Michael Tokarev <mjt@tls.msk.ru>
To: Frank Mehnert <frank.mehnert@kernkonzept.com>, qemu-trivial@nongnu.org
Cc: Paolo Bonzini <pbonzini@redhat.com>,
	Richard Henderson <richard.henderson@linaro.org>,
	Eduardo Habkost <eduardo@habkost.net>,
	QEMU Developers <qemu-devel@nongnu.org>
Subject: Re: [PATCH] fix SSE2/SSSE3 feature detection in tcg/decode-new.c.inc
Date: Sat, 7 Sep 2024 10:09:45 +0300	[thread overview]
Message-ID: <b65adf00-28db-42bf-b5ed-708f36b52730@tls.msk.ru> (raw)
In-Reply-To: <b6696d8e-19c7-4d14-80d0-85b92e398a34@tls.msk.ru>

17.06.2024 15:51, Michael Tokarev wrote:
> Adding Cc's.

A friendly ping?  This patch does not apply directly currently, but
the change is still relevant (I can fix context at apply time).

Before it can be applied to trivial-patches tree I'd love to have
some Reviewed-by tag(s).  Or drop it :)

This change is sitting here since May-24.

Thanks,

/mjt

> 29.05.2024 16:53, Frank Mehnert wrote:
>> The correct bitmask is cpuid_features rather than cpuid_ext_features.
>> ---
>>   target/i386/tcg/decode-new.c.inc | 4 ++--
>>   1 file changed, 2 insertions(+), 2 deletions(-)
>>
>> diff --git a/target/i386/tcg/decode-new.c.inc b/target/i386/tcg/decode-new.c.inc
>> index 27dc1bb146..0ec849b003 100644
>> --- a/target/i386/tcg/decode-new.c.inc
>> +++ b/target/i386/tcg/decode-new.c.inc
>> @@ -2041,9 +2041,9 @@ static bool has_cpuid_feature(DisasContext *s, X86CPUIDFeature cpuid)
>>       case X86_FEAT_PCLMULQDQ:
>>           return (s->cpuid_ext_features & CPUID_EXT_PCLMULQDQ);
>>       case X86_FEAT_SSE:
>> -        return (s->cpuid_ext_features & CPUID_SSE);
>> +        return (s->cpuid_features & CPUID_SSE);
>>       case X86_FEAT_SSE2:
>> -        return (s->cpuid_ext_features & CPUID_SSE2);
>> +        return (s->cpuid_features & CPUID_SSE2);
>>       case X86_FEAT_SSE3:
>>           return (s->cpuid_ext_features & CPUID_EXT_SSE3);
>>       case X86_FEAT_SSSE3:



  reply	other threads:[~2024-09-07  7:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <2975380.e9J7NaK4W3@noys4>
2024-06-17 12:51 ` [PATCH] fix SSE2/SSSE3 feature detection in tcg/decode-new.c.inc Michael Tokarev
2024-09-07  7:09   ` Michael Tokarev [this message]
2024-09-07  7:33     ` Frank Mehnert

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=b65adf00-28db-42bf-b5ed-708f36b52730@tls.msk.ru \
    --to=mjt@tls.msk.ru \
    --cc=eduardo@habkost.net \
    --cc=frank.mehnert@kernkonzept.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-trivial@nongnu.org \
    --cc=richard.henderson@linaro.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).