clang: lib/Headers/ptwriteintrin.h Source File (original) (raw)
Go to the documentation of this file.
1
2
3
4
5
6
7
8
9
10#if !defined __X86INTRIN_H && !defined __IMMINTRIN_H
11#error "Never use <ptwriteintrin.h> directly; include <x86intrin.h> instead."
12#endif
13
14#ifndef __PTWRITEINTRIN_H
15#define __PTWRITEINTRIN_H
16
17
18#define __DEFAULT_FN_ATTRS \
19 __attribute__((__always_inline__, __nodebug__, __target__("ptwrite")))
20
23 __builtin_ia32_ptwrite32(__value);
24}
25
26#ifdef __x86_64__
27
29_ptwrite64(unsigned long long __value) {
30 __builtin_ia32_ptwrite64(__value);
31}
32
33#endif
34
35#undef __DEFAULT_FN_ATTRS
36
37#endif
static __inline__ void unsigned int __value
static __inline__ void __DEFAULT_FN_ATTRS _ptwrite32(unsigned int __value)
#define __DEFAULT_FN_ATTRS