aboutsummaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2023-02-27 10:57:09 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2023-02-27 18:43:53 +0100
commitc0728d4e3d23356691e4182eac54c67e1ca26618 (patch)
tree8d6c05184dfb64ca799905aa878c842cb02fdfec /target
parentfc3b9dfacc4017aed8e2b010bc85f4dd50ca6e8b (diff)
downloadqemu-c0728d4e3d23356691e4182eac54c67e1ca26618.zip
qemu-c0728d4e3d23356691e4182eac54c67e1ca26618.tar.gz
qemu-c0728d4e3d23356691e4182eac54c67e1ca26618.tar.bz2
target/i386: add FSRM to TCG
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>
Diffstat (limited to 'target')
-rw-r--r--target/i386/cpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/i386/cpu.c b/target/i386/cpu.c
index 4d2b8d0..34e2cea 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