gem5
v19.0.0.0
|
Vector Lane abstraction Another view of a container. More...
#include <vec_reg.hh>
Public Member Functions | |
operator VecElem () const | |
Cast to vecElem. More... | |
template<bool Cond = !Const, typename std::enable_if< Cond, int >::type = 0> | |
operator VecLaneT< typename std::enable_if< Cond, VecElem >::type, true > () | |
Constification. More... | |
using | MyClass = VecLaneT< VecElem, Const > |
My type alias. More... | |
using | Cont = typename std::conditional< Const, const VecElem, VecElem >::type |
friend | VecLaneT< VecElem, !Const > |
VecRegContainer friendship to access private VecLaneT constructors. More... | |
class | VecRegContainer< 8 > |
class | VecRegContainer< 16 > |
class | VecRegContainer< 32 > |
class | VecRegContainer< 64 > |
class | VecRegContainer< 128 > |
class | VecRegContainer< 256 > |
class | VecRegContainer< MaxVecRegLenInBytes > |
Cont & | container |
Reference to data. More... | |
VecLaneT (Cont &cont) | |
Constructor. More... | |
template<bool Assignable = !Const> | |
std::enable_if< Assignable, MyClass & >::type | operator= (const VecElem &that) |
Assignment operators. More... | |
template<bool Assignable = !Const, typename T > | |
std::enable_if< Assignable, MyClass & >::type | operator= (const T &that) |
Generic. More... | |
Vector Lane abstraction Another view of a container.
This time only a partial part of it is exposed.
VecElem | Type of each element of the vector. |
Const | Indicate if the underlying container can be modified through the view. |
Definition at line 262 of file vec_reg.hh.
|
private |
Definition at line 536 of file vec_reg.hh.
using VecLaneT< VecElem, Const >::MyClass = VecLaneT<VecElem, Const> |
My type alias.
Definition at line 531 of file vec_reg.hh.
|
inline |
Cast to vecElem.
Definition at line 576 of file vec_reg.hh.
References VecRegT< VecElem, NumElems, Const >::container, and type.
|
inline |
Constification.
Definition at line 580 of file vec_reg.hh.
References VecRegT< VecElem, NumElems, Const >::container.
|
inline |
Assignment operators.
Assignment operators are only enabled if the underlying container is non-constant.
Definition at line 555 of file vec_reg.hh.
References type.
|
inline |
Generic.
Generic bitwise assignment. Narrowing and widening assignemnts are not allowed, pre-treatment of the rhs is required to conform.
Definition at line 566 of file vec_reg.hh.
|
friend |
Definition at line 526 of file vec_reg.hh.
|
friend |
Definition at line 523 of file vec_reg.hh.
|
friend |
Definition at line 527 of file vec_reg.hh.
|
friend |
Definition at line 524 of file vec_reg.hh.
|
friend |
Definition at line 525 of file vec_reg.hh.
|
friend |
Definition at line 522 of file vec_reg.hh.
|
friend |
Definition at line 528 of file vec_reg.hh.
Reference to data.
Definition at line 538 of file vec_reg.hh.
friend VecLaneT< VecElem, Const >::VecLaneT< VecElem, !Const > |
VecRegContainer friendship to access private VecLaneT constructors.
Only VecRegContainers can build VecLanes.
Definition at line 518 of file vec_reg.hh.