libsimdpp  0.9.3
simdpp::basic_int32x4 Class Reference

Generic class representing 4x 32-bit integer vector. More...

Inheritance diagram for simdpp::basic_int32x4:

Public Types

typedef uint32_t element_type
 
typedef uint32_t uint_element_type
 
typedef basic_int32x4 int_vector_type
 
typedef uint32x4 uint_vector_type
 
typedef mask_int32x4 mask_type
 
- Public Types inherited from simdpp::int128
typedef uint64_t element_type
 
typedef uint64_t uint_element_type
 
typedef int128 int_vector_type
 

Public Member Functions

 basic_int32x4 ()
 
 basic_int32x4 (const basic_int32x4 &d)
 
basic_int32x4operator= (const basic_int32x4 &d)
 
 basic_int32x4 (const int128 &d)
 
basic_int32x4operator= (int128 d)
 
 basic_int32x4 (const float32x4 &d)
 
basic_int32x4operator= (const float32x4 &d)
 
- Public Member Functions inherited from simdpp::int128
 int128 ()
 
 int128 (const int128 &d)
 
int128operator= (const int128 &d)
 

Static Public Attributes

static const unsigned length = 4
 
static const unsigned num_bits = 32
 
static const uint_element_type all_bits = 0xffffffff
 
- Static Public Attributes inherited from simdpp::int128
static const unsigned length = 2
 
static const unsigned num_bits = 64
 
static const uint_element_type all_bits = 0xffffffffffffffff
 

Additional Inherited Members

- Static Public Member Functions inherited from simdpp::int128
static int128 zero ()
 Creates a 128-bit integer vector with the contents set to zero. More...
 
static int128 ones ()
 Creates a 128-bit integer vector with contents set to ones. More...
 

Detailed Description

Generic class representing 4x 32-bit integer vector.

To be used where the signedness of the underlying element type is not important

Member Typedef Documentation

Constructor & Destructor Documentation

simdpp::basic_int32x4::basic_int32x4 ( )
inline
simdpp::basic_int32x4::basic_int32x4 ( const basic_int32x4 d)
inline
simdpp::basic_int32x4::basic_int32x4 ( const int128 d)
inline

Construct from base type

simdpp::basic_int32x4::basic_int32x4 ( const float32x4 d)
explicit

Construct from the underlying vector type Construct from compatible float32x4 integer vector type

Member Function Documentation

basic_int32x4& simdpp::basic_int32x4::operator= ( const basic_int32x4 d)
inline
basic_int32x4& simdpp::basic_int32x4::operator= ( int128  d)
inline

Construct from base type

basic_int32x4& simdpp::basic_int32x4::operator= ( const float32x4 d)
inline

Construct from the underlying vector type Construct from compatible float32x4 integer vector type

Member Data Documentation

const uint_element_type simdpp::basic_int32x4::all_bits = 0xffffffff
static
const unsigned simdpp::basic_int32x4::length = 4
static
const unsigned simdpp::basic_int32x4::num_bits = 32
static

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