gem5  v20.1.0.0
Classes | Functions
vec_pred_reg.hh File Reference
#include <array>
#include <cassert>
#include <vector>
#include "arch/generic/vec_reg.hh"
#include "base/cprintf.hh"

Go to the source code of this file.

Classes

class  VecPredRegContainer< NumBits, Packed >
 Generic predicate register container. More...
 
class  VecPredRegT< VecElem, NumElems, Packed, Const >
 Predicate register view. More...
 
class  VecPredRegContainer< NumBits, Packed >
 Generic predicate register container. More...
 

Functions

template<size_t NumBits, bool Packed>
bool to_number (const std::string &value, VecPredRegContainer< NumBits, Packed > &p)
 Helper functions used for serialization/de-serialization. More...
 
using DummyVecPredReg = VecPredRegT< DummyVecElem, DummyNumVecElemPerVecReg, DummyVecPredRegHasPackedRepr, false >
 
using DummyConstVecPredReg = VecPredRegT< DummyVecElem, DummyNumVecElemPerVecReg, DummyVecPredRegHasPackedRepr, true >
 
using DummyVecPredRegContainer = DummyVecPredReg::Container
 
constexpr bool DummyVecPredRegHasPackedRepr = false
 Dummy type aliases and constants for architectures that do not implement vector predicate registers. More...
 
constexpr size_t DummyVecPredRegSizeBits = 8
 

Typedef Documentation

◆ DummyConstVecPredReg

Definition at line 396 of file vec_pred_reg.hh.

◆ DummyVecPredReg

Definition at line 393 of file vec_pred_reg.hh.

◆ DummyVecPredRegContainer

Definition at line 397 of file vec_pred_reg.hh.

Function Documentation

◆ to_number()

template<size_t NumBits, bool Packed>
bool to_number ( const std::string &  value,
VecPredRegContainer< NumBits, Packed > &  p 
)
inline

Helper functions used for serialization/de-serialization.

Definition at line 379 of file vec_pred_reg.hh.

References ArmISA::c, ArmISA::i, and MipsISA::p.

Referenced by Loader::SymbolTable::load(), PseudoInst::loadsymbol(), main(), parseParam(), and TEST().

Variable Documentation

◆ DummyVecPredRegHasPackedRepr

constexpr bool DummyVecPredRegHasPackedRepr = false
constexpr

Dummy type aliases and constants for architectures that do not implement vector predicate registers.

Definition at line 391 of file vec_pred_reg.hh.

◆ DummyVecPredRegSizeBits

constexpr size_t DummyVecPredRegSizeBits = 8
constexpr

Definition at line 398 of file vec_pred_reg.hh.


Generated on Wed Sep 30 2020 14:02:18 for gem5 by doxygen 1.8.17