summaryrefslogtreecommitdiff
path: root/cuobjdump_to_ptxplus/elf.y
diff options
context:
space:
mode:
Diffstat (limited to 'cuobjdump_to_ptxplus/elf.y')
-rw-r--r--cuobjdump_to_ptxplus/elf.y9
1 files changed, 0 insertions, 9 deletions
diff --git a/cuobjdump_to_ptxplus/elf.y b/cuobjdump_to_ptxplus/elf.y
index 710ecfd..f521518 100644
--- a/cuobjdump_to_ptxplus/elf.y
+++ b/cuobjdump_to_ptxplus/elf.y
@@ -69,36 +69,27 @@ program : program cmemsection
| program localmemsection
| {
g_instList->setKernelCount(cmemcount-1);
- //g_instList->reverseConstMemory();
};
localmemsection : LOCALMEM {
- printf("Found LocalMem section number %d\n", lmemcount);
g_instList->addEntryLocalMemory(0, lmemcount);
g_instList->setLocalMemoryMap($1, lmemcount);
lmemcount++;
};
cmemsection : C1BEGIN {
- printf("Found ConstMem section number %d\n", cmemcount);
- //g_instList->addEntryConstMemory(1, cmemcount);
g_instList->addEntryConstMemory2($1);
g_instList->setConstMemoryType2(".u32");
- //g_instList->setConstMemoryType(".u32");
- //g_instList->setConstMemoryMap($1,cmemcount);
cmemcount++;
lastcmem = true;
} cmemvals
| C0BEGIN {
- printf("Found ConstMem c0 section\n");
g_instList->addConstMemory(0);
g_instList->setConstMemoryType(".u32");
lastcmem = false;
} cmemvals;
cmemvals : cmemvals CMEMVAL SPACE2 {
- //printf("Found ConstMem value\n");
- printf("addConstMemoryValue %s\n", $3);
if (lastcmem)
g_instList->addConstMemoryValue2($3);
else