aboutsummaryrefslogtreecommitdiff
path: root/gcc/genmodes.c
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2021-08-10 10:54:58 +0200
committerRichard Biener <rguenther@suse.de>2021-08-10 12:25:19 +0200
commit08aa0e3d4f781fd6a6e293bb06d280365a0bdc1d (patch)
tree9d0e2d205aa98850d8c33f85b869c212a2ce5d3c /gcc/genmodes.c
parent7665af0b1a964b1baae3a59b22fcc420369c63cf (diff)
downloadgcc-08aa0e3d4f781fd6a6e293bb06d280365a0bdc1d.zip
gcc-08aa0e3d4f781fd6a6e293bb06d280365a0bdc1d.tar.gz
gcc-08aa0e3d4f781fd6a6e293bb06d280365a0bdc1d.tar.bz2
tree-optimization/101809 - support emulated gather for double[int]
This adds emulated gather support for index vectors with more elements than the data vector. The internal function gather vectorization code doesn't currently handle this (but the builtin decl code does). This allows vectorization of double data gather with int indexes on 32bit platforms where there isn't an implicit widening to 64bit present. 2021-08-10 Richard Biener <rguenther@suse.de> PR tree-optimization/101809 * tree-vect-stmts.c (get_load_store_type): Allow emulated gathers with offset vector nunits being a constant multiple of the data vector nunits. (vect_get_gather_scatter_ops): Use the appropriate nunits for the offset vector defs. (vectorizable_store): Adjust call to vect_get_gather_scatter_ops. (vectorizable_load): Likewise. Handle the case of less offset vectors than data vectors.
Diffstat (limited to 'gcc/genmodes.c')
0 files changed, 0 insertions, 0 deletions