diff options
| author | Jimmy Kwa <[email protected]> | 2012-09-06 13:53:41 -0800 |
|---|---|---|
| committer | Andrew Boktor <[email protected]> | 2014-08-14 13:48:55 -0700 |
| commit | 46045592211f1999983755726263c60267f8ef2f (patch) | |
| tree | dd85fc576f40a731b32b76d84b8dcc264a628871 /cuobjdump_to_ptxplus/cuobjdumpInstList.h | |
| parent | 99ff7de8db264b902f0eaa5828c0a508e3986b56 (diff) | |
Several changes to ptxplus towards getting the sphyraena benchmark to work. Add .false modifier to cuobjdump_to_ptxplus. It isn't supported in gpgpusim yet since we don't know what it does. Fixed most of the issues with global (const14) variable not being declared properly. Added "BRX" instruction to cuobjdump_to_ptxplus and some support for it in gpgpusim. There are other issues with it that still need to be worked out. Added support for translating IADD.CARRY sass instruction into ptxplus addp instructions. Fixed a bug with generating ".half" modifiers on instructions so the ptxplus instruction addresses should match sass addresses now. Separated ssy instructions from nop. However, they are still simulated as nop in gpgpusim. Sometime cuobjdump generate a blank link that takes up an address slot. This was changed to a nop.
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 14001]
Diffstat (limited to 'cuobjdump_to_ptxplus/cuobjdumpInstList.h')
| -rw-r--r-- | cuobjdump_to_ptxplus/cuobjdumpInstList.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cuobjdump_to_ptxplus/cuobjdumpInstList.h b/cuobjdump_to_ptxplus/cuobjdumpInstList.h index d07e72d..da8f8b0 100644 --- a/cuobjdump_to_ptxplus/cuobjdumpInstList.h +++ b/cuobjdump_to_ptxplus/cuobjdumpInstList.h @@ -116,6 +116,7 @@ protected: std::list<localMemory> m_localMemoryList; std::list<std::string> m_realTexList; // Stores the real names of tex variables std::list<constMemoryPtr> m_constMemoryPtrList; + int m_globalVarShndx; //records shndx value of global variables in the elf file SYMTAB // Functions: std::string parseCuobjdumpPredicate(std::string pred); @@ -158,6 +159,10 @@ public: void addConstMemoryPtr(const char* bytes, const char* offset, const char* name); void setConstMemoryMap(const char* kernelname, int index); void setLocalMemoryMap(const char* kernelname, int index); + void setglobalVarShndx(const char* shndx); + int getglobalVarShndx(); + void addGlobalMemoryID(const char* bytes, const char* name); + void updateGlobalMemoryID(const char* offset, const char* name); void reverseConstMemory(); void addEntryLocalMemory(int value, int entryIndex); void readOtherConstMemoryFromBinFile(std::string binString); // read in constant memory from bin file |
