/usr/lib/x86_64-linux-gnu/graphene-1.0/include/graphene-config.h is in libgraphene-1.0-dev 1.8.0-1.
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 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 | /* graphene-config.h
*
* This is a generated file, DO NOT EDIT.
*/
#ifndef __GRAPHENE_CONFIG_H__
#define __GRAPHENE_CONFIG_H__
#ifdef __cplusplus
extern "C" {
#endif
#ifndef GRAPHENE_SIMD_BENCHMARK
# if defined(__SSE__) || (_M_IX86_FP > 0) || (_M_X64 > 0) || (_MSC_VER >= 1800)
#define GRAPHENE_HAS_SSE 1
# endif
# if defined(__ARM_NEON__)
/* #undef GRAPHENE_HAS_ARM_NEON */
# endif
# if defined(__GNUC__) && (__GNUC__ >= 4 && __GNUC_MINOR__ >= 9) && !defined(__arm__)
#define GRAPHENE_HAS_GCC 1
# endif
# define GRAPHENE_HAS_SCALAR 1
#endif /* GRAPHENE_SIMD_BENCHMARK */
#if defined(GRAPHENE_HAS_SSE)
# define GRAPHENE_USE_SSE
# define GRAPHENE_SIMD_S "sse"
#elif defined(GRAPHENE_HAS_ARM_NEON)
# define GRAPHENE_USE_ARM_NEON
# define GRAPHENE_SIMD_S "neon"
#elif defined(GRAPHENE_HAS_GCC)
# define GRAPHENE_USE_GCC
# define GRAPHENE_SIMD_S "gcc"
#elif defined(GRAPHENE_HAS_SCALAR)
# define GRAPHENE_USE_SCALAR
# define GRAPHENE_SIMD_S "scalar"
#else
# error "Unsupported platform."
#endif
#ifndef __GI_SCANNER__
# if defined(GRAPHENE_USE_SSE)
# include <xmmintrin.h>
# include <emmintrin.h>
# if defined(_M_IX86_FP)
# if _M_IX86_FP >= 2
# define GRAPHENE_USE_SSE4_1
# endif
# elif defined(__SSE4_1__)
# define GRAPHENE_USE_SSE4_1
# elif defined(_MSC_VER)
# define GRAPHENE_USE_SSE4_1
# endif
# if defined(GRAPHENE_USE_SSE4_1)
# include <smmintrin.h>
# endif
typedef __m128 graphene_simd4f_t;
# elif defined(GRAPHENE_USE_ARM_NEON)
# include <arm_neon.h>
typedef float32x4_t graphene_simd4f_t;
# elif defined(GRAPHENE_USE_GCC)
typedef float graphene_simd4f_t __attribute__((vector_size(16)));
# elif defined(GRAPHENE_USE_SCALAR)
typedef struct {
/*< private >*/
float x, y, z, w;
} graphene_simd4f_t;
# else
# error "Unsupported platform."
# endif
#else /* __GI_SCANNER__ */
/* The gobject-introspection scanner has issues parsing the
* system headers with SIMD built-ins, so we fall back to
* scalars; it does not really matter, as we wrap them in
* our public API, and introspection cannot use the SIMD API
* directly anyway.
*/
typedef struct {
/*< private >*/
float x, y, z, w;
} graphene_simd4f_t;
#endif /* __GI_SCANNER__ */
typedef struct {
/*< private >*/
graphene_simd4f_t x, y, z, w;
} graphene_simd4x4f_t;
#ifdef __cplusplus
}
#endif
#endif /* __GRAPHENE_CONFIG_H__ */
|