15 #ifndef __IPSDKUTIL_INSTRUCTIONSET_COMPARISON_DETAIL_AVX_ISLESSEQUALREGIMPL_H__ 16 #define __IPSDKUTIL_INSTRUCTIONSET_COMPARISON_DETAIL_AVX_ISLESSEQUALREGIMPL_H__ 30 RegMaskType<eInstructionSet::eIS_Avx, ipReal32>::Type
31 IsLessEqualReg<eInstructionSet::eIS_Avx, ipReal32>::act(
32 const AvxType<ipReal32>::Type& in1,
33 const AvxType<ipReal32>::Type& in2)
35 return _mm256_cmp_ps(in1, in2, _CMP_LE_OQ);
39 RegMaskType<eInstructionSet::eIS_Avx, ipReal32>::Type
40 IsLessEqualReg<eInstructionSet::eIS_Avx, ipReal32>::act(
41 const AvxType<ipReal32>::Type& in1,
44 const AvxType<ipReal32>::Type regIn2 =
45 AssignReg<eInstructionSet::eIS_Avx, ipReal32>::act(in2);
46 return _mm256_cmp_ps(in1, regIn2, _CMP_LE_OQ);
51 IsLessEqualReg<eInstructionSet::eIS_Avx, ipReal32>::act(
52 const AvxType<ipReal32>::Type& in1,
53 const AvxType<ipReal32>::Type& in2,
54 RegMaskType<eInstructionSet::eIS_Avx, ipReal32>::Type& out)
56 out = _mm256_cmp_ps(in1, in2, _CMP_LE_OQ);
61 IsLessEqualReg<eInstructionSet::eIS_Avx, ipReal32>::act(
62 const AvxType<ipReal32>::Type& in1,
64 RegMaskType<eInstructionSet::eIS_Avx, ipReal32>::Type& out)
66 const AvxType<ipReal32>::Type regIn2 =
67 AssignReg<eInstructionSet::eIS_Avx, ipReal32>::act(in2);
68 out = _mm256_cmp_ps(in1, regIn2, _CMP_LE_OQ);
72 RegMaskType<eInstructionSet::eIS_Avx, ipReal64>::Type
73 IsLessEqualReg<eInstructionSet::eIS_Avx, ipReal64>::act(
74 const AvxType<ipReal64>::Type& in1,
75 const AvxType<ipReal64>::Type& in2)
77 return _mm256_cmp_pd(in1, in2, _CMP_LE_OQ);
81 RegMaskType<eInstructionSet::eIS_Avx, ipReal64>::Type
82 IsLessEqualReg<eInstructionSet::eIS_Avx, ipReal64>::act(
83 const AvxType<ipReal64>::Type& in1,
86 const AvxType<ipReal64>::Type regIn2 =
87 AssignReg<eInstructionSet::eIS_Avx, ipReal64>::act(in2);
88 return _mm256_cmp_pd(in1, regIn2, _CMP_LE_OQ);
93 IsLessEqualReg<eInstructionSet::eIS_Avx, ipReal64>::act(
94 const AvxType<ipReal64>::Type& in1,
95 const AvxType<ipReal64>::Type& in2,
96 RegMaskType<eInstructionSet::eIS_Avx, ipReal64>::Type& out)
98 out = _mm256_cmp_pd(in1, in2, _CMP_LE_OQ);
103 IsLessEqualReg<eInstructionSet::eIS_Avx, ipReal64>::act(
104 const AvxType<ipReal64>::Type& in1,
106 RegMaskType<eInstructionSet::eIS_Avx, ipReal64>::Type& out)
108 const AvxType<ipReal64>::Type regIn2 =
109 AssignReg<eInstructionSet::eIS_Avx, ipReal64>::act(in2);
110 out = _mm256_cmp_pd(in1, regIn2, _CMP_LE_OQ);
120 #endif // __IPSDKUTIL_INSTRUCTIONSET_COMPARISON_DETAIL_AVX_ISLESSEQUALREGIMPL_H__ Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
double ipReal64
Base types definition.
Definition: BaseTypes.h:57
Predefined types for Avx instruction set management.
float ipReal32
Base types definition.
Definition: BaseTypes.h:56