mirror of
https://github.com/RRZE-HPC/OSACA.git
synced 2026-01-07 03:30:06 +01:00
fixed UnboundLocalError if tp assignment loop is not executed
This commit is contained in:
@@ -8191,6 +8191,16 @@ instruction_forms:
|
||||
port_pressure: [[1, '1'], [1, '5']] # model_importer.py instructions.xml ICL
|
||||
throughput: 1.0 # model_importer.py instructions.xml ICL
|
||||
uops: 2 # model_importer.py instructions.xml ICL
|
||||
- name: IMUL # model_importer.py instructions.xml ICL
|
||||
operands: # model_importer.py instructions.xml ICL
|
||||
- class: register # model_importer.py instructions.xml ICL
|
||||
name: gpr # model_importer.py instructions.xml ICL
|
||||
- class: register # model_importer.py instructions.xml ICL
|
||||
name: gpr # model_importer.py instructions.xml ICL
|
||||
latency: 3 # model_importer.py instructions.xml ICL
|
||||
port_pressure: [[1, '1']] # model_importer.py instructions.xml ICL
|
||||
throughput: 1.0 # model_importer.py instructions.xml ICL
|
||||
uops: 1 # model_importer.py instructions.xml ICL
|
||||
- name: NEG # model_importer.py instructions.xml ICL
|
||||
operands: # model_importer.py instructions.xml ICL
|
||||
- class: register # model_importer.py instructions.xml ICL
|
||||
|
||||
@@ -42,6 +42,7 @@ class ArchSemantics(ISASemantics):
|
||||
INC = 0.01
|
||||
kernel.reverse()
|
||||
port_list = self._machine_model.get_ports()
|
||||
multiple_assignments = False
|
||||
for idx, instruction_form in enumerate(kernel[start:], start):
|
||||
multiple_assignments = False
|
||||
# if iform has multiple possible port assignments, check all in a DFS manner and take the best
|
||||
|
||||
Reference in New Issue
Block a user