This fixes a rounding mode issue recently noticed when working libdfp.

Please see the patch descriptions for more details.

Andreas Krebbel (2):
  S/390: Define macros for rounding mode constants
  S/390: Fix rounding for _Decimal128 to _Decimal32 conversion

 gcc/config/s390/s390.md               | 80 ++++++++++++++++++++++++++++-------
 gcc/testsuite/gcc.target/s390/dfp-1.c | 23 ++++++++++
 2 files changed, 87 insertions(+), 16 deletions(-)
 create mode 100644 gcc/testsuite/gcc.target/s390/dfp-1.c

-- 
1.9.1

Reply via email to