2013-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
authorAndreas Krebbel <Andreas.Krebbel@de.ibm.com>
Fri, 6 Sep 2013 07:55:35 +0000 (07:55 +0000)
committerAndreas Krebbel <krebbel@gcc.gnu.org>
Fri, 6 Sep 2013 07:55:35 +0000 (07:55 +0000)
commitd12a76f3ec0d4f3010be7b3f335136247b44014a
tree083333ab956d389fcc0e951bcb677f0babe83dbc
parenta9cc3f58acc3606e46c808cb9e698f4aa521056f
2013-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* config/s390/s390.md (UNSPEC_FPINT_FLOOR, UNSPEC_FPINT_BTRUNC)
(UNSPEC_FPINT_ROUND, UNSPEC_FPINT_CEIL, UNSPEC_FPINT_NEARBYINT)
(UNSPEC_FPINT_RINT): New constant definitions.
(FPINT, fpint_name, fpint_roundingmode): New integer iterator
definition with 2 attributes.
("<FPINT:fpint_name><BFP:mode>2", "rint<BFP:mode>2")
("<FPINT:fpint_name><DFP:mode>2", "rint<DFP:mode>2"): New pattern
definitions.

2013-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* gcc.target/s390/nearestint-1.c: New testcase.

From-SVN: r202312
gcc/ChangeLog
gcc/config/s390/2827.md
gcc/config/s390/s390.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/s390/nearestint-1.c [new file with mode: 0644]