IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
MulReg.h
Go to the documentation of this file.
1 // MulReg.h:
3 // -------------------
4 //
14 
15 #ifndef __IPSDKUTIL_INSTRUCTIONSET_ARITHMETIC_DETAIL_STD_MULREG_H__
16 #define __IPSDKUTIL_INSTRUCTIONSET_ARITHMETIC_DETAIL_STD_MULREG_H__
17 
20 
21 namespace ipsdk {
22 namespace simd {
23 namespace detail {
24 
27 
29 template <typename T>
31 {
32  static IPSDK_FORCEINLINE
33  T
34  act(const T& in1, const T& in2)
35  {
36  return in1 * in2;
37  }
38 
39  static IPSDK_FORCEINLINE
40  void
41  act(const T& in1, const T& in2, T& out)
42  {
43  out = in1 * in2;
44  }
45 };
46 
49 
50 } // end of namespace detail
51 } // end of namespace simd
52 } // end of namespace ipsdk
53 
54 #endif // __IPSDKUTIL_INSTRUCTIONSET_ARITHMETIC_DETAIL_STD_MULREG_H__
Defines the IPSDK_FORCEINLINE.
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
eInstructionSet
Enumerate for processor instruction set description.
Definition: InstructionSetTypes.h:31
Definition of import/export macro for library.
Definition: MulReg.h:39
compiler optimisations only
Definition: InstructionSetTypes.h:34