[PATCH 0/5] amdgcn: Improve TImode support

Julian Brown julian@codesourcery.com
Fri Jun 18 14:19:29 GMT 2021


This patch series extends TImode support for AMD GCN (see e.g. PR96306
and PR95730). This fixes several test failures that appear at present,
and enables use of a 128-bit integer "omp_depend_kind" for OpenMP 5.0.

Tested with offloading to AMD GCN. Further commentary on invididual
patches.

Thanks,

Julian

Julian Brown (5):
  amdgcn: Use unsigned types for udivsi3/umodsi3 libgcc helper
    args/return
  amdgcn: Add [us]mulsi3_highpart SGPR alternatives & [us]mulsid3/muldi3
    expanders
  amdgcn: Add clrsbsi2/clrsbdi2 implementation
  amdgcn: Enable support for TImode for AMD GCN
  Fortran: Re-enable 128-bit integers for AMD GCN

 gcc/config/gcn/gcn.c               | 30 ++++++++++
 gcc/config/gcn/gcn.h               | 11 ++--
 gcc/config/gcn/gcn.md              | 95 +++++++++++++++++++++++++++---
 libgcc/config/gcn/lib2-bswapti2.c  | 47 +++++++++++++++
 libgcc/config/gcn/lib2-divmod-di.c | 35 +++++++++++
 libgcc/config/gcn/lib2-divmod.c    |  8 +--
 libgcc/config/gcn/lib2-gcn.h       | 12 +++-
 libgcc/config/gcn/t-amdgcn         |  2 +
 libgfortran/configure              | 22 ++-----
 libgfortran/configure.ac           |  4 --
 10 files changed, 226 insertions(+), 40 deletions(-)
 create mode 100644 libgcc/config/gcn/lib2-bswapti2.c
 create mode 100644 libgcc/config/gcn/lib2-divmod-di.c

-- 
2.29.2



More information about the Gcc-patches mailing list