mirror of
https://github.com/RRZE-HPC/OSACA.git
synced 2026-01-05 10:40:06 +01:00
fixed bug in parallel ld/st
This commit is contained in:
@@ -58,8 +58,9 @@ class Scheduler(object):
|
||||
# Count the number of store instr if we schedule for an architecture with par ld/st
|
||||
if(self.en_par_ldst):
|
||||
for i, instrForm in enumerate(self.instrList):
|
||||
if(isinstance(instrForm[1], MemAddr) and len(instrForm) > 3):
|
||||
#print('({}) is st --> par_ldst = {}'.format(i, par_ldst + 1))
|
||||
if(isinstance(instrForm[1], MemAddr) and len(instrForm) > 3
|
||||
and not instrForm[0].startswith('cmp')):
|
||||
#print('({}, {}) is st --> par_ldst = {}'.format(i, instrForm[0], par_ldst + 1))
|
||||
par_ldst += 1
|
||||
# Check if there's a port occupation stored in the CSV, otherwise leave the
|
||||
# occ_port list item empty
|
||||
|
||||
Reference in New Issue
Block a user