sandybridge setup: no AES_NI, AVX, MOVBE
Sandy Bridge actually doesn't have all of these options. For example AVX is only available on the higher-end SKUs (not on Celeron G550). Soong port of https://android-review.googlesource.com/204730 Change-Id: Ib595a9a6b464626d0c88525c6aaa4d69176645cc
This commit is contained in:
parent
97750520a4
commit
b77bd796c2
|
@ -76,7 +76,7 @@ var (
|
||||||
"-march=core-avx-i",
|
"-march=core-avx-i",
|
||||||
},
|
},
|
||||||
"sandybridge": []string{
|
"sandybridge": []string{
|
||||||
"-march=corei7-avx",
|
"-march=corei7",
|
||||||
},
|
},
|
||||||
"silvermont": []string{
|
"silvermont": []string{
|
||||||
"-march=slm",
|
"-march=slm",
|
||||||
|
@ -125,8 +125,6 @@ func init() {
|
||||||
"sse4",
|
"sse4",
|
||||||
"sse4_1",
|
"sse4_1",
|
||||||
"sse4_2",
|
"sse4_2",
|
||||||
"aes_ni",
|
|
||||||
"avx",
|
|
||||||
"popcnt")
|
"popcnt")
|
||||||
common.RegisterArchFeatures(common.X86_64, "silvermont",
|
common.RegisterArchFeatures(common.X86_64, "silvermont",
|
||||||
"ssse3",
|
"ssse3",
|
||||||
|
|
|
@ -77,7 +77,7 @@ var (
|
||||||
"-mfpmath=sse",
|
"-mfpmath=sse",
|
||||||
},
|
},
|
||||||
"sandybridge": []string{
|
"sandybridge": []string{
|
||||||
"-march=corei7-avx",
|
"-march=corei7",
|
||||||
"-mfpmath=sse",
|
"-mfpmath=sse",
|
||||||
},
|
},
|
||||||
"silvermont": []string{
|
"silvermont": []string{
|
||||||
|
@ -126,8 +126,6 @@ func init() {
|
||||||
"sse4",
|
"sse4",
|
||||||
"sse4_1",
|
"sse4_1",
|
||||||
"sse4_2",
|
"sse4_2",
|
||||||
"aes_ni",
|
|
||||||
"avx",
|
|
||||||
"popcnt")
|
"popcnt")
|
||||||
common.RegisterArchFeatures(common.X86, "silvermont",
|
common.RegisterArchFeatures(common.X86, "silvermont",
|
||||||
"ssse3",
|
"ssse3",
|
||||||
|
|
Loading…
Reference in New Issue