Add a 32-bit x86_64 arch variant am: 8a35405d33
am: 90473092fe
* commit '90473092fe4e45aa8d965b73adf4896584b46df5':
Add a 32-bit x86_64 arch variant
Change-Id: Ia147534c57561150b1862acbc9f1c44c2450e97e
This commit is contained in:
@@ -73,6 +73,9 @@ var (
|
|||||||
"": []string{
|
"": []string{
|
||||||
"-march=prescott",
|
"-march=prescott",
|
||||||
},
|
},
|
||||||
|
"x86_64": []string{
|
||||||
|
"-march=prescott",
|
||||||
|
},
|
||||||
"atom": []string{
|
"atom": []string{
|
||||||
"-march=atom",
|
"-march=atom",
|
||||||
"-mfpmath=sse",
|
"-mfpmath=sse",
|
||||||
@@ -110,6 +113,12 @@ const (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
|
common.RegisterArchFeatures(common.X86, "x86_64",
|
||||||
|
"ssse3",
|
||||||
|
"sse4",
|
||||||
|
"sse4_1",
|
||||||
|
"sse4_2",
|
||||||
|
"popcnt")
|
||||||
common.RegisterArchFeatures(common.X86, "atom",
|
common.RegisterArchFeatures(common.X86, "atom",
|
||||||
"ssse3",
|
"ssse3",
|
||||||
"movbe")
|
"movbe")
|
||||||
|
@@ -186,6 +186,8 @@ type archProperties struct {
|
|||||||
Ivybridge interface{} `blueprint:"filter(android:\"arch_variant\")"`
|
Ivybridge interface{} `blueprint:"filter(android:\"arch_variant\")"`
|
||||||
Sandybridge interface{} `blueprint:"filter(android:\"arch_variant\")"`
|
Sandybridge interface{} `blueprint:"filter(android:\"arch_variant\")"`
|
||||||
Silvermont interface{} `blueprint:"filter(android:\"arch_variant\")"`
|
Silvermont interface{} `blueprint:"filter(android:\"arch_variant\")"`
|
||||||
|
// Generic variant for X86 on X86_64
|
||||||
|
X86_64 interface{} `blueprint:"filter(android:\"arch_variant\")"`
|
||||||
|
|
||||||
// X86 arch features
|
// X86 arch features
|
||||||
Ssse3 interface{} `blueprint:"filter(android:\"arch_variant\")"`
|
Ssse3 interface{} `blueprint:"filter(android:\"arch_variant\")"`
|
||||||
@@ -955,6 +957,7 @@ func decodeMegaDevice() ([]Arch, error) {
|
|||||||
{"x86", "ivybridge", "", []string{"x86"}},
|
{"x86", "ivybridge", "", []string{"x86"}},
|
||||||
{"x86", "sandybridge", "", []string{"x86"}},
|
{"x86", "sandybridge", "", []string{"x86"}},
|
||||||
{"x86", "silvermont", "", []string{"x86"}},
|
{"x86", "silvermont", "", []string{"x86"}},
|
||||||
|
{"x86", "x86_64", "", []string{"x86"}},
|
||||||
{"x86_64", "", "", []string{"x86_64"}},
|
{"x86_64", "", "", []string{"x86_64"}},
|
||||||
{"x86_64", "haswell", "", []string{"x86_64"}},
|
{"x86_64", "haswell", "", []string{"x86_64"}},
|
||||||
{"x86_64", "ivybridge", "", []string{"x86_64"}},
|
{"x86_64", "ivybridge", "", []string{"x86_64"}},
|
||||||
|
Reference in New Issue
Block a user