diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2010-06-02 12:58:17 -0500 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2010-06-02 12:58:17 -0500 |
commit | b6c2548a27181049f7bc250a16a5e868306a356f (patch) | |
tree | f31194fee470108b8c16ee5dac51006cdcacb4a5 /src/arch/arm/utility.hh | |
parent | f8d2ed708b94506e52fdbf823845b2abb6a0cc61 (diff) | |
download | gem5-b6c2548a27181049f7bc250a16a5e868306a356f.tar.xz |
ARM: Get rid of the binary dumping function in utility.hh.
Diffstat (limited to 'src/arch/arm/utility.hh')
-rw-r--r-- | src/arch/arm/utility.hh | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/arch/arm/utility.hh b/src/arch/arm/utility.hh index 7d70b3131..6ee2fb325 100644 --- a/src/arch/arm/utility.hh +++ b/src/arch/arm/utility.hh @@ -147,20 +147,6 @@ namespace ArmISA { return (tc->readMiscRegNoEffect(MISCREG_CPSR) & 0x1f) == MODE_USER; } - static inline std::string - inst2string(MachInst machInst) - { - std::string str = ""; - uint32_t mask = (1 << 31); - - while (mask) { - str += ((machInst & mask) ? "1" : "0"); - mask = mask >> 1; - } - - return str; - } - uint64_t getArgument(ThreadContext *tc, int number, bool fp); Fault setCp15Register(uint32_t &Rd, int CRn, int opc1, int CRm, int opc2); |