summaryrefslogtreecommitdiff
path: root/cuobjdump_to_ptxplus/elf.y
diff options
context:
space:
mode:
authorAndrew M. B. Boktor <[email protected]>2012-05-24 22:54:54 -0800
committerAndrew Boktor <[email protected]>2014-08-14 13:47:31 -0700
commit9b5f12d4ad0e61e548a19431dfb68b4ca9ba76bd (patch)
treefaf0ee6bc14d55ab865255878f1ad5c0754ddc0b /cuobjdump_to_ptxplus/elf.y
parent65b99147919d7d50cb7c395042155e882001ae14 (diff)
Cleaning up the output by cuobjdump_to_ptxplus
Fixing ptxplus with AES [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 12737]
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