From 7378424b149a16cbc22a5b0260372beb8c8a0ac7 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Fri, 29 Oct 2010 02:20:46 -0700 Subject: [PATCH] X86: Make syscalls also serialize after. --- src/arch/x86/isa/decoder/one_byte_opcodes.isa | 2 +- src/arch/x86/isa/decoder/two_byte_opcodes.isa | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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(); -- 2.30.2