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_AVX_FMADDREG_H__
16 #define __IPSDKUTIL_INSTRUCTIONSET_ARITHMETIC_DETAIL_AVX_FMADDREG_H__
17 
20 #include <IPSDKUtil/InstructionSet/Arithmetic/detail/FmaddReg.h>
21 #include <IPSDKUtil/InstructionSet/Arithmetic/detail/AddReg.h>
25 
26 namespace ipsdk {
27 namespace simd {
28 namespace detail {
29 
32 
35 template <typename T>
37 {
38  static
39  IPSDK_FORCEINLINE
40  typename AvxType<T>::Type
41  act(const typename AvxType<T>::Type& in1,
42  const typename AvxType<T>::Type& in2,
43  const typename AvxType<T>::Type& in3)
44  {
47  in3);
48  }
49 
50  static
51  IPSDK_FORCEINLINE
52  void
53  act(const typename AvxType<T>::Type& in1,
54  const typename AvxType<T>::Type& in2,
55  const typename AvxType<T>::Type& in3,
56  typename AvxType<T>::Type& out)
57  {
58  typename AvxType<T>::Type prod;
61  }
62 };
63 
66 
67 } // end of namespace detail
68 } // end of namespace simd
69 } // end of namespace ipsdk
70 
71 #endif // __IPSDKUTIL_INSTRUCTIONSET_ARITHMETIC_DETAIL_AVX_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.
Definition: InstructionSetTypes.h:44
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