mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
Rename "fpaccuracy" metadata to the more generic "fpmath". That's because I'm
thinking of generalizing it to be able to specify other freedoms beyond accuracy (such as that NaN's don't have to be respected). I'd like the 3.1 release (the first one with this metadata) to have the more generic name already rather than having to auto-upgrade it in 3.2. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154744 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -103,7 +103,7 @@
|
||||
<li><a href="#metadata">Metadata Nodes and Metadata Strings</a>
|
||||
<ol>
|
||||
<li><a href="#tbaa">'<tt>tbaa</tt>' Metadata</a></li>
|
||||
<li><a href="#fpaccuracy">'<tt>fpaccuracy</tt>' Metadata</a></li>
|
||||
<li><a href="#fpmath">'<tt>fpmath</tt>' Metadata</a></li>
|
||||
<li><a href="#range">'<tt>range</tt>' Metadata</a></li>
|
||||
</ol>
|
||||
</li>
|
||||
@@ -3000,15 +3000,15 @@ call void @llvm.dbg.value(metadata !24, i64 0, metadata !25)
|
||||
|
||||
<!-- _______________________________________________________________________ -->
|
||||
<h4>
|
||||
<a name="fpaccuracy">'<tt>fpaccuracy</tt>' Metadata</a>
|
||||
<a name="fpmath">'<tt>fpmath</tt>' Metadata</a>
|
||||
</h4>
|
||||
|
||||
<div>
|
||||
|
||||
<p><tt>fpaccuracy</tt> metadata may be attached to any instruction of floating
|
||||
point type. It expresses the maximum relative error allowed in the result
|
||||
of that instruction, in ULPs, thus potentially allowing the compiler to use
|
||||
a more efficient but less accurate method of computing it.
|
||||
<p><tt>fpmath</tt> metadata may be attached to any instruction of floating point
|
||||
type. It can be used to express the maximum acceptable relative error in the
|
||||
result of that instruction, in ULPs, thus potentially allowing the compiler
|
||||
to use a more efficient but less accurate method of computing it.
|
||||
ULP is defined as follows:</p>
|
||||
|
||||
<blockquote>
|
||||
|
Reference in New Issue
Block a user