summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2017-09-18 18:49:41 +0000
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2017-09-18 18:49:41 +0000
commitabd98c075ed2e49c085c526ef0611d82d2991e04 (patch)
treeea54a99a0bd86ac3bbfbd0bb130121f179b635eb
parent20c4114f15d3e4c827b773f2cc93b28b04e86bbe (diff)
downloadgcc-abd98c075ed2e49c085c526ef0611d82d2991e04.tar.gz
PR c/82234
* doc/extend.texi: Add @findex entry for __builtin_shuffle. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@252947 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/doc/extend.texi1
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index cca1a2513df..283c15937ff 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2017-09-18 Jakub Jelinek <jakub@redhat.com>
+
+ PR c/82234
+ * doc/extend.texi: Add @findex entry for __builtin_shuffle.
+
2017-09-18 Richard Sandiford <richard.sandiford@linaro.org>
Alan Hayward <alan.hayward@arm.com>
David Sherwood <david.sherwood@arm.com>
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index aa780a162e1..04c497a1e2f 100644
--- a/gcc/doc/extend.texi
+++ b/gcc/doc/extend.texi
@@ -9683,6 +9683,7 @@ For mixed operations between a scalar @code{s} and a vector @code{v},
@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)}.