diff options
Diffstat (limited to 'arch/sparc/isa_traits.hh')
-rw-r--r-- | arch/sparc/isa_traits.hh | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/arch/sparc/isa_traits.hh b/arch/sparc/isa_traits.hh index ad8ae5c8d..0955abb3a 100644 --- a/arch/sparc/isa_traits.hh +++ b/arch/sparc/isa_traits.hh @@ -83,6 +83,15 @@ class SyscallReturn namespace SparcISA { + + // These enumerate all the registers for dependence tracking. + enum DependenceTags { + // 0..31 are the integer regs 0..31 + // 32..63 are the FP regs 0..31, i.e. use (reg + FP_Base_DepTag) + FP_Base_DepTag = 32, + Ctrl_Base_DepTag = 96, + }; + //This makes sure the big endian versions of certain functions are used. using namespace BigEndianGuest; @@ -142,7 +151,7 @@ namespace SparcISA void unserialize(Checkpoint *cp, const std::string §ion); - StaticInstPtr decodeInst(MachInst); + StaticInstPtr decodeInst(ExtMachInst); // return a no-op instruction... used for instruction fetch faults extern const MachInst NoopMachInst; |