Add arch variants for Intel Atom CPUs

Bug: 259201836
Test: Build aosp_x86_64-eng with modified build/make/target/board/generic_x86_64/BoardConfig.mk
Change-Id: Ic7410d6874c17af0e4492bf7704066ae9af1a531
This commit is contained in:
Ryo Hashimoto
2022-11-16 17:25:01 +09:00
parent ed9729727c
commit f68c18f710
5 changed files with 96 additions and 15 deletions

View File

@@ -31,6 +31,8 @@ var archVariants = map[ArchType][]string{
"amberlake",
"atom",
"broadwell",
"goldmont",
"goldmont-plus",
"haswell",
"icelake",
"ivybridge",
@@ -40,12 +42,15 @@ var archVariants = map[ArchType][]string{
"skylake",
"stoneyridge",
"tigerlake",
"tremont",
"whiskeylake",
"x86_64",
},
X86_64: {
"amberlake",
"broadwell",
"goldmont",
"goldmont-plus",
"haswell",
"icelake",
"ivybridge",
@@ -55,6 +60,7 @@ var archVariants = map[ArchType][]string{
"skylake",
"stoneyridge",
"tigerlake",
"tremont",
"whiskeylake",
},
}
@@ -168,6 +174,24 @@ var androidArchFeatureMap = map[ArchType]map[string][]string{
"aes_ni",
"popcnt",
},
"goldmont": {
"ssse3",
"sse4",
"sse4_1",
"sse4_2",
"aes_ni",
"popcnt",
"movbe",
},
"goldmont-plus": {
"ssse3",
"sse4",
"sse4_1",
"sse4_2",
"aes_ni",
"popcnt",
"movbe",
},
"haswell": {
"ssse3",
"sse4",
@@ -257,6 +281,15 @@ var androidArchFeatureMap = map[ArchType]map[string][]string{
"aes_ni",
"popcnt",
},
"tremont": {
"ssse3",
"sse4",
"sse4_1",
"sse4_2",
"aes_ni",
"popcnt",
"movbe",
},
"whiskeylake": {
"ssse3",
"sse4",
@@ -304,6 +337,22 @@ var androidArchFeatureMap = map[ArchType]map[string][]string{
"aes_ni",
"popcnt",
},
"goldmont": {
"ssse3",
"sse4",
"sse4_1",
"sse4_2",
"aes_ni",
"popcnt",
},
"goldmont-plus": {
"ssse3",
"sse4",
"sse4_1",
"sse4_2",
"aes_ni",
"popcnt",
},
"haswell": {
"ssse3",
"sse4",
@@ -390,6 +439,14 @@ var androidArchFeatureMap = map[ArchType]map[string][]string{
"aes_ni",
"popcnt",
},
"tremont": {
"ssse3",
"sse4",
"sse4_1",
"sse4_2",
"aes_ni",
"popcnt",
},
"whiskeylake": {
"ssse3",
"sse4",