cpu: fix case with o3 cpu blocking and unblocking decode in cycle
authorAli Saidi <Ali.Saidi@ARM.com>
Fri, 15 Feb 2013 22:40:08 +0000 (17:40 -0500)
committerAli Saidi <Ali.Saidi@ARM.com>
Fri, 15 Feb 2013 22:40:08 +0000 (17:40 -0500)
commit7ae06a3b3bb6c5438cd9cac7f1fe5f8cdb65e07d
treeb3cebe0edd190a96aa5f546d3db6a2538f2d440e
parentb84bd3028c173893101c0c0c188e5f5b16e4fdee
cpu: fix case with o3 cpu blocking and unblocking decode in cycle

Fix a case in the O3 CPU where the decode stage blocks and unblocks in a
single cycle sending both signals to fetch which causes an assert or worse.
The previous check could never work before since the status was set to Blocked
before a test for the status being Unblocking was executed.
src/cpu/o3/decode_impl.hh