Lines Matching full:features
35 uint32_t features = 0; in read_cpu_features() local
41 if (abcd[3] & (1<<25)) { features |= SkCpu:: SSE1; } in read_cpu_features()
42 if (abcd[3] & (1<<26)) { features |= SkCpu:: SSE2; } in read_cpu_features()
43 if (abcd[2] & (1<< 0)) { features |= SkCpu:: SSE3; } in read_cpu_features()
44 if (abcd[2] & (1<< 9)) { features |= SkCpu::SSSE3; } in read_cpu_features()
45 if (abcd[2] & (1<<19)) { features |= SkCpu::SSE41; } in read_cpu_features()
46 if (abcd[2] & (1<<20)) { features |= SkCpu::SSE42; } in read_cpu_features()
50 if (abcd[2] & (1<<28)) { features |= SkCpu:: AVX; } in read_cpu_features()
51 if (abcd[2] & (1<<29)) { features |= SkCpu::F16C; } in read_cpu_features()
52 if (abcd[2] & (1<<12)) { features |= SkCpu:: FMA; } in read_cpu_features()
55 if (abcd[1] & (1<<5)) { features |= SkCpu::AVX2; } in read_cpu_features()
56 if (abcd[1] & (1<<3)) { features |= SkCpu::BMI1; } in read_cpu_features()
57 if (abcd[1] & (1<<8)) { features |= SkCpu::BMI2; } in read_cpu_features()
60 if (abcd[1] & (1<<16)) { features |= SkCpu::AVX512F; } in read_cpu_features()
61 if (abcd[1] & (1<<17)) { features |= SkCpu::AVX512DQ; } in read_cpu_features()
62 if (abcd[1] & (1<<21)) { features |= SkCpu::AVX512IFMA; } in read_cpu_features()
63 if (abcd[1] & (1<<26)) { features |= SkCpu::AVX512PF; } in read_cpu_features()
64 if (abcd[1] & (1<<27)) { features |= SkCpu::AVX512ER; } in read_cpu_features()
65 if (abcd[1] & (1<<28)) { features |= SkCpu::AVX512CD; } in read_cpu_features()
66 if (abcd[1] & (1<<30)) { features |= SkCpu::AVX512BW; } in read_cpu_features()
67 if (abcd[1] & (1<<31)) { features |= SkCpu::AVX512VL; } in read_cpu_features()
70 return features; in read_cpu_features()
80 uint32_t features = 0; in read_cpu_features() local
82 if (hwcaps & kHWCAP_CRC32 ) { features |= SkCpu::CRC32; } in read_cpu_features()
83 if (hwcaps & kHWCAP_ASIMDHP) { features |= SkCpu::ASIMDHP; } in read_cpu_features()
84 return features; in read_cpu_features()
97 uint32_t features = 0; in read_cpu_features() local
100 features |= SkCpu::NEON; in read_cpu_features()
101 if (hwcaps & kHWCAP_VFPv4) { features |= SkCpu::NEON_FMA|SkCpu::VFP_FP16; } in read_cpu_features()
103 return features; in read_cpu_features()
106 #elif defined(SK_CPU_ARM32) && __has_include(<cpu-features.h>)
107 #include <cpu-features.h>
110 uint32_t features = 0; in read_cpu_features() local
112 if (cpu_features & ANDROID_CPU_ARM_FEATURE_NEON) { features |= SkCpu::NEON; } in read_cpu_features()
113 if (cpu_features & ANDROID_CPU_ARM_FEATURE_NEON_FMA) { features |= SkCpu::NEON_FMA; } in read_cpu_features()
114 if (cpu_features & ANDROID_CPU_ARM_FEATURE_VFP_FP16) { features |= SkCpu::VFP_FP16; } in read_cpu_features()
115 return features; in read_cpu_features()