Message ID | 20230227101332.636203-2-pbonzini@redhat.com |
---|---|
State | New |
Headers | show |
Series | target/i386: Add new CPU model SapphireRapids and new fast string op leaves | expand |
On 2/27/23 00:13, Paolo Bonzini wrote: > Fast short REP MOVS can be added to TCG, since a trivial translation > of string operation is a good option for short lengths. > > Signed-off-by: Paolo Bonzini<pbonzini@redhat.com> > --- > target/i386/cpu.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Richard Henderson <richard.henderson@linaro.org> r~
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
Fast short REP MOVS can be added to TCG, since a trivial translation of string operation is a good option for short lengths. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> --- target/i386/cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)