aboutsummaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorAndreas Krebbel <krebbel@linux.ibm.com>2021-08-04 18:40:10 +0200
committerAndreas Krebbel <krebbel@linux.ibm.com>2021-08-04 18:40:10 +0200
commit6dc8c4656444153c9e2f98d382de39728a849672 (patch)
tree6bef915786fd85474decd0f2e301e52d3e00d727 /libgcc
parent4e34925ef1aeab73e022d80149be8cec92c48667 (diff)
downloadgcc-6dc8c4656444153c9e2f98d382de39728a849672.zip
gcc-6dc8c4656444153c9e2f98d382de39728a849672.tar.gz
gcc-6dc8c4656444153c9e2f98d382de39728a849672.tar.bz2
IBM Z: Implement TARGET_VECTORIZE_VEC_PERM_CONST for vector merge
This patch implements the TARGET_VECTORIZE_VEC_PERM_CONST in the IBM Z backend. The initial implementation only exploits the vector merge instruction but there is more to come. gcc/ChangeLog: * config/s390/s390.c (MAX_VECT_LEN): Define macro. (struct expand_vec_perm_d): Define struct. (expand_perm_with_merge): New function. (vectorize_vec_perm_const_1): New function. (s390_vectorize_vec_perm_const): New function. (TARGET_VECTORIZE_VEC_PERM_CONST): Define target macro. gcc/testsuite/ChangeLog: * gcc.target/s390/vector/perm-merge.c: New test. * gcc.target/s390/vector/vec-types.h: New test.
Diffstat (limited to 'libgcc')
0 files changed, 0 insertions, 0 deletions