From: Paolo Bonzini <pbonzini@redhat.com>
To: qemu-devel@nongnu.org
Cc: "Daniel P . Berrangé" <berrange@redhat.com>, amonakov@ispras.ru
Subject: [PATCH 0/6] host/i386: allow configuring the x86-64 baseline
Date: Thu, 20 Jun 2024 15:02:48 +0200 [thread overview]
Message-ID: <20240620130254.415699-1-pbonzini@redhat.com> (raw)
As discussed, add a Meson option to configure which x86-64 instruction
set to use. QEMU will now default to x86-64-v1 + cmpxchg16b for
64-bit builds (that corresponds to a Pentium 4 for 32-bit builds).
The baseline can be tuned down to Pentium Pro for 32-bit builds (with
-Dx86_version=0), or up as desired.
Patch "host/i386: assume presence of CMOV" is not reverted because
CMOV appeared first in the Pentium Pro.
Paolo
Paolo Bonzini (6):
Revert "host/i386: assume presence of POPCNT"
Revert "host/i386: assume presence of SSSE3"
Revert "host/i386: assume presence of SSE2"
meson: allow configuring the x86-64 baseline
meson: remove dead optimization option
meson: require compiler support for chosen x86-64 instructions
meson.build | 56 ++++++++++++++++++++------------
host/include/i386/host/cpuinfo.h | 2 ++
tcg/i386/tcg-target.h | 5 +--
util/bufferiszero.c | 4 +--
util/cpuinfo-i386.c | 6 ++--
meson_options.txt | 5 +--
scripts/meson-buildoptions.sh | 3 ++
7 files changed, 52 insertions(+), 29 deletions(-)
--
2.45.2
next reply other threads:[~2024-06-20 13:04 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-20 13:02 Paolo Bonzini [this message]
2024-06-20 13:02 ` [PATCH 1/6] Revert "host/i386: assume presence of POPCNT" Paolo Bonzini
2024-06-20 13:02 ` [PATCH 2/6] Revert "host/i386: assume presence of SSSE3" Paolo Bonzini
2024-06-20 13:02 ` [PATCH 3/6] Revert "host/i386: assume presence of SSE2" Paolo Bonzini
2024-06-20 13:02 ` [PATCH 4/6] meson: allow configuring the x86-64 baseline Paolo Bonzini
2024-06-20 14:55 ` Daniel P. Berrangé
2024-06-20 15:02 ` Paolo Bonzini
2024-06-20 17:16 ` Richard Henderson
2024-06-20 13:02 ` [PATCH 5/6] meson: remove dead optimization option Paolo Bonzini
2024-06-20 17:04 ` Richard Henderson
2024-06-20 13:02 ` [PATCH 6/6] meson: require compiler support for chosen x86-64 instructions Paolo Bonzini
2024-06-20 15:01 ` Daniel P. Berrangé
2024-06-20 15:08 ` Paolo Bonzini
2024-06-20 17:21 ` Richard Henderson
2024-06-20 17:37 ` Paolo Bonzini
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=20240620130254.415699-1-pbonzini@redhat.com \
--to=pbonzini@redhat.com \
--cc=amonakov@ispras.ru \
--cc=berrange@redhat.com \
--cc=qemu-devel@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).