libsimdpp  0.9.3
simdpp::basic_int32x8 Class Reference

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

Inheritance diagram for simdpp::basic_int32x8:

Public Types

typedef uint32_t element_type
 
typedef uint32_t uint_element_type
 
typedef basic_int32x8 int_vector_type
 
typedef uint32x8 uint_vector_type
 
typedef basic_int32x4 half_vector_type
 
typedef mask_int32x8 mask_type
 
- Public Types inherited from simdpp::int256
typedef uint64_t element_type
 
typedef uint64_t uint_element_type
 
typedef int256 int_vector_type
 

Public Member Functions

 basic_int32x8 ()
 
 basic_int32x8 (const basic_int32x8 &d)
 
basic_int32x8operator= (const basic_int32x8 &d)
 
 basic_int32x8 (basic_int32x4 d0, basic_int32x4 d1)
 
const basic_int32x4operator[] (unsigned i) const
 
basic_int32x4operator[] (unsigned i)
 
 basic_int32x8 (const int256 &d)
 
basic_int32x8operator= (int256 d)
 
 basic_int32x8 (const float32x8 &d)
 
basic_int32x8operator= (const float32x8 &d)
 
- Public Member Functions inherited from simdpp::int256
 int256 ()
 
 int256 (const int256 &d)
 
int256operator= (const int256 &d)
 
 int256 (int128 d0, int128 d1)
 
const int128operator[] (unsigned i) const
 
int128operator[] (unsigned i)
 

Static Public Attributes

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

Additional Inherited Members

- Static Public Member Functions inherited from simdpp::int256
static int256 zero ()
 Creates a 128-bit integer vector with the contents set to zero. More...
 
static int256 ones ()
 Creates a 128-bit integer vector with contents set to ones. More...
 
- Protected Member Functions inherited from simdpp::int256
const uint64x2u64 (unsigned i) const
 
uint64x2u64 (unsigned i)
 
const uint32x4u32 (unsigned i) const
 
uint32x4u32 (unsigned i)
 
const uint16x8u16 (unsigned i) const
 
uint16x8u16 (unsigned i)
 
const uint8x16u8 (unsigned i) const
 
uint8x16u8 (unsigned i)
 
const int64x2i64 (unsigned i) const
 
int64x2i64 (unsigned i)
 
const int32x4i32 (unsigned i) const
 
int32x4i32 (unsigned i)
 
const int16x8i16 (unsigned i) const
 
int16x8i16 (unsigned i)
 
const int8x16i8 (unsigned i) const
 
int8x16i8 (unsigned i)
 

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_int32x8::basic_int32x8 ( )
inline
simdpp::basic_int32x8::basic_int32x8 ( const basic_int32x8 d)
inline
simdpp::basic_int32x8::basic_int32x8 ( const int256 d)
inline

Construct from base type

simdpp::basic_int32x8::basic_int32x8 ( const float32x8 d)
explicit

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

simdpp::basic_int32x8::basic_int32x8 ( basic_int32x4  d0,
basic_int32x4  d1 
)
inline

Member Function Documentation

basic_int32x8& simdpp::basic_int32x8::operator= ( const basic_int32x8 d)
inline
basic_int32x8& simdpp::basic_int32x8::operator= ( int256  d)
inline

Construct from base type

basic_int32x8& simdpp::basic_int32x8::operator= ( const float32x8 d)
inline

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

const basic_int32x4& simdpp::basic_int32x8::operator[] ( unsigned  i) const
inline
basic_int32x4& simdpp::basic_int32x8::operator[] ( unsigned  i)
inline

Member Data Documentation

const uint_element_type simdpp::basic_int32x8::all_bits = 0xffffffff
static
const unsigned simdpp::basic_int32x8::length = 8
static
const unsigned simdpp::basic_int32x8::num_bits = 32
static

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