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

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 8 07:33:08 PDT 2017


spatel accepted this revision.
spatel added a comment.
This revision is now accepted and ready to land.

LGTM. A couple of potential changes, but I leave that to you if you think it's better:

1. A shorter statement:

Splat refers to a vector of identical scalar elements.

2. We could add a sentence for the historical background:

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()".


https://reviews.llvm.org/D32964





More information about the llvm-commits mailing list