aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc/md.texi
diff options
context:
space:
mode:
authorAlan Lawrence <alan.lawrence@arm.com>2014-11-14 10:48:34 +0000
committerAlan Lawrence <alalaw01@gcc.gnu.org>2014-11-14 10:48:34 +0000
commit729ff76e2b7931d1106667e7f27001c5c0f624b8 (patch)
tree11269bbc5bc8d4449b8484d7fccf11158c77490f /gcc/doc/md.texi
parent8261494856f9478e0393d5bd9be26961d16f266f (diff)
downloadgcc-729ff76e2b7931d1106667e7f27001c5c0f624b8.zip
gcc-729ff76e2b7931d1106667e7f27001c5c0f624b8.tar.gz
gcc-729ff76e2b7931d1106667e7f27001c5c0f624b8.tar.bz2
[Vectorizer]Make reductions-via-shifts and vec_shr_optab endianness-neutral
* optabs.c (shift_amt_for_vec_perm_mask): Remove code conditional on BYTES_BIG_ENDIAN. * tree-vect-loop.c (calc_vec_perm_mask_for_shift, vect_create_epilog_for_reduction): Likewise. * doc/md.texi (vec_shr_m): Clarify direction of shifting. From-SVN: r217550
Diffstat (limited to 'gcc/doc/md.texi')
-rw-r--r--gcc/doc/md.texi2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/doc/md.texi b/gcc/doc/md.texi
index 6404147..b8e5ac5 100644
--- a/gcc/doc/md.texi
+++ b/gcc/doc/md.texi
@@ -4798,7 +4798,7 @@ of a wider mode.)
@cindex @code{vec_shr_@var{m}} instruction pattern
@item @samp{vec_shr_@var{m}}
-Whole vector right shift in bits.
+Whole vector right shift in bits, i.e. towards element 0.
Operand 1 is a vector to be shifted.
Operand 2 is an integer shift amount in bits.
Operand 0 is where the resulting shifted vector is stored.