xref: /third_party/node/deps/zlib/cpu_features.h
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/node/deps/zlib/
11cb0ef41Sopenharmony_ci/* cpu_features.h -- Processor features detection.
21cb0ef41Sopenharmony_ci *
31cb0ef41Sopenharmony_ci * Copyright 2018 The Chromium Authors
41cb0ef41Sopenharmony_ci * Use of this source code is governed by a BSD-style license that can be
51cb0ef41Sopenharmony_ci * found in the Chromium source repository LICENSE file.
61cb0ef41Sopenharmony_ci */
71cb0ef41Sopenharmony_ci
81cb0ef41Sopenharmony_ci#include "zlib.h"
91cb0ef41Sopenharmony_ci
101cb0ef41Sopenharmony_ci/* TODO(cavalcantii): remove checks for x86_flags on deflate.
111cb0ef41Sopenharmony_ci */
121cb0ef41Sopenharmony_ciextern int arm_cpu_enable_crc32;
131cb0ef41Sopenharmony_ciextern int arm_cpu_enable_pmull;
141cb0ef41Sopenharmony_ciextern int x86_cpu_enable_sse2;
151cb0ef41Sopenharmony_ciextern int x86_cpu_enable_ssse3;
161cb0ef41Sopenharmony_ciextern int x86_cpu_enable_simd;
171cb0ef41Sopenharmony_ciextern int x86_cpu_enable_avx512;
181cb0ef41Sopenharmony_ci
191cb0ef41Sopenharmony_civoid cpu_check_features(void);
20

Indexes created Thu Nov 07 10:32:03 CST 2024