aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2021-05-06 13:15:50 -0700
committerH. Peter Anvin <hpa@zytor.com>2021-05-06 13:15:50 -0700
commit26b2b4a9395f174d6ce911b6e0ae51b85c557159 (patch)
tree415481b3d0c9c3acbb5f0a3390e301c05ec55a3d
parent2257da9a927d767672715d4253259f932a858602 (diff)
downloadfred-scripts-26b2b4a9395f174d6ce911b6e0ae51b85c557159.tar.gz
fred-scripts-26b2b4a9395f174d6ce911b6e0ae51b85c557159.tar.xz
fred-scripts-26b2b4a9395f174d6ce911b6e0ae51b85c557159.zip
Enable RDPID in CPUID too
RDPID, too, is implemented but not advertised.
-rw-r--r--fred.simics7
1 files changed, 6 insertions, 1 deletions
diff --git a/fred.simics b/fred.simics
index b192153..846e3fb 100644
--- a/fred.simics
+++ b/fred.simics
@@ -57,8 +57,13 @@ foreach $cpu in (board.get-processor-list) {
$cpu->add_msr += [[0x10b, 0, 0, 1, (~1), TRUE, "ia32_flush_cmd", 0]]
$cpu->cpuid_l1d_flush_override = 1
- # SERIALIZE
+ # Instructions implemented in x86QSP2 (well enough at least),
+ # but not actually in CPUID...
$cpu->cpuid_serialize_override = 1
+ $cpu->cpuid_cldemote_override = 1
+ $cpu->cpuid_clwb_override = 1
+ $cpu->cpuid_prefetchwt1_override = 1
+ $cpu->cpuid_rdpid_override = 1
}
enable-debugger