Review Board 2.0.15


O3: Fix corner case squashing into the microcode ROM.

Review Request #501 - Created Feb. 24, 2011 and submitted - Latest diff uploaded

Information
Gabe Black
gem5
Reviewers
Default
ali, gblack, nate, stever
O3: Fix corner case squashing into the microcode ROM.

When fetching from the microcode ROM, if the PC is set so that it isn't in the
cache block that's been fetched the CPU will get stuck. The fetch stage
notices that it's in the ROM so it doesn't try to fetch from the current PC.
It then later notices that it's outside of the current cache block so it skips
generating instructions expecting to continue once the right bytes have been
fetched. This change lets the fetch stage attempt to generate instructions,
and only checks if the bytes it's going to use are valid if it's really going
to use them.