Generic SIMD Intrinsic Library API  0.6
 All Classes Namespaces Files Functions Variables Typedefs Friends Macros
Public Member Functions | List of all members
generic::svec< 4, void * > Struct Template Reference

data representation and operations on a vector of 4 pointers. This is only used in gather and scatter. More...

#include <generic4.h>

Inheritance diagram for generic::svec< 4, void * >:
generic::svec< Lanes, T >

Public Member Functions

 svec (void *p0, void *p1, void *p2, void *p3)
 Constructor. More...
 

Detailed Description

template<>
struct generic::svec< 4, void * >

data representation and operations on a vector of 4 pointers. This is only used in gather and scatter.

including gather general/gather base offsets, scatter general, scatter base offsets

Here, we will define a special compile time dependent type for ptrs vector

Note
In 32bit platform, svec<4,void*>_ptr extends svec<4,uint32_t>, while in 64bit platform, svec<4,void*> extends svec<4,uint64_t>.
See Also
gather and scatter

Constructor & Destructor Documentation

generic::svec< 4, void * >::svec ( void *  p0,
void *  p1,
void *  p2,
void *  p3 
)

Constructor.

Returns
a vector of 4 pointers: {p0, p1, p2, p3}.

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