IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
Classes | Namespaces | Macros | Typedefs | Functions
Reg128_256ConvertTools.h File Reference

Functions to convert from 128 (resp. 256) bits registers to 256 (resp. 128) bits registers. More...

Go to the source code of this file.

Classes

union  ipsdk::simd::detail::imm_xmm_union
 

Namespaces

 ipsdk
 Main namespace for IPSDK library.
 
 ipsdk::simd
 Namespace agregating IPSDK SIMD routines and classes.
 

Macros

#define COPY_IMM_TO_XMM(imm_, xmm0_, xmm1_)
 
#define COPY_XMM_TO_IMM(xmm0_, xmm1_, imm_)
 

Typedefs

typedef union ipsdk::simd::detail::imm_xmm_union ipsdk::simd::detail::imm_xmm_union
 

Functions

union imm_xmm_union ipsdk::simd::detail::__attribute__ ((aligned(32))) aligned_imm_xmm_union
 

Detailed Description

Functions to convert from 128 (resp. 256) bits registers to 256 (resp. 128) bits registers.

Author
H. Delestre
Date
2017/03/30

Macro Definition Documentation

◆ COPY_IMM_TO_XMM

#define COPY_IMM_TO_XMM (   imm_,
  xmm0_,
  xmm1_ 
)
Value:
{ \
aligned_imm_xmm_union u; \
u.imm = imm_; \
xmm0_ = u.xmm[0]; \
xmm1_ = u.xmm[1]; \
}

◆ COPY_XMM_TO_IMM

#define COPY_XMM_TO_IMM (   xmm0_,
  xmm1_,
  imm_ 
)
Value:
{ \
aligned_imm_xmm_union u; \
u.xmm[0]=xmm0_; u.xmm[1]=xmm1_; imm_ = u.imm; \
}