Warning: That file was not part of the compilation database. It may have many parsing errors.

1/* Copyright (C) 2015-2017 Free Software Foundation, Inc.
2
3 This file is part of GCC.
4
5 GCC is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 3, or (at your option)
8 any later version.
9
10 GCC is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
14
15 Under Section 7 of GPL version 3, you are granted additional
16 permissions described in the GCC Runtime Library Exception, version
17 3.1, as published by the Free Software Foundation.
18
19 You should have received a copy of the GNU General Public License and
20 a copy of the GCC Runtime Library Exception along with this program;
21 see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
22 <http://www.gnu.org/licenses/>. */
23
24#if !defined _IMMINTRIN_H_INCLUDED
25# error "Never use <cetintrin.h> directly; include <x86intrin.h> instead."
26#endif
27
28#ifndef _CETINTRIN_H_INCLUDED
29#define _CETINTRIN_H_INCLUDED
30
31#ifndef __SHSTK__
32#pragma GCC push_options
33#pragma GCC target ("shstk")
34#define __DISABLE_SHSTK__
35#endif /* __SHSTK__ */
36
37extern __inline unsigned int
38__attribute__((__gnu_inline__, __always_inline__, __artificial__))
39_rdsspd (unsigned int __B)
40{
41 return __builtin_ia32_rdsspd (__B);
42}
43
44#ifdef __x86_64__
45extern __inline unsigned long long
46__attribute__((__gnu_inline__, __always_inline__, __artificial__))
47_rdsspq (unsigned long long __B)
48{
49 return __builtin_ia32_rdsspq (__B);
50}
51#endif
52
53extern __inline void
54__attribute__((__gnu_inline__, __always_inline__, __artificial__))
55_incsspd (unsigned int __B)
56{
57 __builtin_ia32_incsspd (__B);
58}
59
60#ifdef __x86_64__
61extern __inline void
62__attribute__((__gnu_inline__, __always_inline__, __artificial__))
63_incsspq (unsigned long long __B)
64{
65 __builtin_ia32_incsspq (__B);
66}
67#endif
68
69extern __inline void
70__attribute__((__gnu_inline__, __always_inline__, __artificial__))
71_saveprevssp (void)
72{
73 __builtin_ia32_saveprevssp ();
74}
75
76extern __inline void
77__attribute__((__gnu_inline__, __always_inline__, __artificial__))
78_rstorssp (void *__B)
79{
80 __builtin_ia32_rstorssp (__B);
81}
82
83extern __inline void
84__attribute__((__gnu_inline__, __always_inline__, __artificial__))
85_wrssd (unsigned int __B, void *__C)
86{
87 __builtin_ia32_wrssd (__B, __C);
88}
89
90#ifdef __x86_64__
91extern __inline void
92__attribute__((__gnu_inline__, __always_inline__, __artificial__))
93_wrssq (unsigned long long __B, void *__C)
94{
95 __builtin_ia32_wrssq (__B, __C);
96}
97#endif
98
99extern __inline void
100__attribute__((__gnu_inline__, __always_inline__, __artificial__))
101_wrussd (unsigned int __B, void *__C)
102{
103 __builtin_ia32_wrussd (__B, __C);
104}
105
106#ifdef __x86_64__
107extern __inline void
108__attribute__((__gnu_inline__, __always_inline__, __artificial__))
109_wrussq (unsigned long long __B, void *__C)
110{
111 __builtin_ia32_wrussq (__B, __C);
112}
113#endif
114
115extern __inline void
116__attribute__((__gnu_inline__, __always_inline__, __artificial__))
117_setssbsy (void)
118{
119 __builtin_ia32_setssbsy ();
120}
121
122extern __inline void
123__attribute__((__gnu_inline__, __always_inline__, __artificial__))
124_clrssbsy (void *__B)
125{
126 __builtin_ia32_clrssbsy (__B);
127}
128
129#ifdef __DISABLE_SHSTK__
130#undef __DISABLE_SHSTK__
131#pragma GCC pop_options
132#endif /* __DISABLE_SHSTK__ */
133
134#endif /* _CETINTRIN_H_INCLUDED. */
135

Warning: That file was not part of the compilation database. It may have many parsing errors.