X86: Fix a bug in IRET_PROT's microcode. The immediate form of sra was intended.

This commit is contained in:
Gabe Black 2009-07-08 23:01:54 -07:00
parent 15afc87f7c
commit d029110fa1

View file

@ -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