gpu-compute: Remove unused functions
These functions were probably used for some stat collection, but they're no longer used, so they're being removed Change-Id: Ic99f22391c0d5ffb0e9963670efb35e503f9957d Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/42202 Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Matt Sinclair <mattdsinclair@gmail.com> Maintainer: Matt Sinclair <mattdsinclair@gmail.com>
This commit is contained in:
committed by
Matt Sinclair
parent
25e8a14a6b
commit
c9415dc389
@@ -268,40 +268,6 @@ GPUDynInst::executedAs()
|
||||
return _staticInst->executed_as;
|
||||
}
|
||||
|
||||
bool
|
||||
GPUDynInst::hasVgprRawDependence(GPUDynInstPtr s)
|
||||
{
|
||||
assert(s);
|
||||
for (int i = 0; i < getNumOperands(); ++i) {
|
||||
if (isVectorRegister(i) && isSrcOperand(i)) {
|
||||
for (int j = 0; j < s->getNumOperands(); ++j) {
|
||||
if (s->isVectorRegister(j) && s->isDstOperand(j)) {
|
||||
if (i == j)
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
bool
|
||||
GPUDynInst::hasSgprRawDependence(GPUDynInstPtr s)
|
||||
{
|
||||
assert(s);
|
||||
for (int i = 0; i < getNumOperands(); ++i) {
|
||||
if (isScalarRegister(i) && isSrcOperand(i)) {
|
||||
for (int j = 0; j < s->getNumOperands(); ++j) {
|
||||
if (s->isScalarRegister(j) && s->isDstOperand(j)) {
|
||||
if (i == j)
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// Process a memory instruction and (if necessary) submit timing request
|
||||
void
|
||||
GPUDynInst::initiateAcc(GPUDynInstPtr gpuDynInst)
|
||||
|
||||
@@ -101,9 +101,6 @@ class GPUDynInst : public GPUExecContext
|
||||
bool hasDestinationVgpr() const;
|
||||
bool hasSourceVgpr() const;
|
||||
|
||||
bool hasSgprRawDependence(GPUDynInstPtr s);
|
||||
bool hasVgprRawDependence(GPUDynInstPtr s);
|
||||
|
||||
// returns true if the string "opcodeStr" is found in the
|
||||
// opcode of the instruction
|
||||
bool isOpcode(const std::string& opcodeStr) const;
|
||||
|
||||
Reference in New Issue
Block a user