summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew M. B. Boktor <[email protected]>2012-05-26 21:30:09 -0800
committerAndrew Boktor <[email protected]>2014-08-14 13:47:31 -0700
commit3f9052b863ae10e7c1a30ac9acdb6b82db0aa03a (patch)
tree5363e8fa2787f0fd637066f27e032645198eb2e0
parente71a7e772f2116923c417dfd17130d222e46921d (diff)
I forgot that this is needed to calculate the offset since the offset is defined as multiple of access width
Back out revision 8 from //depot/gpgpu_sim_research/fermi/distribution/cuobjdump_to_ptxplus/sass.y [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 12781]
-rw-r--r--cuobjdump_to_ptxplus/sass.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/cuobjdump_to_ptxplus/sass.y b/cuobjdump_to_ptxplus/sass.y
index 9779e0c..3009aa1 100644
--- a/cuobjdump_to_ptxplus/sass.y
+++ b/cuobjdump_to_ptxplus/sass.y
@@ -315,7 +315,7 @@ operand : registerlocation
| PIPE registerlocation PIPE { g_instList->getListEnd().addBaseModifier(".abs"); }
| TILDE registerlocation
| LEFTBRACKET instructionPredicate RIGHTBRACKET
- | memorylocation opTypes
+ | memorylocation opTypes { printf($2); g_instList->getListEnd().addTypeModifier($2);}
| memorylocation
| immediateValue
| extraModifier