IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
FmaddReg.h
Go to the documentation of this file.
1 // FmaddReg.h:
3 // -------------------
4 //
14 
15 #ifndef __IPSDKUTIL_INSTRUCTIONSET_ARITHMETIC_DETAIL_AVX2_FMADDREG_H__
16 #define __IPSDKUTIL_INSTRUCTIONSET_ARITHMETIC_DETAIL_AVX2_FMADDREG_H__
17 
21 #include <IPSDKUtil/InstructionSet/Arithmetic/detail/FmaddReg.h>
22 #include <IPSDKUtil/InstructionSet/Arithmetic/detail/AddReg.h>
26 
27 namespace ipsdk {
28 namespace simd {
29 namespace detail {
30 
33 
36 template <typename T>
38 {
39  static
40  IPSDK_FORCEINLINE
41  typename AvxType<T>::Type
42  act(const typename AvxType<T>::Type& in1,
43  const typename AvxType<T>::Type& in2,
44  const typename AvxType<T>::Type& in3)
45  {
48  in3);
49  }
50 
51  static
52  IPSDK_FORCEINLINE
53  void
54  act(const typename AvxType<T>::Type& in1,
55  const typename AvxType<T>::Type& in2,
56  const typename AvxType<T>::Type& in3,
57  typename AvxType<T>::Type& out)
58  {
59  typename AvxType<T>::Type prod;
62  }
63 };
64 
67 
68 } // end of namespace detail
69 } // end of namespace simd
70 } // end of namespace ipsdk
71 
72 #endif // __IPSDKUTIL_INSTRUCTIONSET_ARITHMETIC_DETAIL_AVX2_FMADDREG_H__
Defines the IPSDK_FORCEINLINE.
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
Definition: FmaddReg.h:37
Predefined types for Avx instruction set management.
eInstructionSet
Enumerate for processor instruction set description.
Definition: InstructionSetTypes.h:31
Advanced Vector Extensions 2.
Definition: InstructionSetTypes.h:48
Predefined types associated to instruction set management.
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: MulReg.h:39
structure used to retrieve AVX type associated to a base type
Definition: AvxTypes.h:33