IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
AssignRegDecl.h
Go to the documentation of this file.
1 // AssignRegDecl.h:
3 // ------------
4 //
14 
15 #ifndef __IPSDKUTIL_INSTRUCTIONSET_DETAIL_AVX_ASSIGNREGDECL_H__
16 #define __IPSDKUTIL_INSTRUCTIONSET_DETAIL_AVX_ASSIGNREGDECL_H__
17 
23 
24 #include <boost/type_traits/is_same.hpp>
25 #include <boost/type_traits/is_signed.hpp>
26 
27 namespace ipsdk {
28 namespace simd {
29 namespace detail {
30 
33 
34 // load implementation for AVX for int32 types
35 template <>
37 {
38  static IPSDK_FORCEINLINE
40  act(const ipInt32& value);
41 
42  static IPSDK_FORCEINLINE
43  void
44  act(AvxType<ipInt32>::Type& reg, const ipInt32& value);
45 };
46 
47 // load implementation for AVX for real32 types
48 template <>
50 {
51  static IPSDK_FORCEINLINE
53  act(const ipReal32& value);
54 
55  static IPSDK_FORCEINLINE
56  void
57  act(AvxType<ipReal32>::Type& reg, const ipReal32& value);
58 };
59 
60 // load implementation for AVX for real64 types
61 template <>
63 {
64  static IPSDK_FORCEINLINE
66  act(const ipReal64& value);
67 
68  static IPSDK_FORCEINLINE
69  void
70  act(AvxType<ipReal64>::Type& reg, const ipReal64& value);
71 };
72 
75 
76 } // end of namespace detail
77 } // end of namespace simd
78 } // end of namespace ipsdk
79 
80 #endif // __IPSDKUTIL_INSTRUCTIONSET_DETAIL_AVX_ASSIGNREGDECL_H__
Defines the IPSDK_FORCEINLINE.
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
double ipReal64
Base types definition.
Definition: BaseTypes.h:57
int32_t ipInt32
Base types definition.
Definition: BaseTypes.h:52
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.
structure used to retrieve AVX type associated to a base type
Definition: AvxTypes.h:33
Definition: AssignRegDecl.h:31
float ipReal32
Base types definition.
Definition: BaseTypes.h:56