Skip to content

Commit 47f0d11

Browse files
taoxu916bonzini
authored andcommitted
target/i386: Add notes for versioned CPU models
Add which features are added or removed in this version. Signed-off-by: Tao Xu <[email protected]> Message-Id: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
1 parent ff57bb7 commit 47f0d11

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

target/i386/cpu.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3135,6 +3135,7 @@ static X86CPUDefinition builtin_x86_defs[] = {
31353135
.versions = (X86CPUVersionDefinition[]) {
31363136
{ .version = 1 },
31373137
{ .version = 2,
3138+
.note = "ARCH_CAPABILITIES",
31383139
.props = (PropValue[]) {
31393140
{ "arch-capabilities", "on" },
31403141
{ "rdctl-no", "on" },
@@ -3146,6 +3147,7 @@ static X86CPUDefinition builtin_x86_defs[] = {
31463147
},
31473148
{ .version = 3,
31483149
.alias = "Cascadelake-Server-noTSX",
3150+
.note = "ARCH_CAPABILITIES, no TSX",
31493151
.props = (PropValue[]) {
31503152
{ "hle", "off" },
31513153
{ "rtm", "off" },
@@ -3367,6 +3369,7 @@ static X86CPUDefinition builtin_x86_defs[] = {
33673369
{ .version = 1 },
33683370
{
33693371
.version = 2,
3372+
.note = "no TSX",
33703373
.alias = "Icelake-Client-noTSX",
33713374
.props = (PropValue[]) {
33723375
{ "hle", "off" },
@@ -3484,6 +3487,7 @@ static X86CPUDefinition builtin_x86_defs[] = {
34843487
{ .version = 1 },
34853488
{
34863489
.version = 2,
3490+
.note = "no TSX",
34873491
.alias = "Icelake-Server-noTSX",
34883492
.props = (PropValue[]) {
34893493
{ "hle", "off" },
@@ -3604,6 +3608,7 @@ static X86CPUDefinition builtin_x86_defs[] = {
36043608
{ .version = 1 },
36053609
{
36063610
.version = 2,
3611+
.note = "no MPX, no MONITOR",
36073612
.props = (PropValue[]) {
36083613
{ "monitor", "off" },
36093614
{ "mpx", "off" },

0 commit comments

Comments
 (0)