summaryrefslogtreecommitdiff
path: root/src/arch/sparc/decoder.hh
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2018-10-18 17:50:42 -0700
committerGabe Black <gabeblack@google.com>2019-01-22 21:16:10 +0000
commit1ab1500dfd0cb64b2fef7fb5e0f9e1fa007d2481 (patch)
treee2c9cbab3738a79463e6ad9defbe845efb764a51 /src/arch/sparc/decoder.hh
parent230b892fa3f484a46f4cd77f889f8793416b91e2 (diff)
downloadgem5-1ab1500dfd0cb64b2fef7fb5e0f9e1fa007d2481.tar.xz
sparc: Get rid of some register type definitions.
These are IntReg, FloatReg, FloatRegBits, and MiscReg. These have been supplanted by the global types RegVal and FloatRegVal. Change-Id: I956abfc7b439b083403e1a0d01e0bb35020bde44 Reviewed-on: https://gem5-review.googlesource.com/c/13627 Maintainer: Gabe Black <gabeblack@google.com> Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Diffstat (limited to 'src/arch/sparc/decoder.hh')
-rw-r--r--src/arch/sparc/decoder.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/sparc/decoder.hh b/src/arch/sparc/decoder.hh
index 897d112dc..6fa506f37 100644
--- a/src/arch/sparc/decoder.hh
+++ b/src/arch/sparc/decoder.hh
@@ -46,7 +46,7 @@ class Decoder
// The extended machine instruction being generated
ExtMachInst emi;
bool instDone;
- MiscReg asi;
+ RegVal asi;
public:
Decoder(ISA* isa = nullptr) : instDone(false), asi(0)
@@ -93,7 +93,7 @@ class Decoder
}
void
- setContext(MiscReg _asi)
+ setContext(RegVal _asi)
{
asi = _asi;
}