0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-28 14:33:11 +01:00
nodejs/deps/zlib/cpu_features.h
Node.js GitHub Bot 38161c38d9
deps: update zlib to 1.3.0.1-motley-24c07df
PR-URL: https://github.com/nodejs/node/pull/52199
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
2024-03-27 19:53:28 +00:00

23 lines
613 B
C

/* cpu_features.h -- Processor features detection.
*
* Copyright 2018 The Chromium Authors
* Use of this source code is governed by a BSD-style license that can be
* found in the Chromium source repository LICENSE file.
*/
#include "zlib.h"
/* TODO(cavalcantii): remove checks for x86_flags on deflate.
*/
extern int arm_cpu_enable_crc32;
extern int arm_cpu_enable_pmull;
extern int x86_cpu_enable_sse2;
extern int x86_cpu_enable_ssse3;
extern int x86_cpu_enable_simd;
extern int x86_cpu_enable_avx512;
extern int riscv_cpu_enable_rvv;
extern int riscv_cpu_enable_vclmul;
void cpu_check_features(void);