diff options
Diffstat (limited to 'src/arch/x86/decoder.hh')
-rw-r--r-- | src/arch/x86/decoder.hh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/arch/x86/decoder.hh b/src/arch/x86/decoder.hh index 725d443d6..24194d839 100644 --- a/src/arch/x86/decoder.hh +++ b/src/arch/x86/decoder.hh @@ -159,6 +159,7 @@ class Decoder outOfBytes(true), instDone(false), state(ResetState) { + memset(&emi, 0, sizeof(emi)); emi.mode.mode = LongMode; emi.mode.submode = SixtyFourBitMode; m5Reg = 0; |