IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
UnaryMinusReg.h
Go to the documentation of this file.
1 // UnaryMinusReg.h:
3 // -------------------
4 //
14 
15 #ifndef __IPSDKUTIL_INSTRUCTIONSET_ARITHMETIC_DETAIL_SSE2_UNARYMINUSREG_H__
16 #define __IPSDKUTIL_INSTRUCTIONSET_ARITHMETIC_DETAIL_SSE2_UNARYMINUSREG_H__
17 
24 
25 namespace ipsdk {
26 namespace simd {
27 namespace detail {
28 
31 
33 template <typename T>
35  typename boost::enable_if_c<true>::type
36  >
37 {
38  static IPSDK_FORCEINLINE
39  typename Sse2Type<T>::Type
40  act(const typename Sse2Type<T>::Type& in)
41  {
42  const typename Sse2Type<T>::Type zero =
45  }
46 
47  static IPSDK_FORCEINLINE
48  void
49  act(const typename Sse2Type<T>::Type& in,
50  typename Sse2Type<T>::Type& out)
51  {
52  typename Sse2Type<T>::Type zero;
55  }
56 };
57 
60 
61 } // end of namespace detail
62 } // end of namespace simd
63 } // end of namespace ipsdk
64 
65 #endif // __IPSDKUTIL_INSTRUCTIONSET_ARITHMETIC_DETAIL_SSE2_UNARYMINUSREG_H__
Defines the IPSDK_FORCEINLINE.
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
Definition: SubReg.h:39
eInstructionSet
Enumerate for processor instruction set description.
Definition: InstructionSetTypes.h:31
Predefined types for Sse2 instruction set management.
Definition of import/export macro for library.
Definition: UnaryMinusReg.h:40
Streaming SIMD Extensions 2.
Definition: InstructionSetTypes.h:36
structure used to retrieve SSE2 type associated to a base type
Definition: Sse2Types.h:32
Definition: AssignRegDecl.h:31