DebugFlag('GPUReg')
DebugFlag('GPUSync')
DebugFlag('GPUTLB')
+DebugFlag('GPUVRF')
DebugFlag('HSALoader')
DebugFlag('HSAIL')
DebugFlag('HSAILObject')
DebugFlag('WavefrontStack')
CompoundFlag('GPUALL', ['GPUCoalescer', 'GPUDisp', 'GPUExec', 'GPUFetch',
- 'GPUMem', 'GPUPort', 'GPUSync', 'GPUTLB', 'HSAIL'])
+ 'GPUMem', 'GPUPort', 'GPUSync', 'GPUTLB', 'HSAIL',
+ 'GPUVRF'])
#include "base/statistics.hh"
#include "base/types.hh"
+#include "debug/GPUVRF.hh"
#include "gpu-compute/vector_register_state.hh"
#include "sim/sim_object.hh"
read(int regIdx, int threadId=0)
{
T p0 = vgprState->read<T>(regIdx, threadId);
+ DPRINTF(GPUVRF, "reading vreg[%d][%d] = %u\n", regIdx, threadId, (uint64_t)p0);
return p0;
}
void
write(int regIdx, T value, int threadId=0)
{
+ DPRINTF(GPUVRF, "writing vreg[%d][%d] = %u\n", regIdx, threadId, (uint64_t)value);
vgprState->write<T>(regIdx, value, threadId);
}