/usr/lib/gcc/x86_64-linux-gnu/11/include
NameSizeModeActions
sanitizer/-0755rm
acc_prof.h74540644editdlrm
adxintrin.h28320644editdlrm
ammintrin.h32160644editdlrm
amxbf16intrin.h17950644editdlrm
amxint8intrin.h20930644editdlrm
amxtileintrin.h31550644editdlrm
avx2intrin.h587480644editdlrm
avx512bf16intrin.h39460644editdlrm
avx512bf16vlintrin.h61470644editdlrm
avx512bitalgintrin.h88500644editdlrm
avx512bwintrin.h1024270644editdlrm
avx512cdintrin.h58220644editdlrm
avx512dqintrin.h928420644editdlrm
avx512erintrin.h176700644editdlrm
avx512fintrin.h5249240644editdlrm
avx512ifmaintrin.h34300644editdlrm
avx512ifmavlintrin.h53850644editdlrm
avx512pfintrin.h102880644editdlrm
avx512vbmi2intrin.h198100644editdlrm
avx512vbmi2vlintrin.h371200644editdlrm
avx512vbmiintrin.h49210644editdlrm
avx512vbmivlintrin.h83640644editdlrm
avx512vlbwintrin.h1457690644editdlrm
avx512vldqintrin.h613170644editdlrm
avx512vlintrin.h4288950644editdlrm
avx512vnniintrin.h49690644editdlrm
avx512vnnivlintrin.h74040644editdlrm
avx512vp2intersectintrin.h21050644editdlrm
avx512vp2intersectvlintrin.h26380644editdlrm
avx512vpopcntdqintrin.h31100644editdlrm
avx512vpopcntdqvlintrin.h46670644editdlrm
avx5124fmapsintrin.h65350644editdlrm
avx5124vnniwintrin.h42560644editdlrm
avxintrin.h530700644editdlrm
avxvnniintrin.h36040644editdlrm
backtrace-supported.h29820644editdlrm
backtrace.h91410644editdlrm
bmi2intrin.h33550644editdlrm
bmiintrin.h55950644editdlrm
bmmintrin.h11540644editdlrm
cet.h26650644editdlrm
cetintrin.h33340644editdlrm
cldemoteintrin.h16150644editdlrm
clflushoptintrin.h16640644editdlrm
clwbintrin.h15860644editdlrm
clzerointrin.h14910644editdlrm
cpuid.h98490644editdlrm
cross-stdarg.h25580644editdlrm
emmintrin.h521540644editdlrm
enqcmdintrin.h18170644editdlrm
f16cintrin.h34100644editdlrm
float.h206560644editdlrm
fma4intrin.h91320644editdlrm
fmaintrin.h101160644editdlrm
fxsrintrin.h20570644editdlrm
gcov.h12410644editdlrm
gfniintrin.h150500644editdlrm
hresetintrin.h16270644editdlrm
ia32intrin.h78650644editdlrm
immintrin.h25290644editdlrm
iso646.h12720644editdlrm
ISO_Fortran_binding.h84760644editdlrm
keylockerintrin.h44400644editdlrm
limits.h63550644editdlrm
lwpintrin.h34060644editdlrm
lzcntintrin.h23650644editdlrm
mm3dnow.h70760644editdlrm
mmintrin.h318920644editdlrm
mm_malloc.h17830644editdlrm
movdirintrin.h23480644editdlrm
mwaitintrin.h17050644editdlrm
mwaitxintrin.h17470644editdlrm
nmmintrin.h12880644editdlrm
omp.h105490644editdlrm
openacc.h64030644editdlrm
pconfigintrin.h23550644editdlrm
pkuintrin.h17420644editdlrm
pmmintrin.h40160644editdlrm
popcntintrin.h17500644editdlrm
prfchwintrin.h14470644editdlrm
quadmath.h93580644editdlrm
quadmath_weak.h32080644editdlrm
rdseedintrin.h20180644editdlrm
rtmintrin.h27390644editdlrm
serializeintrin.h16240644editdlrm
sgxintrin.h70910644editdlrm
shaintrin.h32040644editdlrm
smmintrin.h284340644editdlrm
stdalign.h12100644editdlrm
stdarg.h40720644editdlrm
stdatomic.h93600644editdlrm
stdbool.h15010644editdlrm
stddef.h129590644editdlrm
stdfix.h60000644editdlrm
stdint-gcc.h95390644editdlrm
stdint.h3280644editdlrm
stdnoreturn.h11360644editdlrm
syslimits.h3300644editdlrm
tbmintrin.h52480644editdlrm
tmmintrin.h83430644editdlrm
tsxldtrkintrin.h17770644editdlrm
uintrintrin.h23070644editdlrm
unwind.h109050644editdlrm
vaesintrin.h34730644editdlrm
varargs.h1390644editdlrm
vpclmulqdqintrin.h27270644editdlrm
waitpkgintrin.h20000644editdlrm
wbnoinvdintrin.h16270644editdlrm
wmmintrin.h46560644editdlrm
x86gprintrin.h60810644editdlrm
x86intrin.h13020644editdlrm
xmmintrin.h444070644editdlrm
xopintrin.h287830644editdlrm
xsavecintrin.h18220644editdlrm
xsaveintrin.h24730644editdlrm
xsaveoptintrin.h18520644editdlrm
xsavesintrin.h21580644editdlrm
xtestintrin.h16930644editdlrm
Edit: /usr/lib/gcc/x86_64-linux-gnu/11/include/sgxintrin.h (7091B)
/* Copyright (C) 2017-2021 Free Software Foundation, Inc. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see . */ #ifndef _SGXINTRIN_H_INCLUDED #define _SGXINTRIN_H_INCLUDED #ifndef __SGX__ #pragma GCC push_options #pragma GCC target("sgx") #define __DISABLE_SGX__ #endif /* __SGX__ */ #define __encls_bc(leaf, b, c, retval) \ __asm__ __volatile__ ("encls\n\t" \ : "=a" (retval) \ : "a" (leaf), "b" (b), "c" (c) \ : "cc") #define __encls_bcd(leaf, b, c, d, retval) \ __asm__ __volatile__("encls\n\t" \ : "=a" (retval) \ : "a" (leaf), "b" (b), "c" (c), "d" (d) \ : "cc") #define __encls_c(leaf, c, retval) \ __asm__ __volatile__("encls\n\t" \ : "=a" (retval) \ : "a" (leaf), "c" (c) \ : "cc") #define __encls_edbgrd(leaf, b, c, retval) \ __asm__ __volatile__("encls\n\t" \ : "=a" (retval), "=b" (b) \ : "a" (leaf), "c" (c)) #define __encls_generic(leaf, b, c, d, retval) \ __asm__ __volatile__("encls\n\t" \ : "=a" (retval), "=b" (b), "=c" (c), "=d" (d)\ : "a" (leaf), "b" (b), "c" (c), "d" (d) \ : "cc") #define __enclu_bc(leaf, b, c, retval) \ __asm__ __volatile__("enclu\n\t" \ : "=a" (retval) \ : "a" (leaf), "b" (b), "c" (c) \ : "cc") #define __enclu_bcd(leaf, b, c, d, retval) \ __asm__ __volatile__("enclu\n\t" \ : "=a" (retval) \ : "a" (leaf), "b" (b), "c" (c), "d" (d) \ : "cc") #define __enclu_eenter(leaf, b, c, retval) \ __asm__ __volatile__("enclu\n\t" \ : "=a" (retval), "=c" (c) \ : "a" (leaf), "b" (b), "c" (c) \ : "cc") #define __enclu_eexit(leaf, b, c, retval) \ __asm__ __volatile__("enclu\n\t" \ : "=a" (retval), "=c" (c) \ : "a" (leaf), "b" (b) \ : "cc") #define __enclu_generic(leaf, b, c, d, retval) \ __asm__ __volatile__("enclu\n\t" \ : "=a" (retval), "=b" (b), "=c" (c), "=d" (d)\ : "a" (leaf), "b" (b), "c" (c), "d" (d) \ : "cc") #define __enclv_bc(leaf, b, c, retval) \ __asm__ __volatile__("enclv\n\t" \ : "=a" (retval) \ : "a" (leaf), "b" (b), "c" (c) \ : "cc") #define __enclv_cd(leaf, c, d, retval) \ __asm__ __volatile__("enclv\n\t" \ : "=a" (retval) \ : "a" (leaf), "c" (c), "d" (d) \ : "cc") #define __enclv_generic(leaf, b, c, d, retval) \ __asm__ __volatile__("enclv\n\t" \ : "=a" (retval), "=b" (b), "=c" (b), "=d" (d)\ : "a" (leaf), "b" (b), "c" (c), "d" (d) \ : "cc") extern __inline unsigned int __attribute__((__gnu_inline__, __always_inline__, __artificial__)) _encls_u32 (const unsigned int __L, size_t __D[]) { enum __encls_type { __SGX_ECREATE = 0x00, __SGX_EADD = 0x01, __SGX_EINIT = 0x02, __SGX_EREMOVE = 0x03, __SGX_EDBGRD = 0x04, __SGX_EDBGWR = 0x05, __SGX_EEXTEND = 0x06, __SGX_ELDB = 0x07, __SGX_ELDU = 0x08, __SGX_EBLOCK = 0x09, __SGX_EPA = 0x0A, __SGX_EWB = 0x0B, __SGX_ETRACK = 0x0C, __SGX_EAUG = 0x0D, __SGX_EMODPR = 0x0E, __SGX_EMODT = 0x0F, __SGX_ERDINFO = 0x10, __SGX_ETRACKC = 0x11, __SGX_ELDBC = 0x12, __SGX_ELDUC = 0x13 }; enum __encls_type __T = (enum __encls_type)__L; unsigned int __R = 0; if (!__builtin_constant_p (__T)) __encls_generic (__L, __D[0], __D[1], __D[2], __R); else switch (__T) { case __SGX_ECREATE: case __SGX_EADD: case __SGX_EDBGWR: case __SGX_EEXTEND: case __SGX_EPA: case __SGX_EMODPR: case __SGX_EMODT: case __SGX_EAUG: case __SGX_ERDINFO: __encls_bc (__L, __D[0], __D[1], __R); break; case __SGX_EINIT: case __SGX_ELDB: case __SGX_ELDU: case __SGX_EWB: case __SGX_ELDBC: case __SGX_ELDUC: __encls_bcd (__L, __D[0], __D[1], __D[2], __R); break; case __SGX_EREMOVE: case __SGX_EBLOCK: case __SGX_ETRACK: case __SGX_ETRACKC: __encls_c (__L, __D[1], __R); break; case __SGX_EDBGRD: __encls_edbgrd (__L, __D[0], __D[1], __R); break; default: __encls_generic (__L, __D[0], __D[1], __D[2], __R); } return __R; } extern __inline unsigned int __attribute__((__gnu_inline__, __always_inline__, __artificial__)) _enclu_u32 (const unsigned int __L, size_t __D[]) { enum __enclu_type { __SGX_EREPORT = 0x00, __SGX_EGETKEY = 0x01, __SGX_EENTER = 0x02, __SGX_ERESUME = 0x03, __SGX_EEXIT = 0x04, __SGX_EACCEPT = 0x05, __SGX_EMODPE = 0x06, __SGX_EACCEPTCOPY = 0x07 }; enum __enclu_type __T = (enum __enclu_type) __L; unsigned int __R = 0; if (!__builtin_constant_p (__T)) __enclu_generic (__L, __D[0], __D[1], __D[2], __R); else switch (__T) { case __SGX_EREPORT: case __SGX_EACCEPTCOPY: __enclu_bcd (__L, __D[0], __D[1], __D[2], __R); break; case __SGX_EGETKEY: case __SGX_ERESUME: case __SGX_EACCEPT: case __SGX_EMODPE: __enclu_bc (__L, __D[0], __D[1], __R); break; case __SGX_EENTER: __enclu_eenter (__L, __D[0], __D[1], __R); break; case __SGX_EEXIT: __enclu_eexit (__L, __D[0], __D[1], __R); break; default: __enclu_generic (__L, __D[0], __D[1], __D[2], __R); } return __R; } extern __inline unsigned int __attribute__((__gnu_inline__, __always_inline__, __artificial__)) _enclv_u32 (const unsigned int __L, size_t __D[]) { enum __enclv_type { __SGX_EDECVIRTCHILD = 0x00, __SGX_EINCVIRTCHILD = 0x01, __SGX_ESETCONTEXT = 0x02 }; unsigned int __R = 0; if (!__builtin_constant_p (__L)) __enclv_generic (__L, __D[0], __D[1], __D[2], __R); else switch (__L) { case __SGX_EDECVIRTCHILD: case __SGX_EINCVIRTCHILD: __enclv_bc (__L, __D[0], __D[1], __R); break; case __SGX_ESETCONTEXT: __enclv_cd (__L, __D[1], __D[2], __R); break; default: __enclv_generic (__L, __D[0], __D[1], __D[2], __R); } return __R; } #ifdef __DISABLE_SGX__ #undef __DISABLE_SGX__ #pragma GCC pop_options #endif /* __DISABLE_SGX__ */ #endif /* _SGXINTRIN_H_INCLUDED */