This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[0/4] Use new vector constant encoding for CONST_VECTOR
- From: Richard Sandiford <richard dot sandiford at linaro dot org>
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 28 Dec 2017 20:49:16 +0000
- Subject: [0/4] Use new vector constant encoding for CONST_VECTOR
- Authentication-results: sourceware.org; auth=none
This series of patches converts CONST_VECTOR to use the same encoding
scheme as VECTOR_CST. I'd originally being holding it back until the
vec_perm series had been processed, but that was probably a mistake.
The main difference from VECTOR_CST is that we still include all the
elements for fixed-length vectors, to help with code that operates
directly on XVEC and XVECEXP. See the covering note of patch 2 for
more details.
Tested on aarch64-linux-gnu, x86_64-linux-gnu and powerpc64el-linux-gnu.
Also tested by comparing the before-and-after assembly output for at
least one target per CPU directory. OK to install?
Thanks,
Richard
[FWIW, the vec_perm patches are the only ones holding up the rest of
the poly_int ones.]