15 #ifndef __IPSDKUTIL_INSTRUCTIONSET_LOGICAL_DETAIL_SSE2_IFMASKALLONESELSEZEROPACK_H__ 16 #define __IPSDKUTIL_INSTRUCTIONSET_LOGICAL_DETAIL_SSE2_IFMASKALLONESELSEZEROPACK_H__ 38 typename boost::enable_if_c<boost::mpl::equal_to<boost::mpl::int_<sizeof(T)>, boost::mpl::int_<1> >::value>::type
41 static IPSDK_FORCEINLINE
46 out._val[0] = mask._val[0];
50 static IPSDK_FORCEINLINE
54 out._val[0] = mask._val[0];
64 typename boost::enable_if_c<boost::mpl::equal_to<boost::mpl::int_<sizeof(T)>, boost::mpl::int_<2> >::value>::type
67 static IPSDK_FORCEINLINE
72 out._val[0] = mask._val[0];
73 out._val[1] = mask._val[1];
77 static IPSDK_FORCEINLINE
81 out._val[0] = mask._val[0];
82 out._val[1] = mask._val[1];
92 typename boost::enable_if_c<boost::mpl::equal_to<boost::mpl::int_<sizeof(T)>, boost::mpl::int_<4> >::value>::type
95 static IPSDK_FORCEINLINE
100 out._val[0] = mask._val[0];
101 out._val[1] = mask._val[1];
102 out._val[2] = mask._val[2];
103 out._val[3] = mask._val[3];
107 static IPSDK_FORCEINLINE
111 out._val[0] = mask._val[0];
112 out._val[1] = mask._val[1];
113 out._val[2] = mask._val[2];
114 out._val[3] = mask._val[3];
120 template <
typename T>
124 typename boost::enable_if_c<boost::mpl::equal_to<boost::mpl::int_<sizeof(T)>, boost::mpl::int_<8> >::value>::type
127 static IPSDK_FORCEINLINE
132 out._val[0] = mask._val[0];
133 out._val[1] = mask._val[1];
134 out._val[2] = mask._val[2];
135 out._val[3] = mask._val[3];
136 out._val[4] = mask._val[4];
137 out._val[5] = mask._val[5];
138 out._val[6] = mask._val[6];
139 out._val[7] = mask._val[7];
143 static IPSDK_FORCEINLINE
147 out._val[0] = mask._val[0];
148 out._val[1] = mask._val[1];
149 out._val[2] = mask._val[2];
150 out._val[3] = mask._val[3];
151 out._val[4] = mask._val[4];
152 out._val[5] = mask._val[5];
153 out._val[6] = mask._val[6];
154 out._val[7] = mask._val[7];
165 #endif // __IPSDKUTIL_INSTRUCTIONSET_LOGICAL_DETAIL_SSE2_IFMASKALLONESELSEZEROPACK_H__ Definition: BasePack.h:37
Defines the IPSDK_FORCEINLINE.
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
cast function; casts a Pack<instructionSet, TIn> to a Pack<instructionSet, TOut>
Definition: IfMaskAllOnesElseZero.h:30
eInstructionSet
Enumerate for processor instruction set description.
Definition: InstructionSetTypes.h:31
function assigning a given value of type T to a given Pack<instructionSet, T>
Definition of import/export macro for library.
Streaming SIMD Extensions 2.
Definition: InstructionSetTypes.h:36
Definition: BaseMaskPack.h:30