15 #ifndef __IPSDKUTIL_INSTRUCTIONSET_ARITHMETIC_DETAIL_COMMON_POWREG_H__ 16 #define __IPSDKUTIL_INSTRUCTIONSET_ARITHMETIC_DETAIL_COMMON_POWREG_H__ 20 #include <IPSDKUtil/InstructionSet/Arithmetic/detail/AbsReg.h> 22 #include <IPSDKUtil/InstructionSet/Arithmetic/detail/IsOddReg.h> 23 #include <IPSDKUtil/InstructionSet/Arithmetic/detail/PowReg.h> 24 #include <IPSDKUtil/InstructionSet/Arithmetic/detail/PowNoCheckReg.h> 39 #include <boost/mpl/not_equal_to.hpp> 49 template <eInstructionSet::domain IS, eInstructionSet::domain ISFma>
54 typename
boost::enable_if<
55 typename boost::mpl::not_equal_to<
57 boost::mpl::int_<eInstructionSet::eIS_Standard>
62 static IPSDK_FORCEINLINE
72 static IPSDK_FORCEINLINE
83 Reg zero, one, inf, minf, nan;
96 RegMask baseIsMinusZero;
98 RegMask expIsPos, expIsNeg, expIsOdd;
108 RegMask baseEqualsToInfinity;
110 RegMask baseEqualsToMinusInfinity;
113 RegMask expEqualsToInfinity;
115 RegMask expEqualsToMinusInfinity;
120 RegMask baseIsNullAndExpIsNeg;
125 RegMask baseIsMinusZeroAndExpIsNegOdd;
131 RegMask absBaseLessThanOne;
133 Reg regFromAbsBaseLessThanOne;
135 Reg infIfAbsBaseLessThanOneElse0;
141 Reg zeroIfAbsBaseLessThanOneElseInf;
146 RegMask expEqualsToPlusInfinity;
149 RegMask baseEqualsToMinusOne;
154 baseEqualsToMinusOne);
156 RegMask baseEqualsToMinusOneAndAbsExpEqualsToInf;
164 Reg mzeroIfExpisOddElseZero, minfIfExpIsOddElseInf, zeroIfExpIsNegElseInf;
170 mzeroIfExpisOddElseZero,
171 minfIfExpIsOddElseInf,
172 zeroIfExpIsNegElseInf);
191 RegMask baseEqualsToOne;
209 #endif // __IPSDKUTIL_INSTRUCTIONSET_ARITHMETIC_DETAIL_COMMON_POWREG_H__
Defines the IPSDK_FORCEINLINE.
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
Definition: BitwiseAndNotReg.h:30
Definition: IsEqualRegDecl.h:35
IsEqualReg<eInstructionSet::domain instructionSet, typename T, typename Enable=void> structure...
Definition: IsGreaterRegDecl.h:30
template structure which is specialized to implement the computation of pow function on scalars or re...
Definition: PowNoCheckReg.h:38
Definition: DataItemNodeHdrMacrosDetails.h:48
Definition: IfElse0Reg.h:33
Definition of import/export macro for library.
Definition: LogicalOrReg.h:30
Definition: IfElseReg.h:33
Definition: IsNotEqualRegDecl.h:30
Definition: RegMaskType.h:29
template structure which is specialized to implement the computation of abs function on a scalar or a...
Definition: AbsReg.h:46
template structure which is specialized to implement the computation of pow function on scalars or re...
Definition: PowReg.h:38
Definition: LogicalAndReg.h:30
Definition: IsLessRegDecl.h:30
Definition: BitwiseAndReg.h:30
Definition: AssignRegDecl.h:31
float ipReal32
Base types definition.
Definition: BaseTypes.h:56
template structure which is specialized to implement the isOdd function
Definition: IsOddReg.h:35