https://gcc.gnu.org/g:a6a5a2674c5c7f2ae64277c7f79a3b8c20a87fc6

commit a6a5a2674c5c7f2ae64277c7f79a3b8c20a87fc6
Author: Tobias Burnus <tbur...@baylibre.com>
Date:   Tue Jun 10 21:57:52 2025 +0200

    ChangeLog.omp bump

Diff:
---
 gcc/ChangeLog.omp     | 19 +++++++++++++++++++
 gcc/DATESTAMP.omp     |  2 +-
 include/ChangeLog.omp |  8 ++++++++
 libgomp/ChangeLog.omp | 37 +++++++++++++++++++++++++++++++++++++
 4 files changed, 65 insertions(+), 1 deletion(-)

diff --git a/gcc/ChangeLog.omp b/gcc/ChangeLog.omp
index 6ac795bf4c33..9934978ef5b4 100644
--- a/gcc/ChangeLog.omp
+++ b/gcc/ChangeLog.omp
@@ -1,3 +1,22 @@
+2025-06-10  Tobias Burnus  <tbur...@baylibre.com>
+
+       Backported from master:
+       2025-06-10  Tobias Burnus  <tbur...@baylibre.com>
+
+       * config/gcn/gcn-devices.def: Add gfx942, gfx950 and gfx9-4-generic.
+       * config/gcn/gcn-opts.h (TARGET_CDNA3, TARGET_CDNA3_PLUS,
+       TARGET_GLC_NAME, TARGET_TARGET_SC_CACHE): Define.
+       (TARGET_ARCHITECTED_FLAT_SCRATCH): Use also for CDNA3.
+       * config/gcn/gcn.h (gcn_isa): Add ISA_CDNA3 to the enum.
+       * config/gcn/gcn.cc (print_operand): Update 'g' to use
+       TARGET_GLC_NAME; add 'G' to print TARGET_GLC_NAME unconditionally.
+       * config/gcn/gcn-valu.md (scatter, gather): Use TARGET_GLC_NAME.
+       * config/gcn/gcn.md: Use %G<num> instead of glc; use 'buffer_inv sc1'
+       for TARGET_TARGET_SC_CACHE.
+       * doc/invoke.texi (march): Add gfx942, gfx950 and gfx9-4-generic.
+       * doc/install.texi (amdgcn*-*-*): Add gfx942, gfx950 and gfx9-4-generic.
+       * config/gcn/gcn-tables.opt: Regenerate.
+
 2025-06-06  Tobias Burnus  <tbur...@baylibre.com>
 
        Backported from master:
diff --git a/gcc/DATESTAMP.omp b/gcc/DATESTAMP.omp
index c6de4e349988..52988ae3b03d 100644
--- a/gcc/DATESTAMP.omp
+++ b/gcc/DATESTAMP.omp
@@ -1 +1 @@
-20250606
+20250610
diff --git a/include/ChangeLog.omp b/include/ChangeLog.omp
index 74413c262e62..7a8f2810132f 100644
--- a/include/ChangeLog.omp
+++ b/include/ChangeLog.omp
@@ -1,3 +1,11 @@
+2025-06-10  Tobias Burnus  <tbur...@baylibre.com>
+
+       Backported from master:
+       2025-06-02  Tobias Burnus  <tbur...@baylibre.com>
+
+       PR libgomp/120444
+       * cuda/cuda.h (cuMemsetD8, cuMemsetD8Async): Declare.
+
 2025-05-15  Julian Brown  <jul...@codesourcery.com>
 
        * gomp-constants.h (gomp_map_kind): Add GOMP_MAP_TO_GRID,
diff --git a/libgomp/ChangeLog.omp b/libgomp/ChangeLog.omp
index e25761590956..2bf31a9d2180 100644
--- a/libgomp/ChangeLog.omp
+++ b/libgomp/ChangeLog.omp
@@ -1,3 +1,40 @@
+2025-06-10  Tobias Burnus  <tbur...@baylibre.com>
+
+       Backported from master:
+       2025-06-10  Tobias Burnus  <tbur...@baylibre.com>
+
+       * testsuite/libgomp.c/declare-variant-4.h (gfx942): New variant 
function.
+       * testsuite/libgomp.c/declare-variant-4-gfx942.c: New test.
+
+2025-06-10  Tobias Burnus  <tbur...@baylibre.com>
+
+       Backported from master:
+       2025-06-02  Tobias Burnus  <tbur...@baylibre.com>
+
+       PR libgomp/120444
+       * libgomp-plugin.h (GOMP_OFFLOAD_memset): Declare.
+       * libgomp.h (struct gomp_device_descr): Add memset_func.
+       * libgomp.map (GOMP_6.0.1): Add omp_target_memset{,_async}.
+       * libgomp.texi (Device Memory Routines): Document them.
+       * omp.h.in (omp_target_memset, omp_target_memset_async): Declare.
+       * omp_lib.f90.in (omp_target_memset, omp_target_memset_async):
+       Add interfaces.
+       * omp_lib.h.in (omp_target_memset, omp_target_memset_async): Likewise.
+       * plugin/cuda-lib.def: Add cuMemsetD8.
+       * plugin/plugin-gcn.c (struct hsa_runtime_fn_info): Add
+       hsa_amd_memory_fill_fn.
+       (init_hsa_runtime_functions): DLSYM_OPT_FN load it.
+       (GOMP_OFFLOAD_memset): New.
+       * plugin/plugin-nvptx.c (GOMP_OFFLOAD_memset): New.
+       * target.c (omp_target_memset_int, omp_target_memset,
+       omp_target_memset_async_helper, omp_target_memset_async): New.
+       (gomp_load_plugin_for_device): Add DLSYM (memset).
+       * testsuite/libgomp.c-c++-common/omp_target_memset.c: New test.
+       * testsuite/libgomp.c-c++-common/omp_target_memset-2.c: New test.
+       * testsuite/libgomp.c-c++-common/omp_target_memset-3.c: New test.
+       * testsuite/libgomp.fortran/omp_target_memset.f90: New test.
+       * testsuite/libgomp.fortran/omp_target_memset-2.f90: New test.
+
 2025-06-06  Tobias Burnus  <tbur...@baylibre.com>
 
        Backported from master:

Reply via email to