1
0
mirror of https://github.com/google/cpu_features.git synced 2025-06-30 21:02:34 +02:00

Add x86 missing feature detections for ndk_compat (#58)

One more step towards #47.
This commit is contained in:
Guillaume Chatelet
2019-01-22 13:19:42 +01:00
committed by GitHub
parent 5911e96bbd
commit d395dfa026
4 changed files with 38 additions and 5 deletions

View File

@ -90,6 +90,10 @@ TEST(CpuidX86Test, SandyBridge) {
EXPECT_TRUE(features.sse4_1);
EXPECT_TRUE(features.sse4_2);
EXPECT_TRUE(features.avx);
EXPECT_FALSE(features.sha);
EXPECT_TRUE(features.popcnt);
EXPECT_FALSE(features.movbe);
EXPECT_FALSE(features.rdrnd);
}
TEST(CpuidX86Test, SandyBridgeTestOsSupport) {