summaryrefslogtreecommitdiff
path: root/src/arch/generic
diff options
context:
space:
mode:
authorAli Saidi <Ali.Saidi@ARM.com>2012-06-29 11:18:28 -0400
committerAli Saidi <Ali.Saidi@ARM.com>2012-06-29 11:18:28 -0400
commitaed8050824793a25afe0e4dab30cbebc7d6b9083 (patch)
treea756132de24938dcf135c686b233d6c04af87426 /src/arch/generic
parentc51fc5ceffd19c62c2895fb3444a532e9fe0f3ca (diff)
downloadgem5-aed8050824793a25afe0e4dab30cbebc7d6b9083.tar.xz
ARM: Fix issue with predicted next pc being wrong because of advance() ordering.
npc in PCState for ARM was being calculated before the current flags were updated with the next flags. This causes an issue as the npc is incremented by two or four depending on the current flags (thumb or not) and was leading to branches that were predicted correctly being identified as mispredicted.
Diffstat (limited to 'src/arch/generic')
0 files changed, 0 insertions, 0 deletions