gpu-compute, arch: add some methods to the base inst classes for ISA support

This commit is contained in:
Tony Gutierrez
2016-10-26 22:47:01 -04:00
parent c7d4afd878
commit 0a6cdff176
2 changed files with 10 additions and 0 deletions

View File

@@ -56,6 +56,7 @@ namespace HsailISA
void generateDisassembly();
const std::string &disassemble();
uint32_t instSize() { return 4; }
bool isValid() const override { return true; }
protected:
HsailCode *hsailCode;