Adenilson Cavalcanti | 5de00af | 2020-01-08 22:12:31 +0000 | [diff] [blame] | 1 | /* 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 | */ |
| 12 | extern int arm_cpu_enable_crc32; |
| 13 | extern int arm_cpu_enable_pmull; |
Noel Gordon | f317558 | 2020-04-21 08:30:00 +0000 | [diff] [blame] | 14 | extern int x86_cpu_enable_sse2; |
Adenilson Cavalcanti | 5de00af | 2020-01-08 22:12:31 +0000 | [diff] [blame] | 15 | extern int x86_cpu_enable_ssse3; |
| 16 | extern int x86_cpu_enable_simd; |
| 17 | |
| 18 | void cpu_check_features(void); |