summaryrefslogtreecommitdiffstats
path: root/src/pmdk/src/libpmem2/x86_64/cpu.h
blob: f02df5c30b7992910ef9f5ef683d864a265bda50 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* SPDX-License-Identifier: BSD-3-Clause */
/* Copyright 2016-2020, Intel Corporation */

#ifndef PMDK_CPU_H
#define PMDK_CPU_H 1

/*
 * cpu.h -- definitions for "cpu" module
 */

int is_cpu_genuine_intel(void);
int is_cpu_clflush_present(void);
int is_cpu_clflushopt_present(void);
int is_cpu_clwb_present(void);
int is_cpu_avx_present(void);
int is_cpu_avx512f_present(void);

#endif