https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115261
--- Comment #3 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Stefan Schulze Frielinghaus <stefa...@gcc.gnu.org>: https://gcc.gnu.org/g:2ab143df110a40bd41b5368ef84819953bf971b1 commit r15-1365-g2ab143df110a40bd41b5368ef84819953bf971b1 Author: Stefan Schulze Frielinghaus <stefa...@linux.ibm.com> Date: Mon Jun 17 08:36:11 2024 +0200 s390: Extend two/four element integer vectors For the moment I deliberately left out one-element QHS vectors since it is unclear whether these are pathological cases or whether they are really used. If we ever get an extend for V1DI -> V1TI we should reconsider this. As a side-effect this fixes PR115261. gcc/ChangeLog: PR target/115261 * config/s390/s390.md (any_extend,extend_insn,zero_extend): New code attributes and code iterator. * config/s390/vector.md (V_EXTEND): New mode iterator. (<extend_insn><V_EXTEND:mode><vec_2x_wide>2): New insn. gcc/testsuite/ChangeLog: * gcc.target/s390/vector/vec-extend-1.c: New test. * gcc.target/s390/vector/vec-extend-2.c: New test.