S/390: Add support for double<->long vector converts
authorAndreas Krebbel <krebbel@linux.ibm.com>
Fri, 21 Dec 2018 18:57:00 +0000 (18:57 +0000)
committerAndreas Krebbel <krebbel@gcc.gnu.org>
Fri, 21 Dec 2018 18:57:00 +0000 (18:57 +0000)
commit2f8df14d379566091aed5fe278c5ee2d30490b51
treeae26c9ae38a3a98f05cd4850b017315336a1c5eb
parentc3d62ffdc299a91fe4ae5c2099c5f917790bab0c
S/390: Add support for double<->long vector converts

gcc/ChangeLog:

2018-12-21  Andreas Krebbel  <krebbel@linux.ibm.com>

* config/s390/vector.md ("floatv2div2df2", "floatunsv2div2df2")
("fix_truncv2dfv2di2", "fixuns_truncv2dfv2di2"): New pattern
definitions.

gcc/testsuite/ChangeLog:

2018-12-21  Andreas Krebbel  <krebbel@linux.ibm.com>

* gcc.target/s390/vector/fp-signedint-convert-1.c: New test.
* gcc.target/s390/vector/fp-unsignedint-convert-1.c: New test.

From-SVN: r267336
gcc/ChangeLog
gcc/config/s390/vector.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/s390/vector/fp-signedint-convert-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/s390/vector/fp-unsignedint-convert-1.c [new file with mode: 0644]