Commit e8c54797 authored by Chen, Weiyu's avatar Chen, Weiyu Committed by gbsbuild

Remove some unused functions

Change-Id: Ic6fbdc65c1e8b7e8ff705e53a62cb1bb0396fe54
parent c129a9a6
......@@ -794,7 +794,7 @@ namespace vISA
{
enum class SFID
{
NULL_SFID = 0,
NULL_SFID = 0,
SAMPLER = 2,
GATEWAY = 3,
DP_DC2 = 4,
......@@ -807,7 +807,6 @@ namespace vISA
DP_PI = 11, //PIXEL INTERPOLATOR
DP_DC1 = 12, //DATA CACHE DATAPORT1
CRE = 13, //CHECK & REFINEMENT ENGINE
NUM = 14
};
inline int SFIDtoInt(SFID id)
......
......@@ -387,13 +387,7 @@ public:
// scratch msg: DC0, bit 18 = 1
return getFuncId() == SFID::DP_DC && ((getFuncCtrl() & 0x40000u) != 0);
}
bool isDataPortOperation() const
{
auto funcID = getFuncId();
return funcID == SFID::SAMPLER || funcID == SFID::DP_WRITE ||
funcID == SFID::DP_CC || funcID == SFID::DP_DC ||
funcID == SFID::DP_DC1;
}
bool isDataPortRead() const { return readMsg; }
bool isDataPortWrite() const { return writeMsg; }
bool isSampler() const
......@@ -412,13 +406,6 @@ public:
return funcID == SFID::GATEWAY || funcID == SFID::SPAWNER;
}
bool conflictsWithWait() const
{
auto funcID = getFuncId();
return isDataPortOperation() || funcID == SFID::GATEWAY ||
funcID == SFID::SPAWNER || funcID == SFID::URB;
}
bool isIntAtomicMessage() const
{
auto funcID = getFuncId();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment