summaryrefslogtreecommitdiff
path: root/cuobjdump_to_ptxplus/cuobjdumpInst.h
diff options
context:
space:
mode:
authorWilson Fung <[email protected]>2012-06-30 11:15:07 -0800
committerAndrew Boktor <[email protected]>2014-08-14 13:47:33 -0700
commitbb96888d31d37760c86fa1aed3bbf203792185e7 (patch)
tree14e54644793e7b46299b5a21d67865c5a194d5fc /cuobjdump_to_ptxplus/cuobjdumpInst.h
parente763b57bf5e79e73359fe9b8fd346ae52d382834 (diff)
Fixing one of the problems discovered for bug 154 (internal).
- Output of 16-bit integer multiplication (IMUL.U16) writes to the entire 32-bit register if a full register (i.e. not half register such as R1L) is specified as the destination. Before, it was only storing the lower 16-bit of the product into the full register. - Modified function header to declare at least 4 predicates in cuobjdump_to_ptxplus. This will mask out the problem with the predicate registers used before initialized. - Modified register value print out: now unsigned integers display their decimal values as well. [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 13246]
Diffstat (limited to 'cuobjdump_to_ptxplus/cuobjdumpInst.h')
-rw-r--r--cuobjdump_to_ptxplus/cuobjdumpInst.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cuobjdump_to_ptxplus/cuobjdumpInst.h b/cuobjdump_to_ptxplus/cuobjdumpInst.h
index 3a09e64..c48d7a5 100644
--- a/cuobjdump_to_ptxplus/cuobjdumpInst.h
+++ b/cuobjdump_to_ptxplus/cuobjdumpInst.h
@@ -72,6 +72,7 @@ public:
void printCuobjdumpLabel(std::list<std::string> labelList);
void printCuobjdumpPredicate();
void printCuobjdumpTypeModifiers();
+ void printCuobjdumpOutputModifiers(const char* defaultMod);
void printCuobjdumpBaseModifiers();
void printCuobjdumpOperand(std::string currentPiece, std::string operandDelimiter, std::string base);
void printCuobjdumpOperandlohi(std::string op);