summaryrefslogtreecommitdiffstats
path: root/llvm/docs/LangRef.html
diff options
context:
space:
mode:
authorTobias Grosser <grosser@fim.uni-passau.de>2012-05-24 15:59:06 +0000
committerTobias Grosser <grosser@fim.uni-passau.de>2012-05-24 15:59:06 +0000
commit6b31d170a44482c231abd9306e5687a88ae673ad (patch)
tree1898e2e56ebd54139ee1f3549875fd89e99dfccb /llvm/docs/LangRef.html
parentd1b9521e483b521d3f863ab89018879b48333bd5 (diff)
downloadbcm5719-llvm-6b31d170a44482c231abd9306e5687a88ae673ad.tar.gz
bcm5719-llvm-6b31d170a44482c231abd9306e5687a88ae673ad.zip
Add half support to LLVM (for OpenCL)
Submitted by: Anton Lokhmotov <Anton.Lokhmotov@arm.com> Approved by: o Anton Korobeynikov o Micah Villmow o David Neto llvm-svn: 157393
Diffstat (limited to 'llvm/docs/LangRef.html')
-rw-r--r--llvm/docs/LangRef.html8
1 files changed, 5 insertions, 3 deletions
diff --git a/llvm/docs/LangRef.html b/llvm/docs/LangRef.html
index 8f7a17c748c..a781992f898 100644
--- a/llvm/docs/LangRef.html
+++ b/llvm/docs/LangRef.html
@@ -2289,8 +2289,9 @@ in signal handlers).</p>
by <tt>0xM</tt> followed by 32 hexadecimal digits. The IEEE 128-bit format
is represented by <tt>0xL</tt> followed by 32 hexadecimal digits; no
currently supported target uses this format. Long doubles will only work if
- they match the long double format on your target. All hexadecimal formats
- are big-endian (sign bit at the left).</p>
+ they match the long double format on your target. The IEEE 16-bit format
+ (half precision) is represented by <tt>0xH</tt> followed by 4 hexadecimal
+ digits. All hexadecimal formats are big-endian (sign bit at the left).</p>
<p>There are no constants of type x86mmx.</p>
</div>
@@ -7947,7 +7948,8 @@ LLVM</a>.</p>
<div>
-<p>Half precision floating point is a storage-only format. This means that it is
+<p>For most target platforms, half precision floating point is a storage-only
+ format. This means that it is
a dense encoding (in memory) but does not support computation in the
format.</p>
OpenPOWER on IntegriCloud