cpu: dev: sim: gpu-compute: Banish some ISA specific register types.
These types are IntReg, FloatReg, FloatRegBits, and MiscReg. There are some remaining types, specifically the vector registers and the CCReg. I'm less familiar with these new types of registers, and so will look at getting rid of them at some later time. Change-Id: Ide8f76b15c531286f61427330053b44074b8ac9b Reviewed-on: https://gem5-review.googlesource.com/c/13624 Reviewed-by: Gabe Black <gabeblack@google.com> Maintainer: Gabe Black <gabeblack@google.com>
This commit is contained in:
@@ -53,7 +53,7 @@ GPUExecContext::wavefront()
|
||||
return wf;
|
||||
}
|
||||
|
||||
TheGpuISA::MiscReg
|
||||
RegVal
|
||||
GPUExecContext::readMiscReg(int opIdx) const
|
||||
{
|
||||
assert(gpuISA);
|
||||
@@ -61,7 +61,7 @@ GPUExecContext::readMiscReg(int opIdx) const
|
||||
}
|
||||
|
||||
void
|
||||
GPUExecContext::writeMiscReg(int opIdx, TheGpuISA::MiscReg operandVal)
|
||||
GPUExecContext::writeMiscReg(int opIdx, RegVal operandVal)
|
||||
{
|
||||
assert(gpuISA);
|
||||
gpuISA->writeMiscReg(opIdx, operandVal);
|
||||
|
||||
Reference in New Issue
Block a user