summaryrefslogtreecommitdiff
path: root/docs/ReleaseNotes.html
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-05-15 16:01:20 +0000
committerChris Lattner <sabre@nondot.org>2005-05-15 16:01:20 +0000
commit98a493c7cef0b81d499eae82a1f9b748d5e59eeb (patch)
treed24a903431c6f47de4f8576e3cb78587f46caeaa /docs/ReleaseNotes.html
parentb38da0fb33fe914137fe30a618b00819b978b87d (diff)
downloadllvm-98a493c7cef0b81d499eae82a1f9b748d5e59eeb.tar.gz
llvm-98a493c7cef0b81d499eae82a1f9b748d5e59eeb.tar.bz2
llvm-98a493c7cef0b81d499eae82a1f9b748d5e59eeb.tar.xz
add a sparcv8 section, make this validate
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22056 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/ReleaseNotes.html')
-rw-r--r--docs/ReleaseNotes.html35
1 files changed, 26 insertions, 9 deletions
diff --git a/docs/ReleaseNotes.html b/docs/ReleaseNotes.html
index 3c25708a9f..0bc984db49 100644
--- a/docs/ReleaseNotes.html
+++ b/docs/ReleaseNotes.html
@@ -75,15 +75,15 @@ and enhancements, described below.</p>
</div>
<!--_________________________________________________________________________-->
-<div class="doc_subsubsection"><a href="newcg">New Native Code
+<div class="doc_subsubsection"><a name="newcg">New Native Code
Generators</a></div>
<div class="doc_text">
<p>
This release includes new native code generators for <a
-href="#alpha-be">Alpha</a>, <a href="#ia64-be">IA-64</a>, and SPARC-V8 (32-bit
-SPARC). These code generators are still beta quality, but are progressing
-rapidly.
+href="#alpha-be">Alpha</a>, <a href="#ia64-be">IA-64</a>, and <a
+href="#sparcv8">SPARC-V8</a> (32-bit SPARC). These code generators are still
+beta quality, but are progressing rapidly.
</p>
</div>
@@ -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 <a href="LangRef.html#i_call">call
-instruction</a>, which indicates that the callee does not access the callers
+instruction</a>, 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:</p>
-<p><pre>
+<pre>
fastcc int %bar(int %X, int(double, int)* %FP) { ;<i> fastcc</i>
%Y = tail call fastcc int %FP(double 0.0, int %X) ;<i> tail, fastcc</i>
ret int %Y
}
-</pre></p>
+</pre>
<p>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 <tt>-enable-x86-fastcc</tt> to llc to enable it (this
will be enabled by default in the next release). The example above compiles to:
</p>
-<p><pre>
+<pre>
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"
-</pre></p>
+</pre>
<p>
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.</li>
</div>
+<!-- ======================================================================= -->
+<div class="doc_subsection">
+ <a name="sparcv8">Known problems with the SPARC-V8 back-end</a>
+</div>
+
+<div class="doc_text">
+
+<ul>
+<li>Many features are still missing (e.g. support for 64-bit integer
+arithmetic).</li>
+
+<li>This backend needs to be updated to use the SelectionDAG instruction
+selection framework.</li>
+</ul>
+
+</div>
+
<!-- *********************************************************************** -->
<div class="doc_section">
<a name="additionalinfo">Additional Information</a>