IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
LoadRegDecl.h
Go to the documentation of this file.
1 // LoadRegDecl.h:
3 // ------------
4 //
14 
15 #ifndef __IPSDKUTIL_INSTRUCTIONSET_DETAIL_AVX512_LOADREGDECL_H__
16 #define __IPSDKUTIL_INSTRUCTIONSET_DETAIL_AVX512_LOADREGDECL_H__
17 
23 
24 namespace ipsdk {
25 namespace simd {
26 namespace detail {
27 
30 
31 // load implementation for AVX512 for integral types
32 template<typename T>
34  typename boost::enable_if_c<boost::is_integral<T>::value>::type>
35 {
36  static IPSDK_FORCEINLINE
37  typename Avx512Type<T>::Type act(const T* pT);
38 
39  static IPSDK_FORCEINLINE
40  void act(typename Avx512Type<T>::Type& reg, const T* pT);
41 };
42 
43 // load implementation for AVX512 for ipReal32
44 template<>
46 {
47  static IPSDK_FORCEINLINE
48  Avx512Type<ipReal32>::Type act(const ipReal32* pT);
49 
50  static IPSDK_FORCEINLINE
51  void act(Avx512Type<ipReal32>::Type& reg, const ipReal32* pT);
52 };
53 
54 // load implementation for AVX512 for ipReal64
55 template<>
57 {
58  static IPSDK_FORCEINLINE
59  Avx512Type<ipReal64>::Type act(const ipReal64* pT);
60 
61  static IPSDK_FORCEINLINE
62  void
63  act(Avx512Type<ipReal64>::Type& reg, const ipReal64* pT);
64 };
65 
66 
69 
70 } // end of namespace detail
71 } // end of namespace simd
72 } // end of namespace ipsdk
73 
74 #endif // __IPSDKUTIL_INSTRUCTIONSET_DETAIL_AVX512_LOADREGDECL_H__
Defines the IPSDK_FORCEINLINE.
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
double ipReal64
Base types definition.
Definition: BaseTypes.h:57
(including fundation and byte and word instructions)
Definition: InstructionSetTypes.h:51
BasePack class; defines a set of scalars (for instruction set "standard") or registers (for all other...
eInstructionSet
Enumerate for processor instruction set description.
Definition: InstructionSetTypes.h:31
Predefined types associated to instruction set management.
Definition of import/export macro for library.
Definition: LoadRegDecl.h:30
float ipReal32
Base types definition.
Definition: BaseTypes.h:56
structure used to retrieve AVX512 type associated to a base type
Definition: Avx512Types.h:36