diff options
author | Nathan Binkert <binkertn@umich.edu> | 2004-02-29 14:54:52 -0500 |
---|---|---|
committer | Nathan Binkert <binkertn@umich.edu> | 2004-02-29 14:54:52 -0500 |
commit | 27960f6d858e92572d37604e92747d0b45591665 (patch) | |
tree | dd8ab574d000d74ebdf31269e017b992ab7d9a9a /arch/alpha/isa_desc | |
parent | c79deda8cd404565bbd277e67b3533b6c13fac74 (diff) | |
download | gem5-27960f6d858e92572d37604e92747d0b45591665.tar.xz |
fix rpcc
arch/alpha/ev5.cc:
actually implement the cycle count register
arch/alpha/isa_desc:
the rpcc instruction really just reads the cycle count
register
--HG--
extra : convert_revision : a0edec85672377a62b90950efc17b62b375220b1
Diffstat (limited to 'arch/alpha/isa_desc')
-rw-r--r-- | arch/alpha/isa_desc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/alpha/isa_desc b/arch/alpha/isa_desc index c4d367211..0cfe5b452 100644 --- a/arch/alpha/isa_desc +++ b/arch/alpha/isa_desc @@ -2390,8 +2390,7 @@ decode OPCODE default Unknown::unknown() { format BasicOperate { 0xc000: rpcc({{ #ifdef FULL_SYSTEM - uint64_t cc = xc->readIpr(AlphaISA::IPR_CC, fault); - Ra = (cc<63:32> | curTick<31:0>); + Ra = xc->readIpr(AlphaISA::IPR_CC, fault); #else Ra = curTick; #endif |