summaryrefslogtreecommitdiff
path: root/src/arch/mips/tlb.cc
diff options
context:
space:
mode:
authorAndreas Sandberg <andreas@sandberg.pp.se>2013-09-30 11:51:25 +0200
committerAndreas Sandberg <andreas@sandberg.pp.se>2013-09-30 11:51:25 +0200
commitc299dcedc6d73aab56d9c659623d7112c2e9c4bb (patch)
tree64aa1c869f4505bb8306da124fb081a23ae51167 /src/arch/mips/tlb.cc
parent469f2e31cfb5b50c52888684e47289921d42292a (diff)
downloadgem5-c299dcedc6d73aab56d9c659623d7112c2e9c4bb.tar.xz
x86: Fix re-entrancy problems in x87 store instructions
X87 store instructions typically loads and pops the top value of the stack and stores it in memory. The current implementation pops the stack at the same time as the floating point value is loaded to a temporary register. This will corrupt the state of the x87 stack if the store fails. This changeset introduces a pop87 micro-instruction that pops the stack and uses this instruction in the affected macro-instructions to pop the stack after storing the value to memory.
Diffstat (limited to 'src/arch/mips/tlb.cc')
0 files changed, 0 insertions, 0 deletions