X86: Make syscalls also serialize after.
authorGabe Black <gblack@eecs.umich.edu>
Fri, 29 Oct 2010 09:20:46 +0000 (02:20 -0700)
committerGabe Black <gblack@eecs.umich.edu>
Fri, 29 Oct 2010 09:20:46 +0000 (02:20 -0700)
src/arch/x86/isa/decoder/one_byte_opcodes.isa
src/arch/x86/isa/decoder/two_byte_opcodes.isa

index 213ddf65afc5319906e38016ea28d54c33a88e43..71d16123196a8d1eca6d66936603ddbe2d1b8b74 100644 (file)
                 0x5: decode IMMEDIATE {
                     -0x80:
                          SyscallInst::int80('xc->syscall(Rax)',
-                                 IsSyscall, IsNonSpeculative);
+                                 IsSyscall, IsNonSpeculative, IsSerializeAfter);
                     default: int_Ib();
                 }
 #endif
index 27824c8aaf57a11fd7c57c2b14fa04731cbde7b4..de167d1c1df845511e99c2ad1f440e14b654e131 100644 (file)
                 }
 #else
                 0x05: SyscallInst::syscall('xc->syscall(Rax)',
-                              IsSyscall, IsNonSpeculative);
+                              IsSyscall, IsNonSpeculative, IsSerializeAfter);
 #endif
                 0x06: Inst::CLTS();
                 0x07: decode MODE_SUBMODE {
                 0x4: sysenter();
 #else
                 0x4: SyscallInst::sysenter('xc->syscall(Rax)',
-                             IsSyscall, IsNonSpeculative);
+                             IsSyscall, IsNonSpeculative, IsSerializeAfter);
 #endif
                 0x5: sysexit();
                 0x6: Inst::UD2();