gem5  v20.1.0.0
Static Public Member Functions | List of all members
RenameMode< ISA > Struct Template Reference

Helper structure to get the vector register mode for a given ISA. More...

#include <traits.hh>

Static Public Member Functions

static Enums::VecRegRenameMode init (const BaseISA *)
 
static Enums::VecRegRenameMode mode (const TheISA::PCState &)
 
static bool equalsInit (const BaseISA *, const BaseISA *)
 Compare the initial rename mode of two instances of the ISA. More...
 

Detailed Description

template<typename ISA>
struct RenameMode< ISA >

Helper structure to get the vector register mode for a given ISA.

This way we implement a default 'full' mode, and only those ISA that care have to actually specialise the template to forward the call to the appropriate member of the ISA.

Definition at line 53 of file traits.hh.

Member Function Documentation

◆ equalsInit()

template<typename ISA >
static bool RenameMode< ISA >::equalsInit ( const BaseISA ,
const BaseISA  
)
inlinestatic

Compare the initial rename mode of two instances of the ISA.

Result is true by definition, as the default mode is Full.

Definition at line 65 of file traits.hh.

◆ init()

template<typename ISA >
static Enums::VecRegRenameMode RenameMode< ISA >::init ( const BaseISA )
inlinestatic

Definition at line 55 of file traits.hh.

Referenced by RenameMode< ArmISA::ISA >::equalsInit().

◆ mode()

template<typename ISA >
static Enums::VecRegRenameMode RenameMode< ISA >::mode ( const TheISA::PCState &  )
inlinestatic

Definition at line 58 of file traits.hh.

Referenced by ArmISA::copyVecRegs(), and FullO3CPU< O3CPUImpl >::switchRenameMode().


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

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