summaryrefslogtreecommitdiff
path: root/arch/sparc/isa_traits.hh
diff options
context:
space:
mode:
authorKorey Sewell <ksewell@umich.edu>2006-03-16 18:40:54 -0500
committerKorey Sewell <ksewell@umich.edu>2006-03-16 18:40:54 -0500
commit1db74514c23a09997d3f3eabca31a4dc94cec2f7 (patch)
treec28b33bbed1535a72503cdd5f52c39889dd0a449 /arch/sparc/isa_traits.hh
parent805b9cf1d5ace9c02b7bd120ee1bc082f544699d (diff)
parent1d741c48af9f08718d359d9e3b7d3c0bf562a467 (diff)
downloadgem5-1db74514c23a09997d3f3eabca31a4dc94cec2f7.tar.xz
Merge zizzer:/bk/newmem
into zazzer.eecs.umich.edu:/.automount/zooks/y/ksewell/research/m5-sim/newmem-mips --HG-- extra : convert_revision : 02fe0b0170348dc6f6a985c15123806088a8c23e
Diffstat (limited to 'arch/sparc/isa_traits.hh')
-rw-r--r--arch/sparc/isa_traits.hh11
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 &section);
- StaticInstPtr decodeInst(MachInst);
+ StaticInstPtr decodeInst(ExtMachInst);
// return a no-op instruction... used for instruction fetch faults
extern const MachInst NoopMachInst;