From: Gabe Black Date: Wed, 14 Aug 2019 22:35:48 +0000 (-0700) Subject: x86: Stop CPUID from claiming we support xsave. X-Git-Tag: v19.0.0.0~654 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c7f18da6b04bb757bace18f22542c8078ba1b7b2;p=gem5.git x86: Stop CPUID from claiming we support xsave. xsave is a fairly complex feature which we don't support in gem5, but we do report that we support it through CPUID. It looks like I confused it with FXSAVE which is an instruction related to SSE. This change turns that bit back off again. Change-Id: I00fc79168c5f7095b5241e870a4c8782e4385425 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/20169 Reviewed-by: Jason Lowe-Power Reviewed-by: Pouya Fotouhi Maintainer: Gabe Black Tested-by: kokoro --- diff --git a/src/arch/x86/cpuid.cc b/src/arch/x86/cpuid.cc index 867087eb0..e6a898a08 100644 --- a/src/arch/x86/cpuid.cc +++ b/src/arch/x86/cpuid.cc @@ -162,7 +162,7 @@ namespace X86ISA { break; case FamilyModelStepping: result = CpuidResult(0x00020f51, 0x00000805, - 0xe7dbfbff, 0x04000209); + 0xe7dbfbff, 0x00000209); break; case ExtendedFeatures: result = CpuidResult(0x00000000, 0x01800000,