From 2dd9f4fcf02c68eb86a6742576eecb3eef3b9ddf Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Tue, 14 Sep 2010 12:31:37 -0700 Subject: [PATCH] X86: Make the halt microop non-speculative. Executing this microop makes the CPU halt even if it was misspeculated. --- src/arch/x86/isa/microops/specop.isa | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/arch/x86/isa/microops/specop.isa b/src/arch/x86/isa/microops/specop.isa index f6978075b..52420f175 100644 --- a/src/arch/x86/isa/microops/specop.isa +++ b/src/arch/x86/isa/microops/specop.isa @@ -61,7 +61,9 @@ output header {{ public: MicroHalt(ExtMachInst _machInst, const char * instMnem, uint64_t setFlags) : - X86MicroopBase(_machInst, "halt", instMnem, setFlags, No_OpClass) + X86MicroopBase(_machInst, "halt", instMnem, + setFlags | (ULL(1) << StaticInst::IsNonSpeculative), + No_OpClass) { } -- 2.30.2