Skip to content

Commit 2413af2

Browse files
committed
[Doc] Document "Splat" in the lexicon
Patch by Wei-Ren Chen (陳韋任)! Differential Revision: https://reviews.llvm.org/D32964 llvm-svn: 302950
1 parent 1b85894 commit 2413af2

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

llvm/docs/Lexicon.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,14 @@ S
249249
Superword-Level Parallelism, same as :ref:`Basic-Block Vectorization
250250
<lexicon-bb-vectorization>`.
251251

252+
**Splat**
253+
Splat refers to a vector of identical scalar elements.
254+
255+
The term is based on the PowerPC Altivec instructions that provided
256+
this functionality in hardware. For example, "vsplth" and the corresponding
257+
software intrinsic "vec_splat()". Examples of other hardware names for this
258+
action include "duplicate" (ARM) and "broadcast" (x86).
259+
252260
**SRoA**
253261
Scalar Replacement of Aggregates
254262

0 commit comments

Comments
 (0)