This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[committed] Add @findex for __builtin_shuffle (PR c/82234)
- From: Jakub Jelinek <jakub at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Mon, 18 Sep 2017 20:50:38 +0200
- Subject: [committed] Add @findex for __builtin_shuffle (PR c/82234)
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx05.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx05.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=jakub at redhat dot com
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 43A1790901
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
Hi!
Our docs were missing @findex entry for __builtin_shuffle, added thusly,
tested on x86_64-linux, committed to trunk.
2017-09-18 Jakub Jelinek <jakub@redhat.com>
PR c/82234
* doc/extend.texi: Add @findex entry for __builtin_shuffle.
--- gcc/doc/extend.texi.jj 2017-09-15 23:12:30.000000000 +0200
+++ gcc/doc/extend.texi 2017-09-18 10:37:32.166090507 +0200
@@ -9683,6 +9683,7 @@ For mixed operations between a scalar @c
@code{s && v} is equivalent to @code{s?v!=0:0} (the evaluation is
short-circuit) and @code{v && s} is equivalent to @code{v!=0 & (s?-1:0)}.
+@findex __builtin_shuffle
Vector shuffling is available using functions
@code{__builtin_shuffle (vec, mask)} and
@code{__builtin_shuffle (vec0, vec1, mask)}.
Jakub