projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
688fc7f
)
x86: Initialize the MXCSR register
author
Andreas Sandberg
<andreas@sandberg.pp.se>
Tue, 18 Jun 2013 14:28:36 +0000
(16:28 +0200)
committer
Andreas Sandberg
<andreas@sandberg.pp.se>
Tue, 18 Jun 2013 14:28:36 +0000
(16:28 +0200)
src/arch/x86/faults.cc
patch
|
blob
|
history
diff --git
a/src/arch/x86/faults.cc
b/src/arch/x86/faults.cc
index 92f3dc2573f5188cbedb7f1186cec0e4ece08d62..9953265622632a47efef975c08a41e7e65d7d7ff 100644
(file)
--- a/
src/arch/x86/faults.cc
+++ b/
src/arch/x86/faults.cc
@@
-268,6
+268,8
@@
namespace X86ISA
tc->setMiscReg(MISCREG_DR6, 0x00000000ffff0ff0ULL);
tc->setMiscReg(MISCREG_DR7, 0x0000000000000400ULL);
+ tc->setMiscReg(MISCREG_MXCSR, 0x1f80);
+
// Update the handy M5 Reg.
tc->setMiscReg(MISCREG_M5_REG, 0);
MicroPC entry = X86ISAInst::RomLabels::extern_label_initIntHalt;