uvg266/src/strategies/strategies-common.h

17 lines
400 B
C
Raw Normal View History

#ifndef STRATEGIES_COMMON_H_
#define STRATEGIES_COMMON_H_
/**
* \ingroup Optimization
* \file
* Common tools strategies.
*/
2016-03-30 09:41:37 +00:00
#include "global.h" // IWYU pragma: keep
//Use with shuffle and permutation intrinsics.
//Parameters are indices to packed elements. Each must be 0, 1, 2 or 3.
#define KVZ_PERMUTE(a, b, c, d) ( (a << 0) | (b << 2) | (c << 4) | (d << 6) )
#endif //STRATEGIES_COMMON_H_