IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
SignedUnsignedOpReg.h
1 // SignedUnsignedOpReg.h:
3 // -----------------
4 //
22 
23 #ifndef __IPSDKUTIL_INSTRUCTIONSET_ARITHMETIC_DETAIL_SIGNEDUNSIGNEDOPREG_H__
24 #define __IPSDKUTIL_INSTRUCTIONSET_ARITHMETIC_DETAIL_SIGNEDUNSIGNEDOPREG_H__
25 
28 
29 #include <limits>
30 
31 namespace ipsdk {
32 namespace simd {
33 namespace detail {
34 
37 
38 /*
39  * Copied from boost_1_53_0/include/boost/random/detail/signed_unsigned_tools.hpp
40  * Compute x - y, we know that x >= y, return an unsigned value.
41  */
42 
49 template<eInstructionSet::domain instructionSet, typename T,
50  bool sgn = std::numeric_limits<T>::is_signed>
52 {
53 };
54 
55 /*
56  * Copied from boost_1_53_0/include/boost/random/detail/signed_unsigned_tools.hpp
57  * Compute x + y, x is unsigned, result fits in type of "y".
58  */
59 
66 template<eInstructionSet::domain instructionSet,
67  typename T1, typename T2,
68  bool sgn = std::numeric_limits<T2>::is_signed>
70 {
71 };
72 
75 
76 } // end of namespace detail
77 } // end of namespace simd
78 } // end of namespace ipsdk
79 
81 
82 #ifdef IPSDK_WITH_SSE2
84 #endif
85 
86 /*#ifdef IPSDK_WITH_AVX
87 #include <IPSDKUtil/InstructionSet/Arithmetic/detail/AVX/AddReg.h>
88 #endif
89 */
90 #ifdef IPSDK_WITH_AVX2
92 #endif
93 
94 #ifdef IPSDK_WITH_AVX512
96 #endif
97 
98 #endif // __IPSDKUTIL_INSTRUCTIONSET_ARITHMETIC_DETAIL_SIGNEDUNSIGNEDOPREG_H__
specialization of ipsdk::simd::detail::SignedUnsignedSubtractReg and SignedUnsignedAddReg structures ...
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
specialization of ipsdk::simd::detail::SignedUnsignedSubtractReg and SignedUnsignedAddReg structures ...
specialization of ipsdk::simd::detail::SignedUnsignedSubtractReg and SignedUnsignedAddReg structures ...
Definition: SignedUnsignedOpReg.h:69
Predefined types associated to instruction set management.
Definition of import/export macro for library.
specialization of ipsdk::simd::detail::SignedUnsignedSubtractReg and SignedUnsignedAddReg structures ...
Definition: SignedUnsignedOpReg.h:51