diff options
author | Richard Sandiford <richard.sandiford@linaro.org> | 2017-09-25 13:26:12 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2017-09-25 13:26:12 +0000 |
commit | f39b92e2c485be81ec154d2986495305d5926688 (patch) | |
tree | 7589661abbc6bc69107b22987102175aab90b863 /gcc/builtins.c | |
parent | 26993e95b9e5d4c79ee6c9b16307046383590748 (diff) | |
download | gcc-f39b92e2c485be81ec154d2986495305d5926688.zip gcc-f39b92e2c485be81ec154d2986495305d5926688.tar.gz gcc-f39b92e2c485be81ec154d2986495305d5926688.tar.bz2 |
Change permute index type to unsigned short
This patch changes the element type of (auto_)vec_perm_indices from
unsigned char to unsigned short. This is needed for fixed-length
2048-bit SVE. (SVE is variable-length by default, but it's possible
to ask for specific vector lengths if you want to.)
2017-09-25 Richard Sandiford <richard.sandiford@linaro.org>
gcc/
* target.h (vec_perm_indices): Use unsigned short rather than
unsigned char.
(auto_vec_perm_indices): Likewise.
* config/aarch64/aarch64.c (aarch64_vectorize_vec_perm_const_ok):
Use unsigned int rather than unsigned char.
* config/arm/arm.c (arm_vectorize_vec_perm_const_ok): Likewise.
From-SVN: r253150
Diffstat (limited to 'gcc/builtins.c')
0 files changed, 0 insertions, 0 deletions