105 : int {
106#define M(op) op,
109#undef M
110};
111
112
113
114#if defined(__clang__) || defined(__GNUC__)
115 static constexpr float INFINITY_ = __builtin_inff();
116#else
117 static const union {
120 }
inf_ = { 0x7f800000 };
121 #define INFINITY_ inf_.f
122#endif
123
124
125
126#if defined(__clang__)
127 template <
int N,
typename T>
using Vec =
T __attribute__((ext_vector_type(
N)));
128#elif defined(__GNUC__)
129
130
131 template <int N, typename T> struct VecHelper {
133 };
134 template <int N, typename T> using Vec = typename VecHelper<N, T>::V;
135#endif
136
137
138
139namespace baseline {
140
141void run_program(
const Op* program,
const void** contexts, ptrdiff_t programSize,
142 const char* src, char* dst, int n,
143 const size_t src_bpp, const size_t dst_bpp);
144
145}
146namespace hsw {
147
148void run_program(
const Op* program,
const void** contexts, ptrdiff_t programSize,
149 const char* src, char* dst, int n,
150 const size_t src_bpp, const size_t dst_bpp);
151
152}
153namespace skx {
154
155void run_program(
const Op* program,
const void** contexts, ptrdiff_t programSize,
156 const char* src, char* dst, int n,
157 const size_t src_bpp, const size_t dst_bpp);
158
159}
160}
__attribute__((visibility("default"))) int RunBenchmarks(int argc
static const union skcms_private::@307 inf_