![]() |
Blaze 3.9
|
Availability of a SIMD uniform left-shift for the given data types. More...
#include <HasSIMDShiftLI.h>
Inherits blaze::IntegralConstant< T, N >.
Availability of a SIMD uniform left-shift for the given data types.
Depending on the available instruction set (SSE, SSE2, SSE3, SSE4, AVX, AVX2, MIC, ...), and the used compiler, this type trait provides the information whether a SIMD uniform left-shift operation exists for the two given data types T1 and T2 (ignoring the cv-qualifiers). In case the SIMD uniform left-shift is available, the value member constant is set to true, the nested type definition Type is TrueType, and the class derives from TrueType. Otherwise value is set to false, Type is FalseType, and the class derives from FalseType. The following example assumes that AVX2 is available: