From 3ef750d4b63bce1f13f9f8381fc6523f4a388b3f Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Mon, 25 Jul 2011 20:25:03 +0000 Subject: Fix some typos. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135956 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/CodeGenerator.html | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'docs') diff --git a/docs/CodeGenerator.html b/docs/CodeGenerator.html index 1d03cbdf1a..aba7b1bcf5 100644 --- a/docs/CodeGenerator.html +++ b/docs/CodeGenerator.html @@ -1889,7 +1889,8 @@ $ llc -regalloc=pbqp file.bc -o pbqp.s; -
Frameless with a Small Constant Stack Size (EBP or RBP is not used as a frame pointer)
+
Frameless with a Small Constant Stack Size (EBP + or RBP is not used as a frame pointer)

To return, a constant (encoded in the compact unwind encoding) is added to the ESP/RSP. Then the return is done by popping the stack into the PC. All non-volatile registers that need to be restored must have @@ -1903,12 +1904,13 @@ $ llc -regalloc=pbqp file.bc -o pbqp.s; function in lib/Target/X86FrameLowering.cpp for the encoding algorithm.)

-
Frameless with a Large Constant Stack Size (EBP or RBP is not used as a frame pointer)
+
Frameless with a Large Constant Stack Size (EBP + or RBP is not used as a frame pointer)

This case is like the "Frameless with a Small Constant Stack Size" - case, but the stack size is too larget to encode in the compact unwind + case, but the stack size is too large to encode in the compact unwind encoding. Instead it requires that the function contains "subl $nnnnnn, %esp" in its prolog. The compact encoding contains the - offset to the $nnnnnn value in the funciton in bits 9-12 + offset to the $nnnnnn value in the function in bits 9-12 (mask: 0x00001C00).

-- cgit v1.2.3