lib/Header: Fix Visual Studio builds try #2
[llvm-project.git] / clang / lib / Headers / wbnoinvdintrin.h
blobcac0347efc4fc14a830ec864378ae68d30e32fc6
1 /*===-------------- wbnoinvdintrin.h - wbnoinvd intrinsic-------------------===
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-exception
7 *===-----------------------------------------------------------------------===
8 */
10 #if !defined __X86INTRIN_H && !defined __IMMINTRIN_H
11 #error "Never use <wbnoinvdintrin.h> directly; include <x86intrin.h> instead."
12 #endif
14 #ifndef __WBNOINVDINTRIN_H
15 #define __WBNOINVDINTRIN_H
17 static __inline__ void
18 __attribute__((__always_inline__, __nodebug__, __target__("wbnoinvd")))
19 _wbnoinvd (void)
21 __builtin_ia32_wbnoinvd ();
24 #endif /* __WBNOINVDINTRIN_H */