1 /* cpu_features.h -- Processor features detection. 2 * 3 * Copyright 2018 The Chromium Authors 4 * Use of this source code is governed by a BSD-style license that can be 5 * found in the Chromium source repository LICENSE file. 6 */ 7 8 #include "zlib.h" 9 10 /* TODO(cavalcantii): remove checks for x86_flags on deflate. 11 */ 12 extern int arm_cpu_enable_crc32; 13 extern int arm_cpu_enable_pmull; 14 extern int x86_cpu_enable_sse2; 15 extern int x86_cpu_enable_ssse3; 16 extern int x86_cpu_enable_simd; 17 18 void cpu_check_features(void); 19