59 fatal(
"attempting to read from unsupported or non-readable "
60 "register. selector val: %i\n", opIdx);
76 fatal(
"attempting to write to an unsupported or non-writable "
77 "register. selector val: %i\n", opIdx);
86 + gpuDynInst->staticInstruction()->instSize());
89 const std::array<const ScalarRegU32, NumPosConstRegs>
91 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
92 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36,
93 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53,
94 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64
97 const std::array<const ScalarRegI32, NumNegConstRegs>
99 -1, -2, -3, -4, -5, -6, -7, -8, -9, -10, -11, -12, -13, -14, -15,
static const std::array< const ScalarRegU32, NumPosConstRegs > posConstRegs
ScalarRegU32 readMiscReg(int opIdx) const
void advancePC(GPUDynInstPtr gpuDynInst)
void writeMiscReg(int opIdx, ScalarRegU32 operandVal)
static const std::array< const ScalarRegI32, NumNegConstRegs > negConstRegs
#define fatal(...)
This implements a cprintf based fatal() function.
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.
std::shared_ptr< GPUDynInst > GPUDynInstPtr