arch: Get rid of the unused type AnyReg.
This type is defined for all the ISAs but isn't used by anything. Change-Id: I659a0c5abc7883d82fedd1cac2cd103612d315c8 Reviewed-on: https://gem5-review.googlesource.com/c/13539 Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com> Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
This commit is contained in:
@@ -66,13 +66,6 @@ using VecRegContainer = VecReg::Container;
|
||||
// This has to be one to prevent warnings that are treated as errors
|
||||
constexpr unsigned NumVecRegs = 1;
|
||||
|
||||
union AnyReg
|
||||
{
|
||||
IntReg intreg;
|
||||
FloatReg fpreg;
|
||||
MiscReg ctrlreg;
|
||||
};
|
||||
|
||||
enum MiscRegIndex
|
||||
{
|
||||
MISCREG_FPCR = NumInternalProcRegs,
|
||||
|
||||
@@ -119,13 +119,6 @@ const int SyscallNumReg = ReturnValueReg;
|
||||
const int SyscallPseudoReturnReg = ReturnValueReg;
|
||||
const int SyscallSuccessReg = ReturnValueReg;
|
||||
|
||||
typedef union {
|
||||
IntReg intreg;
|
||||
FloatReg fpreg;
|
||||
CCReg ccreg;
|
||||
MiscReg ctrlreg;
|
||||
} AnyReg;
|
||||
|
||||
} // namespace ArmISA
|
||||
|
||||
#endif
|
||||
|
||||
@@ -299,12 +299,6 @@ using VecRegContainer = VecReg::Container;
|
||||
// This has to be one to prevent warnings that are treated as errors
|
||||
constexpr unsigned NumVecRegs = 1;
|
||||
|
||||
typedef union {
|
||||
IntReg intreg;
|
||||
FloatReg fpreg;
|
||||
MiscReg ctrlreg;
|
||||
} AnyReg;
|
||||
|
||||
} // namespace MipsISA
|
||||
|
||||
#endif
|
||||
|
||||
@@ -95,12 +95,6 @@ const int SyscallNumReg = 0;
|
||||
const int SyscallPseudoReturnReg = 3;
|
||||
const int SyscallSuccessReg = 3;
|
||||
|
||||
typedef union {
|
||||
IntReg intreg;
|
||||
FloatReg fpreg;
|
||||
MiscReg ctrlreg;
|
||||
} AnyReg;
|
||||
|
||||
enum MiscIntRegNums {
|
||||
INTREG_CR = NumIntArchRegs,
|
||||
INTREG_XER,
|
||||
|
||||
@@ -62,13 +62,6 @@ using VecRegContainer = VecReg::Container;
|
||||
// This has to be one to prevent warnings that are treated as errors
|
||||
constexpr unsigned NumVecRegs = 1;
|
||||
|
||||
typedef union
|
||||
{
|
||||
IntReg intReg;
|
||||
FloatReg fpreg;
|
||||
MiscReg ctrlreg;
|
||||
} AnyReg;
|
||||
|
||||
// semantically meaningful register indices
|
||||
const int ZeroReg = 0; // architecturally meaningful
|
||||
// the rest of these depend on the ABI
|
||||
|
||||
@@ -107,13 +107,6 @@ constexpr unsigned NumVecRegs = 1;
|
||||
//technically for x87 (80 bits) or at all for xmm (128 bits)
|
||||
typedef double FloatReg;
|
||||
typedef uint64_t FloatRegBits;
|
||||
typedef union
|
||||
{
|
||||
IntReg intReg;
|
||||
FloatReg fpReg;
|
||||
CCReg ccReg;
|
||||
MiscReg ctrlReg;
|
||||
} AnyReg;
|
||||
|
||||
} // namespace X86ISA
|
||||
|
||||
|
||||
Reference in New Issue
Block a user