[PATCH] D32964: [Doc] Document "Splat" in the lexicon

Wei-Ren Chen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 11 06:13:10 PDT 2017


chenwj updated this revision to Diff 98625.
chenwj added a comment.

Add more example.


https://reviews.llvm.org/D32964

Files:
  docs/Lexicon.rst


Index: docs/Lexicon.rst
===================================================================
--- docs/Lexicon.rst
+++ docs/Lexicon.rst
@@ -259,6 +259,14 @@
     In garbage collection, metadata emitted by the code generator which
     identifies `roots`_ within the stack frame of an executing function.
 
+**Splat**
+    Splat refers to a vector of identical scalar elements.
+
+    The term is based on the PowerPC Altivec instructions that provided
+    this functionality in hardware. For example, "vsplth" and the corresponding
+    software intrinsic "vec_splat()". Other hardware names for this action
+    may be "duplicate" (ARM) or "broadcast" (x86).
+
 T
 -
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32964.98625.patch
Type: text/x-patch
Size: 669 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170511/09c194e6/attachment.bin>


More information about the llvm-commits mailing list