1 /*===--------------- serializeintrin.h - serialize intrinsics --------------===
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 *===-----------------------------------------------------------------------===
11 #error "Never use <serializeintrin.h> directly; include <immintrin.h> instead."
14 #ifndef __SERIALIZEINTRIN_H
15 #define __SERIALIZEINTRIN_H
17 /// Serialize instruction fetch and execution.
19 /// \headerfile <x86intrin.h>
21 /// This intrinsic corresponds to the <c> SERIALIZE </c> instruction.
23 static __inline__
void
24 __attribute__((__always_inline__
, __nodebug__
, __target__("serialize")))
27 __builtin_ia32_serialize ();
30 #endif /* __SERIALIZEINTRIN_H */