diff options
author | Stefan Schulze Frielinghaus <stefansf@linux.ibm.com> | 2024-06-17 08:36:11 +0200 |
---|---|---|
committer | Stefan Schulze Frielinghaus <stefansf@linux.ibm.com> | 2024-06-17 08:36:11 +0200 |
commit | 2ab143df110a40bd41b5368ef84819953bf971b1 (patch) | |
tree | f1165d70cddb470598e0cd30ed48a5db3d5a92b6 /ar-lib | |
parent | 0bf3f14e0d79f3258d4e5570216b5d81af6d60ef (diff) | |
download | gcc-2ab143df110a40bd41b5368ef84819953bf971b1.zip gcc-2ab143df110a40bd41b5368ef84819953bf971b1.tar.gz gcc-2ab143df110a40bd41b5368ef84819953bf971b1.tar.bz2 |
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.
Diffstat (limited to 'ar-lib')
0 files changed, 0 insertions, 0 deletions