/usr/lib/gcc/x86_64-linux-gnu/8/include/pconfigintrin.h is in libgcc-8-dev 8-20180414-1ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 | #ifndef _X86INTRIN_H_INCLUDED
#error "Never use <pconfigintrin.h> directly; include <x86intrin.h> instead."
#endif
#ifndef _PCONFIGINTRIN_H_INCLUDED
#define _PCONFIGINTRIN_H_INCLUDED
#ifndef __PCONFIG__
#pragma GCC push_options
#pragma GCC target("pconfig")
#define __DISABLE_PCONFIG__
#endif /* __PCONFIG__ */
#define __pconfig_b(leaf, b, retval) \
__asm__ __volatile__ ("pconfig\n\t" \
: "=a" (retval) \
: "a" (leaf), "b" (b) \
: "cc")
#define __pconfig_generic(leaf, b, c, d, retval) \
__asm__ __volatile__ ("pconfig\n\t" \
: "=a" (retval), "=b" (b), "=c" (c), "=d" (d) \
: "a" (leaf), "b" (b), "c" (c), "d" (d) \
: "cc")
extern __inline unsigned int
__attribute__((__gnu_inline__, __always_inline__, __artificial__))
_pconfig_u32 (const unsigned int __L, size_t __D[])
{
enum __pconfig_type
{
__PCONFIG_KEY_PROGRAM = 0x01,
};
unsigned int __R = 0;
if (!__builtin_constant_p (__L))
__pconfig_generic (__L, __D[0], __D[1], __D[2], __R);
else switch (__L)
{
case __PCONFIG_KEY_PROGRAM:
__pconfig_b (__L, __D[0], __R);
break;
default:
__pconfig_generic (__L, __D[0], __D[1], __D[2], __R);
}
return __R;
}
#ifdef __DISABLE_PCONFIG__
#undef __DISABLE_PCONFIG__
#pragma GCC pop_options
#endif /* __DISABLE_PCONFIG__ */
#endif /* _PCONFIGINTRIN_H_INCLUDED */
|