annotate clang/lib/Headers/invpcidintrin.h @ 176:de4ac79aef9d

...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 25 May 2020 17:13:11 +0900
parents 1d019706d866
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 /*===------------- invpcidintrin.h - INVPCID intrinsic ---------------------===
anatofuz
parents:
diff changeset
2 *
anatofuz
parents:
diff changeset
3 * Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
anatofuz
parents:
diff changeset
4 * See https://llvm.org/LICENSE.txt for license information.
anatofuz
parents:
diff changeset
5 * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
anatofuz
parents:
diff changeset
6 *
anatofuz
parents:
diff changeset
7 *===-----------------------------------------------------------------------===
anatofuz
parents:
diff changeset
8 */
anatofuz
parents:
diff changeset
9
anatofuz
parents:
diff changeset
10 #ifndef __IMMINTRIN_H
anatofuz
parents:
diff changeset
11 #error "Never use <invpcidintrin.h> directly; include <immintrin.h> instead."
anatofuz
parents:
diff changeset
12 #endif
anatofuz
parents:
diff changeset
13
anatofuz
parents:
diff changeset
14 #ifndef __INVPCIDINTRIN_H
anatofuz
parents:
diff changeset
15 #define __INVPCIDINTRIN_H
anatofuz
parents:
diff changeset
16
anatofuz
parents:
diff changeset
17 static __inline__ void
anatofuz
parents:
diff changeset
18 __attribute__((__always_inline__, __nodebug__, __target__("invpcid")))
anatofuz
parents:
diff changeset
19 _invpcid(unsigned int __type, void *__descriptor) {
anatofuz
parents:
diff changeset
20 __builtin_ia32_invpcid(__type, __descriptor);
anatofuz
parents:
diff changeset
21 }
anatofuz
parents:
diff changeset
22
anatofuz
parents:
diff changeset
23 #endif /* __INVPCIDINTRIN_H */