From 0fdbb7f52ca29f3fbcbe6ecde787f34d0b4df7d7 Mon Sep 17 00:00:00 2001 From: JanLJL Date: Thu, 19 Dec 2019 18:54:47 +0100 Subject: [PATCH] bugfix --- osaca/semantics/arch_semantics.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/osaca/semantics/arch_semantics.py b/osaca/semantics/arch_semantics.py index b28e8dc..1f0b6bd 100755 --- a/osaca/semantics/arch_semantics.py +++ b/osaca/semantics/arch_semantics.py @@ -135,7 +135,12 @@ class ArchSemantics(ISASemantics): ) if instruction_data: # instruction form in DB - latency_wo_load = self._handle_instruction_found( + ( + throughput, + port_pressure, + latency, + latency_wo_load, + ) = self._handle_instruction_found( instruction_data, port_number, instruction_form, flags ) else: @@ -246,7 +251,7 @@ class ArchSemantics(ISASemantics): flags.append(INSTR_FLAGS.LT_UNKWN) if INSTR_FLAGS.HAS_LD in instruction_form['flags']: flags.append(INSTR_FLAGS.LD) - return latency_wo_load + return throughput, port_pressure, latency, latency_wo_load def substitute_mem_address(self, operands): # reg_ops = [op for op in operands if 'register' in op]