[llvm] r302950 - [Doc] Document "Splat" in the lexicon

Sanjay Patel via llvm-commits llvm-commits at lists.llvm.org
Fri May 12 14:30:32 PDT 2017


Author: spatel
Date: Fri May 12 16:30:31 2017
New Revision: 302950

URL: http://llvm.org/viewvc/llvm-project?rev=302950&view=rev
Log:
[Doc] Document "Splat" in the lexicon

Patch by Wei-Ren Chen (陳韋任)!

Differential Revision: https://reviews.llvm.org/D32964

Modified:
    llvm/trunk/docs/Lexicon.rst

Modified: llvm/trunk/docs/Lexicon.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/Lexicon.rst?rev=302950&r1=302949&r2=302950&view=diff
==============================================================================
--- llvm/trunk/docs/Lexicon.rst (original)
+++ llvm/trunk/docs/Lexicon.rst Fri May 12 16:30:31 2017
@@ -249,6 +249,14 @@ S
     Superword-Level Parallelism, same as :ref:`Basic-Block Vectorization
     <lexicon-bb-vectorization>`.
 
+**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()". Examples of other hardware names for this
+    action include "duplicate" (ARM) and "broadcast" (x86).
+
 **SRoA**
     Scalar Replacement of Aggregates
 




More information about the llvm-commits mailing list