From 98a493c7cef0b81d499eae82a1f9b748d5e59eeb Mon Sep 17 00:00:00 2001
From: Chris Lattner
Date: Sun, 15 May 2005 16:01:20 +0000
Subject: [PATCH] add a sparcv8 section, make this validate
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22056 91177308-0d34-0410-b5e6-96231b3b80d8
---
docs/ReleaseNotes.html | 35 ++++++++++++++++++++++++++---------
1 file changed, 26 insertions(+), 9 deletions(-)
diff --git a/docs/ReleaseNotes.html b/docs/ReleaseNotes.html
index 3c25708a9f5..0bc984db49b 100644
--- a/docs/ReleaseNotes.html
+++ b/docs/ReleaseNotes.html
@@ -75,15 +75,15 @@ and enhancements, described below.
-New Native Code
+
This release includes new native code generators for Alpha, IA-64, and SPARC-V8 (32-bit
-SPARC). These code generators are still beta quality, but are progressing
-rapidly.
+href="#alpha-be">Alpha, IA-64, and SPARC-V8 (32-bit SPARC). These code generators are still
+beta quality, but are progressing rapidly.
@@ -138,7 +138,7 @@ required to implement languages like Scheme. Tail calls make use of two
features: custom calling conventions (described above), which allow the code
generator to emit code for the caller to deallocate its own stack when it
returns. The second feature is a flag on the call
-instruction, which indicates that the callee does not access the callers
+instruction, which indicates that the callee does not access the caller's
stack frame (indicating that it is acceptable to deallocate the caller stack
before invoking the callee). LLVM proper tail calls run on the system stack (as
do normal calls), supports indirect tail calls, tail calls with arbitrary
@@ -153,12 +153,12 @@ return of the called value (or void). The optimizer and code generator attempt
to handle more general cases, but the simple case will always work if the code
generator supports tail calls. Here is a simple example:
-
+
fastcc int %bar(int %X, int(double, int)* %FP) { ; fastcc
%Y = tail call fastcc int %FP(double 0.0, int %X) ; tail, fastcc
ret int %Y
}
-
+
In LLVM 1.5, the X86 code generator is the only target that has been enhanced
to support proper tail calls (other targets will be enhanced in future).
@@ -167,7 +167,7 @@ disabled by default. Pass -enable-x86-fastcc to llc to enable it (this
will be enabled by default in the next release). The example above compiles to:
-
+
bar:
sub ESP, 8 # Callee uses more space than the caller
mov ECX, DWORD PTR [ESP + 8] # Get the old return address
@@ -175,7 +175,7 @@ will be enabled by default in the next release). The example above compiles to:
mov DWORD PTR [ESP + 8], 0 # Second half of 0.0
mov DWORD PTR [ESP], ECX # Put the return address where it belongs
jmp EDX # Tail call "FP"
-
+
With fastcc on X86, the first two integer arguments are passed in EAX/EDX, the
@@ -728,6 +728,23 @@ particularly for C++ and floating-point programs.
+
+