qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: qemu-devel@nongnu.org
Cc: "Philippe Mathieu-Daudé" <philmd@linaro.org>,
	"Richard Henderson" <richard.henderson@linaro.org>
Subject: [PULL 02/45] host/i386: nothing looks at CPUINFO_SSE4
Date: Tue,  4 Jun 2024 08:43:26 +0200	[thread overview]
Message-ID: <20240604064409.957105-3-pbonzini@redhat.com> (raw)
In-Reply-To: <20240604064409.957105-1-pbonzini@redhat.com>

The only user was the SSE4.1 variant of buffer_is_zero, which has
been removed; code to compute CPUINFO_SSE4 is dead.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
 host/include/i386/host/cpuinfo.h | 1 -
 util/cpuinfo-i386.c              | 1 -
 2 files changed, 2 deletions(-)

diff --git a/host/include/i386/host/cpuinfo.h b/host/include/i386/host/cpuinfo.h
index b89e6d2e55a..9386c749881 100644
--- a/host/include/i386/host/cpuinfo.h
+++ b/host/include/i386/host/cpuinfo.h
@@ -16,7 +16,6 @@
 #define CPUINFO_BMI1            (1u << 5)
 #define CPUINFO_BMI2            (1u << 6)
 #define CPUINFO_SSE2            (1u << 7)
-#define CPUINFO_SSE4            (1u << 8)
 #define CPUINFO_AVX1            (1u << 9)
 #define CPUINFO_AVX2            (1u << 10)
 #define CPUINFO_AVX512F         (1u << 11)
diff --git a/util/cpuinfo-i386.c b/util/cpuinfo-i386.c
index 9fddb18303d..18ab747a6d2 100644
--- a/util/cpuinfo-i386.c
+++ b/util/cpuinfo-i386.c
@@ -36,7 +36,6 @@ unsigned __attribute__((constructor)) cpuinfo_init(void)
 
         info |= (d & bit_CMOV ? CPUINFO_CMOV : 0);
         info |= (d & bit_SSE2 ? CPUINFO_SSE2 : 0);
-        info |= (c & bit_SSE4_1 ? CPUINFO_SSE4 : 0);
         info |= (c & bit_MOVBE ? CPUINFO_MOVBE : 0);
         info |= (c & bit_POPCNT ? CPUINFO_POPCNT : 0);
         info |= (c & bit_PCLMUL ? CPUINFO_PCLMUL : 0);
-- 
2.45.1



  parent reply	other threads:[~2024-06-04  6:45 UTC|newest]

Thread overview: 51+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-04  6:43 [PULL 00/45] mostly i386 patches for 2024-06-04 Paolo Bonzini
2024-06-04  6:43 ` [PULL 01/45] virtio-blk: remove SCSI passthrough functionality Paolo Bonzini
2024-06-04 14:33   ` Richard Henderson
2024-06-04  6:43 ` Paolo Bonzini [this message]
2024-06-04  6:43 ` [PULL 03/45] meson: assume x86-64-v2 baseline ISA Paolo Bonzini
2024-06-04  6:43 ` [PULL 04/45] host/i386: assume presence of CMOV Paolo Bonzini
2024-06-04  6:43 ` [PULL 05/45] host/i386: assume presence of SSE2 Paolo Bonzini
2024-06-04  6:43 ` [PULL 06/45] host/i386: assume presence of SSSE3 Paolo Bonzini
2024-06-04  6:43 ` [PULL 07/45] host/i386: assume presence of POPCNT Paolo Bonzini
2024-06-04  6:43 ` [PULL 08/45] target/i386: fix SSE and SSE2 feature check Paolo Bonzini
2024-06-04  6:43 ` [PULL 09/45] target/i386: fix memory opsize for Mov to/from Seg Paolo Bonzini
2024-06-04  6:43 ` [PULL 10/45] target/i386/tcg: Fix RDPID feature check Paolo Bonzini
2024-06-04  6:43 ` [PULL 11/45] target/i386: fix xsave.flat from kvm-unit-tests Paolo Bonzini
2024-06-04  6:43 ` [PULL 12/45] update-linux-headers: fix forwarding to asm-generic headers Paolo Bonzini
2024-06-04  6:43 ` [PULL 13/45] update-linux-headers: move pvpanic.h to correct directory Paolo Bonzini
2024-06-04  6:43 ` [PULL 14/45] linux-headers: Update to current kvm/next Paolo Bonzini
2024-06-04  6:43 ` [PULL 15/45] update-linux-headers: import linux/kvm_para.h header Paolo Bonzini
2024-06-04  6:43 ` [PULL 16/45] machine: allow early use of machine_require_guest_memfd Paolo Bonzini
2024-06-04  6:43 ` [PULL 17/45] i386/sev: Replace error_report with error_setg Paolo Bonzini
2024-06-04  6:43 ` [PULL 18/45] i386/sev: Introduce "sev-common" type to encapsulate common SEV state Paolo Bonzini
2024-06-07 14:20   ` Peter Maydell
2024-06-04  6:43 ` [PULL 19/45] i386/sev: Move sev_launch_update to separate class method Paolo Bonzini
2024-06-04  6:43 ` [PULL 20/45] i386/sev: Move sev_launch_finish " Paolo Bonzini
2024-06-04  6:43 ` [PULL 21/45] i386/sev: Introduce 'sev-snp-guest' object Paolo Bonzini
2024-06-07 14:15   ` Peter Maydell
2024-06-04  6:43 ` [PULL 22/45] i386/sev: Add a sev_snp_enabled() helper Paolo Bonzini
2024-06-04  6:43 ` [PULL 23/45] i386/sev: Add sev_kvm_init() override for SEV class Paolo Bonzini
2024-06-04  6:43 ` [PULL 24/45] i386/sev: Add snp_kvm_init() override for SNP class Paolo Bonzini
2024-06-04  6:43 ` [PULL 25/45] i386/cpu: Set SEV-SNP CPUID bit when SNP enabled Paolo Bonzini
2024-06-04  6:43 ` [PULL 26/45] i386/sev: Don't return launch measurements for SEV-SNP guests Paolo Bonzini
2024-06-04  6:43 ` [PULL 27/45] i386/sev: Add a class method to determine KVM VM type for SNP guests Paolo Bonzini
2024-06-04  6:43 ` [PULL 28/45] i386/sev: Update query-sev QAPI format to handle SEV-SNP Paolo Bonzini
2024-06-04  6:43 ` [PULL 29/45] i386/sev: Add the SNP launch start context Paolo Bonzini
2024-06-04  6:43 ` [PULL 30/45] i386/sev: Add handling to encrypt/finalize guest launch data Paolo Bonzini
2024-06-24 23:07   ` Richard Henderson
2024-06-04  6:43 ` [PULL 31/45] i386/sev: Set CPU state to protected once SNP guest payload is finalized Paolo Bonzini
2024-06-04  6:43 ` [PULL 32/45] hw/i386/sev: Add function to get SEV metadata from OVMF header Paolo Bonzini
2024-06-04  6:43 ` [PULL 33/45] i386/sev: Add support for populating OVMF metadata pages Paolo Bonzini
2024-06-04  6:43 ` [PULL 34/45] i386/sev: Add support for SNP CPUID validation Paolo Bonzini
2024-06-04  6:43 ` [PULL 35/45] hw/i386/sev: Add support to encrypt BIOS when SEV-SNP is enabled Paolo Bonzini
2024-06-04  6:44 ` [PULL 36/45] i386/sev: Invoke launch_updata_data() for SEV class Paolo Bonzini
2024-06-07 14:18   ` Peter Maydell
2024-06-04  6:44 ` [PULL 37/45] i386/sev: Invoke launch_updata_data() for SNP class Paolo Bonzini
2024-06-04  6:44 ` [PULL 38/45] i386/kvm: Add KVM_EXIT_HYPERCALL handling for KVM_HC_MAP_GPA_RANGE Paolo Bonzini
2024-06-04  6:44 ` [PULL 39/45] i386/sev: Enable KVM_HC_MAP_GPA_RANGE hcall for SNP guests Paolo Bonzini
2024-06-04  6:44 ` [PULL 40/45] i386/sev: Extract build_kernel_loader_hashes Paolo Bonzini
2024-06-04  6:44 ` [PULL 41/45] i386/sev: Reorder struct declarations Paolo Bonzini
2024-06-04  6:44 ` [PULL 42/45] i386/sev: Allow measured direct kernel boot on SNP Paolo Bonzini
2024-06-04  6:44 ` [PULL 43/45] memory: Introduce memory_region_init_ram_guest_memfd() Paolo Bonzini
2024-06-04  6:44 ` [PULL 44/45] hw/i386/sev: Use guest_memfd for legacy ROMs Paolo Bonzini
2024-06-04  6:44 ` [PULL 45/45] hw/i386: Add support for loading BIOS using guest_memfd 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=20240604064409.957105-3-pbonzini@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=philmd@linaro.org \
    --cc=qemu-devel@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).