IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
BitwiseXOrReg.h
Go to the documentation of this file.
1 // BitwiseXOrReg.h:
3 // -------------------
4 //
14 
15 #ifndef __IPSDKUTIL_INSTRUCTIONSET_LOGICAL_DETAIL_AVX_BITWISEXORREG_H__
16 #define __IPSDKUTIL_INSTRUCTIONSET_LOGICAL_DETAIL_AVX_BITWISEXORREG_H__
17 
21 
22 namespace ipsdk {
23 namespace simd {
24 namespace detail {
25 
28 
29 template <>
31 {
32  static IPSDK_FORCEINLINE
34  act(const AvxType<ipReal32>::Type& in1,
35  const AvxType<ipReal32>::Type& in2)
36  {
37  return _mm256_xor_ps(in1, in2);
38  }
39 
40  static IPSDK_FORCEINLINE
41  void
42  act(const AvxType<ipReal32>::Type& in1,
43  const AvxType<ipReal32>::Type& in2,
45  {
46  out = _mm256_xor_ps(in1, in2);
47  }
48 };
49 
52 
53 } // end of namespace detail
54 } // end of namespace simd
55 } // end of namespace ipsdk
56 
57 #endif // __IPSDKUTIL_INSTRUCTIONSET_LOGICAL_DETAIL_AVX_BITWISEXORREG_H__
Defines the IPSDK_FORCEINLINE.
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
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
Definition: BitwiseXOrReg.h:30
Definition of import/export macro for library.
structure used to retrieve AVX type associated to a base type
Definition: AvxTypes.h:33
float ipReal32
Base types definition.
Definition: BaseTypes.h:56