cpu_features.h 531 B

123456789101112131415161718
  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. #include "zlib.h"
  8. /* TODO(cavalcantii): remove checks for x86_flags on deflate.
  9. */
  10. extern int arm_cpu_enable_crc32;
  11. extern int arm_cpu_enable_pmull;
  12. extern int x86_cpu_enable_sse2;
  13. extern int x86_cpu_enable_ssse3;
  14. extern int x86_cpu_enable_simd;
  15. void cpu_check_features(void);