Grid 0.7.0
Grid_sse4.h File Reference

Optimization libraries for SSE4 instructions set. More...

#include <immintrin.h>
#include <pmmintrin.h>

Go to the source code of this file.

Data Structures

union  uconv< vtype >
union  u128f
union  u128d
struct  Vsplat
struct  Vstore
struct  Vstream
struct  Vset
struct  Reduce< Out_type, In_type >
struct  Sum
struct  Sub
struct  MultRealPart
struct  MaddRealPart
struct  MultComplex
struct  Mult
struct  Div
struct  Conj
struct  TimesMinusI
struct  TimesI
struct  Permute
struct  PrecisionChange
struct  Exchange
struct  Rotate

Macros

#define _my_alignr_epi32(a, b, n)
#define _my_alignr_epi64(a, b, n)
#define Grid_mm_cvtps_ph
#define Grid_mm_cvtph_ps

Typedefs

typedef __m128i SIMD_Htype
typedef __m128 SIMD_Ftype
typedef __m128d SIMD_Dtype
typedef __m128i SIMD_Itype
template<typename S, typename T>
using ReduceSIMD

Functions

 NAMESPACE_BEGIN (Grid)
 NAMESPACE_BEGIN (Optimization)
 NAMESPACE_END (Optimization)
void v_prefetch0 (int size, const char *ptr)
void prefetch_HINT_T0 (const char *ptr)
 NAMESPACE_END (Grid)

Detailed Description

Optimization libraries for SSE4 instructions set.

Using intrinsics

Definition in file Grid_sse4.h.

Macro Definition Documentation

◆ _my_alignr_epi32

#define _my_alignr_epi32 ( a,
b,
n )

Definition at line 329 of file Grid_sse4.h.

Referenced by PrecisionChange::HtoS(), PrecisionChange::StoD(), and Rotate::tRotate().

◆ _my_alignr_epi64

#define _my_alignr_epi64 ( a,
b,
n )

Definition at line 330 of file Grid_sse4.h.

Referenced by Rotate::tRotate().

◆ Grid_mm_cvtps_ph

#define Grid_mm_cvtps_ph

Definition at line 355 of file Grid_sse4.h.

Referenced by PrecisionChange::StoH().

◆ Grid_mm_cvtph_ps

#define Grid_mm_cvtph_ps

Definition at line 356 of file Grid_sse4.h.

Referenced by PrecisionChange::HtoS().

Typedef Documentation

◆ SIMD_Htype

typedef __m128i SIMD_Htype

Definition at line 510 of file Grid_sse4.h.

◆ SIMD_Ftype

typedef __m128 SIMD_Ftype

Definition at line 511 of file Grid_sse4.h.

◆ SIMD_Dtype

typedef __m128d SIMD_Dtype

Definition at line 512 of file Grid_sse4.h.

◆ SIMD_Itype

typedef __m128i SIMD_Itype

Definition at line 513 of file Grid_sse4.h.

◆ ReduceSIMD

template<typename S, typename T>
using ReduceSIMD

Definition at line 526 of file Grid_sse4.h.

Function Documentation

◆ NAMESPACE_BEGIN() [1/2]

NAMESPACE_BEGIN ( Grid )

◆ NAMESPACE_BEGIN() [2/2]

NAMESPACE_BEGIN ( Optimization )

◆ NAMESPACE_END() [1/2]

NAMESPACE_END ( Optimization )

◆ v_prefetch0()

void v_prefetch0 ( int size,
const char * ptr )
inline

Definition at line 516 of file Grid_sse4.h.

◆ prefetch_HINT_T0()

void prefetch_HINT_T0 ( const char * ptr)
inline

Definition at line 517 of file Grid_sse4.h.

◆ NAMESPACE_END() [2/2]

NAMESPACE_END ( Grid )