IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
CosReg.h
Go to the documentation of this file.
1 // CosReg.h:
3 // -------------------
4 //
13 
14 #ifndef __IPSDKUTIL_INSTRUCTIONSET_ARITHMETIC_DETAIL_AVX512_COSREG_H__
15 #define __IPSDKUTIL_INSTRUCTIONSET_ARITHMETIC_DETAIL_AVX512_COSREG_H__
16 
18 #include <IPSDKUtil/InstructionSet/Arithmetic/detail/CosReg.h>
21 
22 #include "immintrin.h"
23 
24 namespace ipsdk {
25 namespace simd {
26 namespace detail {
27 
30 
32 template <>
34 {
35  static IPSDK_FORCEINLINE
38  {
39  return _mm512_cos_ps(in);
40  }
41 
42  static IPSDK_FORCEINLINE
43  void
46  {
47  out = _mm512_cos_ps(in);
48  }
49 };
50 
53 
54 } // end of namespace detail
55 } // end of namespace simd
56 } // end of namespace ipsdk
57 
58 #endif // __IPSDKUTIL_INSTRUCTIONSET_ARITHMETIC_DETAIL_AVX512_COSREG_H__
Defines the IPSDK_FORCEINLINE.
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
(including fundation and byte and word instructions)
Definition: InstructionSetTypes.h:51
RegType class.
eInstructionSet
Enumerate for processor instruction set description.
Definition: InstructionSetTypes.h:31
Definition of import/export macro for library.
Definition: RegType.h:29
template structure which is specialized to implement the computation of cosine on a scalar or a regis...
Definition: CosReg.h:39
float ipReal32
Base types definition.
Definition: BaseTypes.h:56