X86: Add sandybridge microarchitecture
ART was not aware of sandybridge CPU featureset, so it turned off all
features (ISA: X86 Feature string: -ssse3,-sse4.1,-sse4.2,-avx,-avx2,
-popcnt). Meanwhile, the Android build does turn on the corresponding
compiler flags (ISA: X86 Feature string: ssse3,sse4.1,sse4.2,-avx,
-avx2,popcnt). This change adds "sandybridge" to the relevant lists so
it can detect the features correctly.
Bug: 62389235
Test: Android runs on Chromebooks
Test: m test-art-host-gtest-instruction_set_features_x86_test
(cherry picked from commit 702e27249893104230f826b82b7a3723ec3b7240)
Change-Id: Ie47aed190ac83b35b6d3994d703c463c9efd5e25
2 files changed