x86: Replace the .serializing directive with .serialize_(before|after).
authorGabe Black <gabeblack@google.com>
Tue, 13 Mar 2018 00:06:14 +0000 (17:06 -0700)
committerGabe Black <gabeblack@google.com>
Wed, 14 Mar 2018 20:06:47 +0000 (20:06 +0000)
commit0f425ad5d590f670efac118b03e591579da21e84
treed489726f84324dcc07128551d69fcf866f47e5ec
parent9f8491ecbfb80696b62a5a878fe40f81a8a0d35c
x86: Replace the .serializing directive with .serialize_(before|after).

This makes it explicit which type of serialization you want, and also
makes it possible to make a macroop serialize before. The old
serializing directive was renamed .serialize_after in the microcode
assembler, and throughout the microcode implementation, and its
behavior is unchanged. More specifically, it still marks the last
microop within the macroop as IsSerializing and IsSerializeAfter.

The new .serialize_before directive does something similar and marks
the first microop as IsSerializing and IsSerializeBefore.

Change-Id: Ia53466c734c651c65400809de7ef903c4a6c3e7e
Reviewed-on: https://gem5-review.googlesource.com/9041
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Gabe Black <gabeblack@google.com>
src/arch/x86/isa/insts/general_purpose/control_transfer/interrupts_and_exceptions.py
src/arch/x86/isa/insts/general_purpose/data_transfer/move.py
src/arch/x86/isa/insts/system/invlpg.py
src/arch/x86/isa/insts/system/msrs.py
src/arch/x86/isa/insts/system/segmentation.py
src/arch/x86/isa/macroop.isa