1336815Sdim/*===------------- invpcidintrin.h - INVPCID intrinsic ---------------------===
2336815Sdim *
3353358Sdim * Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4353358Sdim * See https://llvm.org/LICENSE.txt for license information.
5353358Sdim * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6336815Sdim *
7336815Sdim *===-----------------------------------------------------------------------===
8336815Sdim */
9336815Sdim
10336815Sdim#ifndef __IMMINTRIN_H
11336815Sdim#error "Never use <invpcidintrin.h> directly; include <immintrin.h> instead."
12336815Sdim#endif
13336815Sdim
14336815Sdim#ifndef __INVPCIDINTRIN_H
15336815Sdim#define __INVPCIDINTRIN_H
16336815Sdim
17336815Sdimstatic __inline__ void
18336815Sdim  __attribute__((__always_inline__, __nodebug__,  __target__("invpcid")))
19336815Sdim_invpcid(unsigned int __type, void *__descriptor) {
20336815Sdim  __builtin_ia32_invpcid(__type, __descriptor);
21336815Sdim}
22336815Sdim
23336815Sdim#endif /* __INVPCIDINTRIN_H */
24