cpu, arch: Replace the CCReg type with RegVal.
Most architectures weren't using the CCReg type, and in x86 and arm it was already a uint64_t. Change-Id: I0b3d5e690e6b31db6f2627f449c89bde0f6750a6 Reviewed-on: https://gem5-review.googlesource.com/c/14515 Reviewed-by: Gabe Black <gabeblack@google.com> Maintainer: Gabe Black <gabeblack@google.com>
This commit is contained in:
@@ -247,7 +247,7 @@ O3ThreadContext<Impl>::getWritableVecPredRegFlat(int reg_id)
|
||||
}
|
||||
|
||||
template <class Impl>
|
||||
TheISA::CCReg
|
||||
RegVal
|
||||
O3ThreadContext<Impl>::readCCRegFlat(int reg_idx)
|
||||
{
|
||||
return cpu->readArchCCReg(reg_idx, thread->threadId());
|
||||
@@ -301,7 +301,7 @@ O3ThreadContext<Impl>::setVecPredRegFlat(int reg_idx,
|
||||
|
||||
template <class Impl>
|
||||
void
|
||||
O3ThreadContext<Impl>::setCCRegFlat(int reg_idx, TheISA::CCReg val)
|
||||
O3ThreadContext<Impl>::setCCRegFlat(int reg_idx, RegVal val)
|
||||
{
|
||||
cpu->setArchCCReg(reg_idx, val, thread->threadId());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user