summaryrefslogtreecommitdiff
path: root/src/arch/x86/linux/system.cc
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2011-08-13 23:03:11 -0700
committerGabe Black <gblack@eecs.umich.edu>2011-08-13 23:03:11 -0700
commit1b9de61a710f6cb125a63e347500155fe2330b55 (patch)
treedb6d7f09db3ba05c21d092f0433af2b2154ed36e /src/arch/x86/linux/system.cc
parente0043f8dbe926ed5bfadb504b0a69b1a1fbfcede (diff)
downloadgem5-1b9de61a710f6cb125a63e347500155fe2330b55.tar.xz
X86: Use IsSquashAfter if an instruction could affect fetch translation.
Control register operands are set up so that writing to them is serialize after, serialize before, and non-speculative. These are probably overboard, but they should usually be safe. Unfortunately there are times when even these aren't enough. If an instruction modifies state that affects fetch, later serialized instructions which come after it might have already gone through fetch and decode by the time it commits. These instructions may have been translated incorrectly or interpretted incorrectly and need to be destroyed. This change modifies instructions which will or may have this behavior so that they use the IsSquashAfter flag when necessary.
Diffstat (limited to 'src/arch/x86/linux/system.cc')
0 files changed, 0 insertions, 0 deletions