summaryrefslogtreecommitdiff
path: root/src/arch/mips/utility.hh
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2010-08-23 16:14:20 -0700
committerGabe Black <gblack@eecs.umich.edu>2010-08-23 16:14:20 -0700
commit943c1714803bb87d3b05b2516701dfb792996805 (patch)
treecfefb1ef949355bc237c9b6e37117b9b059e0116 /src/arch/mips/utility.hh
parent9581562e653f6df810e40c076bc97d50daccf302 (diff)
downloadgem5-943c1714803bb87d3b05b2516701dfb792996805.tar.xz
ISA: Get rid of old, unused utility functions cluttering up the ISAs.
Diffstat (limited to 'src/arch/mips/utility.hh')
-rw-r--r--src/arch/mips/utility.hh24
1 files changed, 0 insertions, 24 deletions
diff --git a/src/arch/mips/utility.hh b/src/arch/mips/utility.hh
index 1e58238e9..f827e9b33 100644
--- a/src/arch/mips/utility.hh
+++ b/src/arch/mips/utility.hh
@@ -79,30 +79,6 @@ inUserMode(ThreadContext *tc)
}
}
-// Instruction address compression hooks
-static inline Addr realPCToFetchPC(const Addr &addr) {
- return addr;
-}
-
-static inline Addr fetchPCToRealPC(const Addr &addr) {
- return addr;
-}
-
-// the size of "fetched" instructions (not necessarily the size
-// of real instructions for PISA)
-static inline size_t fetchInstSize() {
- return sizeof(MachInst);
-}
-
-////////////////////////////////////////////////////////////////////////
-//
-// Register File Utility Functions
-//
-static inline MachInst makeRegisterCopy(int dest, int src) {
- panic("makeRegisterCopy not implemented");
- return 0;
-}
-
template <class CPU>
void zeroRegisters(CPU *cpu);