summaryrefslogtreecommitdiff
path: root/src/arch/sparc/isa/formats
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2006-10-16 15:52:14 -0400
committerGabe Black <gblack@eecs.umich.edu>2006-10-16 15:52:14 -0400
commit546dff6b6a14cb69770769732873f72e68311ab1 (patch)
tree7e8a3c40fb56139523a0ceb1da1475e4bfa53805 /src/arch/sparc/isa/formats
parent67794ace5c44866a85cecd39c881464ecbe74597 (diff)
downloadgem5-546dff6b6a14cb69770769732873f72e68311ab1.tar.xz
Made sure the constructor for insts use ExtMachInst rather than MachInst, since otherwise the EXT_ASI field is lost.
src/arch/sparc/isa/base.isa: src/arch/sparc/isa/formats/micro.isa: Switch MachInst to ExtMachInst so that the EXT_ASI field is available to the instructions. src/arch/sparc/utility.hh: Made sure EXT_ASI was set to the appropriate ASI value whether or not the asi register was used. --HG-- extra : convert_revision : cc4363dfe7da81969959cec9d5ad48528edeb8ce
Diffstat (limited to 'src/arch/sparc/isa/formats')
-rw-r--r--src/arch/sparc/isa/formats/micro.isa6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/arch/sparc/isa/formats/micro.isa b/src/arch/sparc/isa/formats/micro.isa
index 320603a6a..82d7fb4cb 100644
--- a/src/arch/sparc/isa/formats/micro.isa
+++ b/src/arch/sparc/isa/formats/micro.isa
@@ -34,7 +34,7 @@ output header {{
const uint32_t numMicroOps;
//Constructor.
- SparcMacroInst(const char *mnem, MachInst _machInst,
+ SparcMacroInst(const char *mnem, ExtMachInst _machInst,
OpClass __opClass, uint32_t _numMicroOps)
: SparcStaticInst(mnem, _machInst, __opClass),
numMicroOps(_numMicroOps)
@@ -68,7 +68,7 @@ output header {{
protected:
//Constructor.
SparcMicroInst(const char *mnem,
- MachInst _machInst, OpClass __opClass)
+ ExtMachInst _machInst, OpClass __opClass)
: SparcStaticInst(mnem, _machInst, __opClass)
{
flags[IsMicroOp] = true;
@@ -80,7 +80,7 @@ output header {{
protected:
//Constructor.
SparcDelayedMicroInst(const char *mnem,
- MachInst _machInst, OpClass __opClass)
+ ExtMachInst _machInst, OpClass __opClass)
: SparcMicroInst(mnem, _machInst, __opClass)
{
flags[IsDelayedCommit] = true;