blob: c7b15c5597623fc8ddfdf2389a8f9709e258e89f [file] [log] [blame]
Adenilson Cavalcanti5de00af2020-01-08 22:12:31 +00001/* cpu_features.h -- Processor features detection.
2 *
3 * Copyright 2018 The Chromium Authors. All rights reserved.
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 */
12extern int arm_cpu_enable_crc32;
13extern int arm_cpu_enable_pmull;
Noel Gordonf3175582020-04-21 08:30:00 +000014extern int x86_cpu_enable_sse2;
Adenilson Cavalcanti5de00af2020-01-08 22:12:31 +000015extern int x86_cpu_enable_ssse3;
16extern int x86_cpu_enable_simd;
17
18void cpu_check_features(void);