summaryrefslogtreecommitdiff
path: root/arch/isa_parser.py
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2004-06-01 16:03:16 -0400
committerAli Saidi <saidi@eecs.umich.edu>2004-06-01 16:03:16 -0400
commitcaf5cad959d8c75095590e0e6e1a9ed1f243366e (patch)
treec96c7cbaafd8290291285a36a167979d1f1d427d /arch/isa_parser.py
parent59cb44385a6a222af83cfaede6d84703ef621f3a (diff)
parent73308846cc433fbb02a818283c9c2715ed2fbfee (diff)
downloadgem5-caf5cad959d8c75095590e0e6e1a9ed1f243366e.tar.xz
Merge saidi@zizzer:/z/m5/Bitkeeper/m5/
into zeep.eecs.umich.edu:/z/saidi/work/m5 --HG-- extra : convert_revision : 89e0bdd427b23a8f52b8ba53b18451df7be22f14
Diffstat (limited to 'arch/isa_parser.py')
-rwxr-xr-xarch/isa_parser.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/isa_parser.py b/arch/isa_parser.py
index c808c2565..011ce7623 100755
--- a/arch/isa_parser.py
+++ b/arch/isa_parser.py
@@ -1493,19 +1493,19 @@ class CodeBlock:
# These are good enough for most cases, and will be overridden
# later otherwise.
if 'IsStore' in self.flags:
- self.op_class = 'WrPort'
+ self.op_class = 'MemWriteOp'
elif 'IsLoad' in self.flags or 'IsPrefetch' in self.flags:
- self.op_class = 'RdPort'
+ self.op_class = 'MemReadOp'
elif 'IsFloating' in self.flags:
- self.op_class = 'FloatADD'
+ self.op_class = 'FloatAddOp'
else:
- self.op_class = 'IntALU'
+ self.op_class = 'IntAluOp'
# Assume all instruction flags are of the form 'IsFoo'
instFlagRE = re.compile(r'Is.*')
-# OpClass constants are just a little more complicated
-opClassRE = re.compile(r'Int.*|Float.*|.*Port|No_OpClass')
+# OpClass constants end in 'Op' except No_OpClass
+opClassRE = re.compile(r'.*Op|No_OpClass')
class InstObjParams:
def __init__(self, mnem, class_name, base_class = '',