24 lines · c
1/*===------------- invpcidintrin.h - INVPCID intrinsic ---------------------===2 *3 * Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.4 * See https://llvm.org/LICENSE.txt for license information.5 * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception6 *7 *===-----------------------------------------------------------------------===8 */9 10#ifndef __IMMINTRIN_H11#error "Never use <invpcidintrin.h> directly; include <immintrin.h> instead."12#endif13 14#ifndef __INVPCIDINTRIN_H15#define __INVPCIDINTRIN_H16 17static __inline__ void18 __attribute__((__always_inline__, __nodebug__, __target__("invpcid")))19_invpcid(unsigned int __type, void *__descriptor) {20 __builtin_ia32_invpcid(__type, __descriptor);21}22 23#endif /* __INVPCIDINTRIN_H */24