comse6998 / spring2024

Repository for COMSE6998 in the Spring 2024 term
2 stars 20 forks source link

Incorrect number of completed operations in ZDROT #162

Open joseemoreira opened 4 months ago

joseemoreira commented 4 months ago

./zdrot 0 1 1 && ./run zdrot.tr 1000

produces the correct output

zdrot.tr (# of architected instr = 7, # of speculative instr = 8, # of operations duspatched = 3, # of operations issued = 3, # of operations completed = 3, # of cycles = 21)

but

./zdrot 1 1 1 && ./run zdrot.tr 1000

is missing one completed operation

zdrot.tr (# of architected instr = 48, # of speculative instr = 8, # of operations duspatched = 54, # of operations issued = 54, # of operations completed = 53, # of cycles = 98)

lafis002 commented 4 months ago

the error only happens with incy=1 and incx=1, for this case I implenteded the optimization with the bb instruction so it is very likely that this instruction is causing the problem, i am trying to find why it gets stuck