15 #ifndef __IPSDKUTIL_INSTRUCTIONSET_ARITHMETIC_DETAIL_AVX2_TRUNCATEREG_H__ 16 #define __IPSDKUTIL_INSTRUCTIONSET_ARITHMETIC_DETAIL_AVX2_TRUNCATEREG_H__ 20 #include <IPSDKUtil/InstructionSet/Arithmetic/detail/TruncateReg.h> 35 static IPSDK_FORCEINLINE
39 return _mm256_round_ps(in, _MM_FROUND_TO_ZERO);
42 static IPSDK_FORCEINLINE
47 out = _mm256_round_ps(in, _MM_FROUND_TO_ZERO);
56 static IPSDK_FORCEINLINE
60 return _mm256_round_pd(in, _MM_FROUND_TO_ZERO);
63 static IPSDK_FORCEINLINE
68 out = _mm256_round_pd(in, _MM_FROUND_TO_ZERO);
79 #endif // __IPSDKUTIL_INSTRUCTIONSET_ARITHMETIC_DETAIL_AVX2_TRUNCATEREG_H__ Defines the IPSDK_FORCEINLINE.
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
double ipReal64
Base types definition.
Definition: BaseTypes.h:57
BasePack class; defines a set of scalars (for instruction set "standard") or registers (for all other...
eInstructionSet
Enumerate for processor instruction set description.
Definition: InstructionSetTypes.h:31
Advanced Vector Extensions 2.
Definition: InstructionSetTypes.h:48
Definition of import/export macro for library.
structure used to retrieve AVX type associated to a base type
Definition: AvxTypes.h:33
template structure which is specialized to implement the computation of value truncated to nearest in...
Definition: TruncateReg.h:37
float ipReal32
Base types definition.
Definition: BaseTypes.h:56