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
diff --git a/cc/x86_device.go b/cc/x86_device.go
index f3a4b08..5ba442c 100644
--- a/cc/x86_device.go
+++ b/cc/x86_device.go
@@ -77,7 +77,7 @@
"-mfpmath=sse",
},
"sandybridge": []string{
- "-march=corei7-avx",
+ "-march=corei7",
"-mfpmath=sse",
},
"silvermont": []string{
@@ -126,8 +126,6 @@
"sse4",
"sse4_1",
"sse4_2",
- "aes_ni",
- "avx",
"popcnt")
common.RegisterArchFeatures(common.X86, "silvermont",
"ssse3",