ETISS 0.8.0
Extendable Translating Instruction Set Simulator (version 0.8.0)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
tsxldtrkintrin.h
Go to the documentation of this file.
1/*===------------- tsxldtrkintrin.h - tsxldtrk intrinsics ------------------===
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-exception
6 *
7 *===-----------------------------------------------------------------------===
8 */
9
10#ifndef __IMMINTRIN_H
11#error "Never use <tsxldtrkintrin.h> directly; include <immintrin.h> instead."
12#endif
13
14#ifndef __TSXLDTRKINTRIN_H
15#define __TSXLDTRKINTRIN_H
16
17/* Define the default attributes for the functions in this file */
18#define _DEFAULT_FN_ATTRS \
19 __attribute__((__always_inline__, __nodebug__, __target__("tsxldtrk")))
20
31static __inline__ void _DEFAULT_FN_ATTRS
33{
34 __builtin_ia32_xsusldtrk();
35}
36
48static __inline__ void _DEFAULT_FN_ATTRS
50{
51 __builtin_ia32_xresldtrk();
52}
53
54#undef _DEFAULT_FN_ATTRS
55
56#endif /* __TSXLDTRKINTRIN_H */
#define _DEFAULT_FN_ATTRS
static __inline__ void _DEFAULT_FN_ATTRS _xresldtrk(void)
Marks the end of an TSX (RTM) suspend load address tracking region.
static __inline__ void _DEFAULT_FN_ATTRS _xsusldtrk(void)
Marks the start of an TSX (RTM) suspend load address tracking region.