X86: Make the halt microop non-speculative.

Executing this microop makes the CPU halt even if it was misspeculated.
This commit is contained in:
Gabe Black 2010-09-14 12:31:37 -07:00
parent 0bbd88eb40
commit 2dd9f4fcf0

View file

@ -61,7 +61,9 @@ output header {{
public: public:
MicroHalt(ExtMachInst _machInst, const char * instMnem, MicroHalt(ExtMachInst _machInst, const char * instMnem,
uint64_t setFlags) : uint64_t setFlags) :
X86MicroopBase(_machInst, "halt", instMnem, setFlags, No_OpClass) X86MicroopBase(_machInst, "halt", instMnem,
setFlags | (ULL(1) << StaticInst::IsNonSpeculative),
No_OpClass)
{ {
} }