From: Gabe Black Date: Fri, 29 Oct 2010 09:20:46 +0000 (-0700) Subject: X86: Make syscalls also serialize after. X-Git-Tag: stable_2012_02_02~777 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7378424b149a16cbc22a5b0260372beb8c8a0ac7;p=gem5.git X86: Make syscalls also serialize after. --- diff --git a/src/arch/x86/isa/decoder/one_byte_opcodes.isa b/src/arch/x86/isa/decoder/one_byte_opcodes.isa index 213ddf65a..71d161231 100644 --- a/src/arch/x86/isa/decoder/one_byte_opcodes.isa +++ b/src/arch/x86/isa/decoder/one_byte_opcodes.isa @@ -403,7 +403,7 @@ 0x5: decode IMMEDIATE { -0x80: SyscallInst::int80('xc->syscall(Rax)', - IsSyscall, IsNonSpeculative); + IsSyscall, IsNonSpeculative, IsSerializeAfter); default: int_Ib(); } #endif diff --git a/src/arch/x86/isa/decoder/two_byte_opcodes.isa b/src/arch/x86/isa/decoder/two_byte_opcodes.isa index 27824c8aa..de167d1c1 100644 --- a/src/arch/x86/isa/decoder/two_byte_opcodes.isa +++ b/src/arch/x86/isa/decoder/two_byte_opcodes.isa @@ -229,7 +229,7 @@ } #else 0x05: SyscallInst::syscall('xc->syscall(Rax)', - IsSyscall, IsNonSpeculative); + IsSyscall, IsNonSpeculative, IsSerializeAfter); #endif 0x06: Inst::CLTS(); 0x07: decode MODE_SUBMODE { @@ -406,7 +406,7 @@ 0x4: sysenter(); #else 0x4: SyscallInst::sysenter('xc->syscall(Rax)', - IsSyscall, IsNonSpeculative); + IsSyscall, IsNonSpeculative, IsSerializeAfter); #endif 0x5: sysexit(); 0x6: Inst::UD2();