17 #ifndef __IPSDKUTIL_INSTRUCTIONSET_ARITHMETIC_DETAIL_COMMON_LOGREG_H__ 18 #define __IPSDKUTIL_INSTRUCTIONSET_ARITHMETIC_DETAIL_COMMON_LOGREG_H__ 23 #include <IPSDKUtil/InstructionSet/Arithmetic/detail/AddReg.h> 24 #include <IPSDKUtil/InstructionSet/Arithmetic/detail/FrexpReg.h> 28 #include <IPSDKUtil/InstructionSet/Arithmetic/detail/PolynomReg.h> 46 template <eInstructionSet::domain IS, eInstructionSet::domain ISFma>
49 static IPSDK_FORCEINLINE
58 static IPSDK_FORCEINLINE
67 const ipInt32 scalarMinNormPos = 0x00800000;
79 RegReal32 one, cephesSqrtHalf;
89 RegReal32 regFromMask, tmp, oneAndMask;
116 RegReal32 cephesLogQ1, halfOne, cephesLogQ2;
134 RegReal32 inf, minusInf, minusEps, eps, nan;
135 RegMaskReal32 inIsNull, inIsNeg, inIsNan, inIsInf;
159 #endif // __IPSDKUTIL_INSTRUCTIONSET_ARITHMETIC_DETAIL_COMMON_LOGREG_H__
template structure which is specialized to implement the computation of a polynom of degree 8 applied...
Definition: PolynomReg.h:43
Defines the IPSDK_FORCEINLINE.
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
Definition: IsEqualRegDecl.h:35
IsEqualReg<eInstructionSet::domain instructionSet, typename T, typename Enable=void> structure...
template structure which is specialized to implement the maximum computation on 2 scalars or 2 regist...
template structure which is specialized to implement the decomposition of input floating value f into...
Definition: FrexpReg.h:37
int32_t ipInt32
Base types definition.
Definition: BaseTypes.h:52
IPSDK_FORCEINLINE PackT min(const PackT &in1, const PackT &in2)
returns the minimum of 2 packs
Definition: min.h:40
Definition: MaxRegDecl.h:29
Definition of import/export macro for library.
template structure which is specialized to implement the arithmetic addition on 2 scalars or 2 regist...
Definition: AddReg.h:37
Definition: IfElseReg.h:33
Definition: IsNotEqualRegDecl.h:30
Definition: RegMaskType.h:29
Definition: IsLessRegDecl.h:30
Definition: BitwiseAndReg.h:30
template structure which is specialized to implement the computation of natural logarithm on a scalar...
Definition: LogReg.h:40
Definition: AssignRegDecl.h:31
float ipReal32
Base types definition.
Definition: BaseTypes.h:56