summaryrefslogtreecommitdiff
path: root/arch/isa_parser.py
diff options
context:
space:
mode:
Diffstat (limited to 'arch/isa_parser.py')
-rwxr-xr-xarch/isa_parser.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/isa_parser.py b/arch/isa_parser.py
index 0ee9e2e2d..cc42657e2 100755
--- a/arch/isa_parser.py
+++ b/arch/isa_parser.py
@@ -1387,6 +1387,7 @@ class InstObjParams:
self.base_class = base_class
self.exec_func_declarations = '''
Fault execute(SimpleCPUExecContext *, Trace::InstRecord *);
+ Fault execute(FastCPUExecContext *, Trace::InstRecord *);
Fault execute(FullCPUExecContext *, Trace::InstRecord *);
'''
if code_block:
@@ -1433,7 +1434,8 @@ class InstObjParams:
error(0, 'InstObjParams::subst: undefined template "%s"' % t)
if template.find('%(cpu_model)') != -1:
tmp = ''
- for cpu_model in ('SimpleCPUExecContext', 'FullCPUExecContext'):
+ for cpu_model in ('SimpleCPUExecContext', 'FastCPUExecContext',
+ 'FullCPUExecContext'):
self.cpu_model = cpu_model
tmp += self._subst(template)
result.append(tmp)