probable bug in Intel documentation?

probable bug in Intel documentation?

Intel 64 and IA-32 Architectures
Software Developers Manual
Volume 3A:
System Programming Guide, Part 1
Order Number: 253668-034US
March 2010

6.14.3
IRET in IA-32e Mode

Because interrupt stack-frame pushes are always eight bytes in IA-32e mode, an
IRET must pop eight byte items off the stack. This is accomplished by preceding the
IRET with a 64-bit operand-size prefix. The size of the pop is determined by the
address size of the instruction. The SS/ESP/RSP size adjustment is determined by
the stack size.
------------------------------------------------------------
Please look at the above manual by Intel.
I think SS/ESP/RSP is wrong, it should be SP/ESP/RSP.
Also I think the following sentence is correct:
"The size of the pop is determined by the operand size of the instruction."

Regards

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Thank you for your feedback. We'll have it fixed.

Leave a Comment

Please sign in to add a comment. Not a member? Join today