IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
AssignRegImpl.h
Go to the documentation of this file.
1 // AssignRegImpl.h:
3 // ------------
4 //
14 
15 #ifndef __IPSDKUTIL_INSTRUCTIONSET_DETAIL_STD_ASSIGNREGIMPL_H__
16 #define __IPSDKUTIL_INSTRUCTIONSET_DETAIL_STD_ASSIGNREGIMPL_H__
17 
19 
20 namespace ipsdk {
21 namespace simd {
22 namespace detail {
23 
26 
27 template <typename T>
28 IPSDK_FORCEINLINE
29 T
30 AssignReg<eInstructionSet::eIS_Standard, T>
31 ::act(const T& value)
32 {
33  return value;
34 }
35 
36 template <typename T>
37 IPSDK_FORCEINLINE
38 void
39 AssignReg<eInstructionSet::eIS_Standard, T>
40 ::act(T& reg, const T& value)
41 {
42  reg = value;
43 }
44 
47 
48 } // end of namespace detail
49 } // end of namespace simd
50 } // end of namespace ipsdk
51 
52 #endif // __IPSDKUTIL_INSTRUCTIONSET_DETAIL_STD_ASSIGNREGIMPL_H__
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22