42 #ifndef __ARCH_COMMON_TRAITS_HH__ 43 #define __ARCH_COMMON_TRAITS_HH__ 45 #include "arch/types.hh" 46 #include "enums/VecRegRenameMode.hh" 53 template <
typename ISA>
56 static Enums::VecRegRenameMode
init(
const ISA*) {
return Enums::Full; }
58 static Enums::VecRegRenameMode
60 {
return Enums::Full; }
66 static bool equalsInit(
const ISA*,
const ISA*) {
return true; }
static Enums::VecRegRenameMode init(const ISA *)
static Enums::VecRegRenameMode mode(const TheISA::PCState &)
GenericISA::SimplePCState< MachInst > PCState
Helper structure to get the vector register mode for a given ISA.
static bool equalsInit(const ISA *, const ISA *)
Compare the initial rename mode of two instances of the ISA.