diff options
Diffstat (limited to 'src/cpu/simple_thread.hh')
-rw-r--r-- | src/cpu/simple_thread.hh | 24 |
1 files changed, 3 insertions, 21 deletions
diff --git a/src/cpu/simple_thread.hh b/src/cpu/simple_thread.hh index bdf93b0e4..286d91766 100644 --- a/src/cpu/simple_thread.hh +++ b/src/cpu/simple_thread.hh @@ -401,28 +401,10 @@ class SimpleThread : public ThreadState return isa->setMiscReg(misc_reg, val, tc); } - int - flattenIntIndex(int reg) + RegId + flattenRegId(const RegId& regId) const { - return isa->flattenIntIndex(reg); - } - - int - flattenFloatIndex(int reg) - { - return isa->flattenFloatIndex(reg); - } - - int - flattenCCIndex(int reg) - { - return isa->flattenCCIndex(reg); - } - - int - flattenMiscIndex(int reg) - { - return isa->flattenMiscIndex(reg); + return isa->flattenRegId(regId); } unsigned readStCondFailures() { return storeCondFailures; } |