From: Gabe Black Date: Thu, 9 Jul 2009 06:01:54 +0000 (-0700) Subject: X86: Fix a bug in IRET_PROT's microcode. The immediate form of sra was intended. X-Git-Tag: Calvin_Submission~219^2~40 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d029110fa15346c705bf6a47ef9cf65ad3bcf234;p=gem5.git X86: Fix a bug in IRET_PROT's microcode. The immediate form of sra was intended. --- diff --git a/src/arch/x86/isa/insts/general_purpose/control_transfer/interrupts_and_exceptions.py b/src/arch/x86/isa/insts/general_purpose/control_transfer/interrupts_and_exceptions.py index 8203f7c2c..358fe43c8 100644 --- a/src/arch/x86/isa/insts/general_purpose/control_transfer/interrupts_and_exceptions.py +++ b/src/arch/x86/isa/insts/general_purpose/control_transfer/interrupts_and_exceptions.py @@ -158,7 +158,7 @@ processCSDescriptor: doPopStackStuffAndCheckRIP: # Check if the RIP is canonical. - sra t7, t1, 47, flags=(EZF,), dataSize=ssz + srai t7, t1, 47, flags=(EZF,), dataSize=ssz # if t7 isn't 0 or -1, it wasn't canonical. br label("doPopStackStuff"), flags=(CEZF,) addi t0, t7, 1, flags=(EZF,), dataSize=ssz