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
retval = ipr[idx];
break;
+ case AlphaISA::IPR_CC:
+ retval |= ipr[idx] & ULL(0xffffffff00000000);
+ retval |= curTick & ULL(0x00000000ffffffff);
+ break;
+
case AlphaISA::IPR_VA:
// SFX: unlocks interrupt status registers
retval = ipr[idx];
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