changeset 9f3fedee88e2 in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=9f3fedee88e2
description:
        ISA: Get rid of the unused mem_acc_type template parameter.

diffstat:

 src/arch/isa_parser.py |  8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)

diffs (25 lines):

diff -r 2a04edb07407 -r 9f3fedee88e2 src/arch/isa_parser.py
--- a/src/arch/isa_parser.py    Sun Jul 10 12:56:09 2011 -0500
+++ b/src/arch/isa_parser.py    Mon Jul 11 04:47:06 2011 -0700
@@ -209,9 +209,6 @@
                     op_wb_str = op_desc.op_wb + op_wb_str
             myDict['op_wb'] = op_wb_str
 
-            if d.operands.memOperand:
-                myDict['mem_acc_type'] = d.operands.memOperand.mem_acc_type
-
         elif isinstance(d, dict):
             # if the argument is a dictionary, we just use it.
             myDict.update(d)
@@ -453,11 +450,6 @@
         if hasattr(self, 'eff_ext'):
             self.ctype = parser.operandTypeMap[self.eff_ext]
 
-        # note that mem_acc_type is undefined for non-mem operands...
-        # template must be careful not to use it if it doesn't apply.
-        if self.isMem():
-            self.mem_acc_type = self.ctype
-
     # Finalize additional fields (primarily code fields).  This step
     # is done separately since some of these fields may depend on the
     # register index enumeration that hasn't been performed yet at the
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to