16 #ifndef __IPSDKUTIL_INSTRUCTIONSET_ARITHMETIC_DETAIL_COMMON_TANREG_H__ 17 #define __IPSDKUTIL_INSTRUCTIONSET_ARITHMETIC_DETAIL_COMMON_TANREG_H__ 22 #include <IPSDKUtil/InstructionSet/Arithmetic/detail/AbsReg.h> 23 #include <IPSDKUtil/InstructionSet/Arithmetic/detail/AddReg.h> 26 #include <IPSDKUtil/InstructionSet/Arithmetic/detail/PolynomReg.h> 37 #include <boost/mpl/not_equal_to.hpp> 47 template <eInstructionSet::domain IS, eInstructionSet::domain ISFma>
48 struct TanReg<IS, ISFma,
ipReal32, typename
boost::enable_if<typename boost::mpl::not_equal_to<boost::mpl::int_<IS>, boost::mpl::int_<eInstructionSet::eIS_Standard> >::type>::type>
50 static IPSDK_FORCEINLINE
59 static IPSDK_FORCEINLINE
94 RegReal32 minusCephesDP1, minusCephesDP2, minusCephesDP3;
99 RegReal32 xmm1, xmm2, xmm3;
129 RegMaskInt32 jAndTwoNotNull;
131 RegInt32 regFromJAndTwoNotNull;
133 RegReal32 jAndTwoNotNullReal32;
137 RegReal32 minusOneDivByOut;
142 RegMaskReal32 inIsNeg;
153 RegReal32 cephesFOPI;
159 RegReal32 oneDivBy8, eight;
183 RegInt32 jAndOneNotNull;
188 RegReal32 jAndOneNotNullReal32;
192 RegReal32 outPlusOne;
198 RegReal32 minusCephesDP1, minusCephesDP2, minusCephesDP3;
205 RegReal32 xmm1, xmm2, xmm3;
220 -1.79565251976484877988E7f,
221 1.15351664838587416140E6f,
222 -1.30936939181383777646E4f,
230 -5.38695755929454629881E7f,
231 2.50083801823357915839E7f,
232 -1.32089234440210967447E6f,
233 1.36812963470692954678E4f,
234 1.00000000000000000000E0f,
243 RegInt32 jAndTwoNotNull;
245 RegReal32 jAndTwoNotNullReal32;
249 RegReal32 minusOneDivByOut;
253 RegReal32 inIsNeg, minusOut;
268 #endif // __IPSDKUTIL_INSTRUCTIONSET_ARITHMETIC_DETAIL_COMMON_TANREG_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
template structure which is specialized to implement the computation of tan function on a scalar or a...
Definition: TanReg.h:39
template structure which is specialized to implement the computation of value rounded to closest even...
Definition: FloorReg.h:36
Definition: DataItemNodeHdrMacrosDetails.h:48
Definition: BitwiseSelectReg.h:30
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: UnaryMinusReg.h:40
Definition: RegMaskType.h:29
Definition: BitwiseCastReg.h:29
template structure which is specialized to implement the computation of abs function on a scalar or a...
Definition: AbsReg.h:46
Definition: BitwiseAndReg.h:30
Definition: AssignRegDecl.h:31
float ipReal32
Base types definition.
Definition: BaseTypes.h:56