summaryrefslogtreecommitdiff
path: root/src/arch/generic
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2011-02-13 17:41:10 -0800
committerGabe Black <gblack@eecs.umich.edu>2011-02-13 17:41:10 -0800
commit5ee94f4a3dadda357c6d28b60c19b3638146f9a7 (patch)
tree788669466677be1649fb84890428159f617c9daf /src/arch/generic
parentf036fd97481081afce7f757231ab69ba212f7f2a (diff)
downloadgem5-5ee94f4a3dadda357c6d28b60c19b3638146f9a7.tar.xz
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.
Diffstat (limited to 'src/arch/generic')
0 files changed, 0 insertions, 0 deletions