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_AVX2_UNARYMINUSREG_H__
16 #define __IPSDKUTIL_INSTRUCTIONSET_ARITHMETIC_DETAIL_AVX2_UNARYMINUSREG_H__
17 
23 
24 namespace ipsdk {
25 namespace simd {
26 namespace detail {
27 
30 
32 template <typename T>
34  typename boost::enable_if_c<true>::type
35  >
36 {
37  static IPSDK_FORCEINLINE
38  typename AvxType<T>::Type
39  act(const typename AvxType<T>::Type& in)
40  {
41  const typename AvxType<T>::Type zero =
44  }
45 
46  static IPSDK_FORCEINLINE
47  void
48  act(const typename AvxType<T>::Type& in,
49  typename AvxType<T>::Type& out)
50  {
51  typename AvxType<T>::Type zero;
54  }
55 };
56 
59 
60 } // end of namespace detail
61 } // end of namespace simd
62 } // end of namespace ipsdk
63 
64 #endif // __IPSDKUTIL_INSTRUCTIONSET_ARITHMETIC_DETAIL_AVX2_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
Advanced Vector Extensions 2.
Definition: InstructionSetTypes.h:48
Definition of import/export macro for library.
Definition: UnaryMinusReg.h:40
structure used to retrieve AVX type associated to a base type
Definition: AvxTypes.h:33
Definition: AssignRegDecl.h:31