mbox series

[0/2] IBM Z: Fix long double <-> DFP conversions

Message ID 20210218125709.16119-1-iii@linux.ibm.com
Headers show
Series IBM Z: Fix long double <-> DFP conversions | expand

Message

Ilya Leoshkevich Feb. 18, 2021, 12:57 p.m. UTC
This series fixes PR99134.  Patch 1 is factored out from the pending
[1], patch 2 is the actual fix.  Bootstrapped and regtested on
s390x-redhat-linux.  Ok for master?

[1] https://gcc.gnu.org/pipermail/gcc-patches/2021-January/564380.html

Ilya Leoshkevich (2):
  IBM Z: Improve FPRX2 <-> TF conversions
  IBM Z: Fix long double <-> DFP conversions

 gcc/config/s390/vector.md                     | 108 +++++++++++++++++-
 .../s390/vector/long-double-from-decimal128.c |  20 ++++
 .../s390/vector/long-double-from-decimal32.c  |  20 ++++
 .../s390/vector/long-double-from-decimal64.c  |  20 ++++
 .../s390/vector/long-double-to-decimal128.c   |  19 +++
 .../s390/vector/long-double-to-decimal32.c    |  19 +++
 .../s390/vector/long-double-to-decimal64.c    |  19 +++
 7 files changed, 220 insertions(+), 5 deletions(-)
 create mode 100644 gcc/testsuite/gcc.target/s390/vector/long-double-from-decimal128.c
 create mode 100644 gcc/testsuite/gcc.target/s390/vector/long-double-from-decimal32.c
 create mode 100644 gcc/testsuite/gcc.target/s390/vector/long-double-from-decimal64.c
 create mode 100644 gcc/testsuite/gcc.target/s390/vector/long-double-to-decimal128.c
 create mode 100644 gcc/testsuite/gcc.target/s390/vector/long-double-to-decimal32.c
 create mode 100644 gcc/testsuite/gcc.target/s390/vector/long-double-to-decimal64.c

Comments

Andreas Krebbel Feb. 19, 2021, 8:41 a.m. UTC | #1
On 2/18/21 1:57 PM, Ilya Leoshkevich wrote:
> This series fixes PR99134.  Patch 1 is factored out from the pending
> [1], patch 2 is the actual fix.  Bootstrapped and regtested on
> s390x-redhat-linux.  Ok for master?
> 
> [1] https://gcc.gnu.org/pipermail/gcc-patches/2021-January/564380.html
> 
> Ilya Leoshkevich (2):
>   IBM Z: Improve FPRX2 <-> TF conversions
>   IBM Z: Fix long double <-> DFP conversions

Ok. Thanks!

Andreas