rs6000.md (floor<mode>2): Add support for IEEE 128-bit round to integer instructions.
authorMichael Meissner <meissner@linux.vnet.ibm.com>
Wed, 3 Jan 2018 02:38:09 +0000 (02:38 +0000)
committerMichael Meissner <meissner@gcc.gnu.org>
Wed, 3 Jan 2018 02:38:09 +0000 (02:38 +0000)
commit2d71e7b8d45597f9905580cf645dbe047385cb13
tree402ee0fb80510f03a8e436d10d0a6b48b95272cd
parent50d75500a3342f0bb73da86675b7e41e5a928ea4
rs6000.md (floor<mode>2): Add support for IEEE 128-bit round to integer instructions.

[gcc]
2018-01-02  Michael Meissner  <meissner@linux.vnet.ibm.com>

* config/rs6000/rs6000.md (floor<mode>2): Add support for IEEE
128-bit round to integer instructions.
(ceil<mode>2): Likewise.
(btrunc<mode>2): Likewise.
(round<mode>2): Likewise.

[gcc/testsuite]
2018-01-02  Michael Meissner  <meissner@linux.vnet.ibm.com>

* gcc.target/powerpc/float128-hw2.c: Add tests for ceilf128,
floorf128, truncf128, and roundf128.
* gcc.target/powerpc/float128-hw5.c: New tests for _Float128
optimizations added in match.pd.
* gcc.target/powerpc/float128-hw6.c: Likewise.
* gcc.target/powerpc/float128-hw7.c: Likewise.
* gcc.target/powerpc/float128-hw8.c: Likewise.
* gcc.target/powerpc/float128-hw9.c: Likewise.
* gcc.target/powerpc/float128-hw10.c: Likewise.
* gcc.target/powerpc/float128-hw11.c: Likewise.

From-SVN: r256118
gcc/ChangeLog
gcc/config/rs6000/rs6000.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/float128-hw10.c [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/float128-hw11.c [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/float128-hw2.c
gcc/testsuite/gcc.target/powerpc/float128-hw5.c [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/float128-hw6.c [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/float128-hw7.c [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/float128-hw8.c [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/float128-hw9.c [new file with mode: 0644]