mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
PR-URL: https://github.com/nodejs/node/pull/48218 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
20 lines
543 B
C
20 lines
543 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;
|
|
|
|
void cpu_check_features(void);
|