libsimdpp  0.9.3
simdpp::float64x2 Class Reference

Public Types

typedef double element_type
 
typedef uint64_t uint_element_type
 
typedef basic_int64x2 int_vector_type
 
typedef uint64x2 uint_vector_type
 
typedef mask_float64x2 mask_type
 

Public Member Functions

 float64x2 ()
 
 float64x2 (const float64x2 &d)
 
float64x2operator= (const float64x2 &d)
 
 float64x2 (basic_int64x2 d)
 Construct from the underlying vector type. More...
 
float64x2operator= (basic_int64x2 d)
 Construct from the underlying vector type. More...
 

Static Public Member Functions

static float64x2 zero ()
 Creates a float64x2 vector with the contens set to zero. More...
 
static float64x2 load_broadcast (const double *v0)
 Creates a float64x2 vector from a value loaded from memory. More...
 
static float64x2 set_broadcast (double v0)
 Creates a float64x2 vector from a value stored in a core register. More...
 
static float64x2 make_const (double v0)
 Creates a float64x2 vector from a value known at compile-time. More...
 
static float64x2 make_const (double v0, double v1)
 Creates a float64x2 vector from two values known at compile-time. More...
 

Static Public Attributes

static const unsigned length = 2
 
static const unsigned num_bits = 64
 
static const uint_element_type all_bits = 0xffffffffffffffff
 

Detailed Description

Class representing float64x2 vector

Member Typedef Documentation

Constructor & Destructor Documentation

simdpp::float64x2::float64x2 ( )
inline
simdpp::float64x2::float64x2 ( const float64x2 d)
inline
simdpp::float64x2::float64x2 ( basic_int64x2  d)
explicit

Construct from the underlying vector type.

Convert to underlying vector type Construct from compatible int64x2 integer vector type

Member Function Documentation

static float64x2 simdpp::float64x2::load_broadcast ( const double *  v0)
static

Creates a float64x2 vector from a value loaded from memory.

| 0 1 |
r = [ v0 v0 ]
  • In SSE2-SSE4.1 this intrinsic results in at least 2 instructions.
static float64x2 simdpp::float64x2::make_const ( double  v0)
static

Creates a float64x2 vector from a value known at compile-time.

| 0 1 |
r = [ v0 v0 ]
static float64x2 simdpp::float64x2::make_const ( double  v0,
double  v1 
)
static

Creates a float64x2 vector from two values known at compile-time.

| 0 1 |
r = [ v0 v1 ]
float64x2& simdpp::float64x2::operator= ( const float64x2 d)
inline
float64x2& simdpp::float64x2::operator= ( basic_int64x2  d)
inline

Construct from the underlying vector type.

Convert to underlying vector type Construct from compatible int64x2 integer vector type

static float64x2 simdpp::float64x2::set_broadcast ( double  v0)
static

Creates a float64x2 vector from a value stored in a core register.

| 0 1 |
r = [ v0 v0 ]
  • In SSE2-SSE4.1 this intrinsic results in at least 2 instructions.
static float64x2 simdpp::float64x2::zero ( )
static

Creates a float64x2 vector with the contens set to zero.

r0 = 0.0
r1 = 0.0

Member Data Documentation

const uint_element_type simdpp::float64x2::all_bits = 0xffffffffffffffff
static
const unsigned simdpp::float64x2::length = 2
static
const unsigned simdpp::float64x2::num_bits = 64
static

The documentation for this class was generated from the following file: