diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2011-07-11 04:47:06 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2011-07-11 04:47:06 -0700 |
commit | a7dcd19fa05c9f374f898588ab7787d86d473981 (patch) | |
tree | 72c7974563f2ba99abae75e050c8499690a955e9 /src/arch/isa_parser.py | |
parent | 3ebfe2eb0124b0524952c59f04580a55eb36edff (diff) | |
download | gem5-a7dcd19fa05c9f374f898588ab7787d86d473981.tar.xz |
ISA: Get rid of the unused mem_acc_type template parameter.
Diffstat (limited to 'src/arch/isa_parser.py')
-rwxr-xr-x | src/arch/isa_parser.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/arch/isa_parser.py b/src/arch/isa_parser.py index 95bbd15e4..e17a02f01 100755 --- a/src/arch/isa_parser.py +++ b/src/arch/isa_parser.py @@ -209,9 +209,6 @@ class Template(object): 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 @@ class Operand(object): 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 |