Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cpu_features.h « zlib « third_party « v8 « deps - github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c7b15c5597623fc8ddfdf2389a8f9709e258e89f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* cpu_features.h -- Processor features detection.
 *
 * Copyright 2018 The Chromium Authors. All rights reserved.
 * 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;

void cpu_check_features(void);