[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 10/13] target/i386: add FSRM to TCG
From: |
Paolo Bonzini |
Subject: |
[PULL 10/13] target/i386: add FSRM to TCG |
Date: |
Mon, 27 Feb 2023 18:55:21 +0100 |
Fast short REP MOVS can be added to TCG, since a trivial translation
of string operation is a good option for short lengths.
Reviewed-by: Xiaoyao Li <xiaoyao.li@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
target/i386/cpu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target/i386/cpu.c b/target/i386/cpu.c
index 4d2b8d0444df..34e2cead870e 100644
--- a/target/i386/cpu.c
+++ b/target/i386/cpu.c
@@ -661,7 +661,7 @@ void x86_cpu_vendor_words2str(char *dst, uint32_t vendor1,
#define TCG_7_0_ECX_FEATURES (CPUID_7_0_ECX_UMIP | CPUID_7_0_ECX_PKU | \
/* CPUID_7_0_ECX_OSPKE is dynamic */ \
CPUID_7_0_ECX_LA57 | CPUID_7_0_ECX_PKS | CPUID_7_0_ECX_VAES)
-#define TCG_7_0_EDX_FEATURES 0
+#define TCG_7_0_EDX_FEATURES CPUID_7_0_EDX_FSRM
#define TCG_7_1_EAX_FEATURES 0
#define TCG_APM_FEATURES 0
#define TCG_6_EAX_FEATURES CPUID_6_EAX_ARAT
--
2.39.1
- [PULL 00/13] build, Python, target/i386 changes for 2023-02-27, Paolo Bonzini, 2023/02/27
- [PULL 01/13] target/i386: Fix BZHI instruction, Paolo Bonzini, 2023/02/27
- [PULL 02/13] meson: Avoid duplicates in generated config-poison.h again, Paolo Bonzini, 2023/02/27
- [PULL 03/13] meson: stop looking for 'sphinx-build-3', Paolo Bonzini, 2023/02/27
- [PULL 04/13] configure: protect against escaping venv when running Meson, Paolo Bonzini, 2023/02/27
- [PULL 05/13] configure: Look for auxiliary Python installations, Paolo Bonzini, 2023/02/27
- [PULL 06/13] lcitool: update submodule, Paolo Bonzini, 2023/02/27
- [PULL 07/13] docs/devel: update and clarify lcitool instructions, Paolo Bonzini, 2023/02/27
- [PULL 08/13] ci, docker: update CentOS and OpenSUSE Python to non-EOL versions, Paolo Bonzini, 2023/02/27
- [PULL 09/13] MAINTAINERS: Cover RCU documentation, Paolo Bonzini, 2023/02/27
- [PULL 10/13] target/i386: add FSRM to TCG,
Paolo Bonzini <=
- [PULL 11/13] target/i386: add FZRM, FSRS, FSRC, Paolo Bonzini, 2023/02/27
- [PULL 12/13] target/i386: KVM: allow fast string operations if host supports them, Paolo Bonzini, 2023/02/27
- Re: [PULL 00/13] build, Python, target/i386 changes for 2023-02-27, Peter Maydell, 2023/02/28