Review Board 2.0.15


X86: Only reset npc to reflect instruction length once.

Review Request #470 - Created Feb. 11, 2011 and submitted - Latest diff uploaded

Information
Gabe Black
gem5
Reviewers
Default
ali, gblack, nate, stever
X86: Only reset npc to reflect instruction length once.

When redirecting fetch to handle branches, the npc of the current pc state
needs to be left alone. This change makes the pc state record whether or not
the npc already reflects a real value by making it keep track of the current
instruction size, or if no size has been set.