comse6998 / spring2024

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

BB instruction gets stuck in pipe #167

Closed lafis002 closed 4 months ago

lafis002 commented 4 months ago

Every trace that contains bb results in an endless loop. Maybe it is the combination of branch instruction and 16 bit instruction, because all other branch instructions are 32 bit.

joseemoreira commented 4 months ago

The bb instruction is cracked into two operations: cmp and bb. The cmp operation was getting stuck because no mapper for it was defined. That has been fixed. Please see if your tests pass.

lafis002 commented 4 months ago

Ah perfect, thank you. I only checked the bb instruction and forgot that it cracks into cmp and bb. Now everything passes for me.