Message ID | 20230728130433.2377366-1-frederik@codesourcery.com |
---|---|
Headers |
Return-Path: <gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org> X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 1B5EC3853D21 for <patchwork@sourceware.org>; Fri, 28 Jul 2023 13:05:19 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from esa2.mentor.iphmx.com (esa2.mentor.iphmx.com [68.232.141.98]) by sourceware.org (Postfix) with ESMTPS id 004D83858D20 for <gcc-patches@gcc.gnu.org>; Fri, 28 Jul 2023 13:04:51 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 004D83858D20 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=mentor.com X-IronPort-AV: E=Sophos;i="6.01,237,1684828800"; d="scan'208";a="14532010" Received: from orw-gwy-02-in.mentorg.com ([192.94.38.167]) by esa2.mentor.iphmx.com with ESMTP; 28 Jul 2023 05:04:49 -0800 IronPort-SDR: vkPVMK3QlN+7PLrFLQCpOaLAKi6cOVGBBho7HTWDCOceNKyegQKbeYYm5dGgto69PpsADRNGmG zniE6cNMQzw/CZStjzPsqv7mtGKA1kJQQ+BDFZjgWlRFqGTWR/OzoOOqgHQZn+02VJOGeXQ2Hx kRyQqFkHmKFZyGTUqFgbcl3GLkbxfG4eVriYswgQJWetIuIRoG1B3RIb2InuIOBuTciUuv9oXz 2PVvXOgMsOJxAGPnY7/6mdkTsP11PDkL1fjXI1H2xxWh/0bENfa4qdWpmeRfO9Pi49ynZs9uPE GTM= From: Frederik Harwath <frederik@codesourcery.com> To: <gcc-patches@gcc.gnu.org>, <tobias@codesourcery.com>, <jakub@redhat.com> Subject: [PATCH 0/4] openmp: loop transformation fixes Date: Fri, 28 Jul 2023 13:04:29 +0000 Message-ID: <20230728130433.2377366-1-frederik@codesourcery.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230324153046.3996092-1-frederik@codesourcery.com> References: <20230324153046.3996092-1-frederik@codesourcery.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: svr-ies-mbx-12.mgc.mentorg.com (139.181.222.12) To svr-ies-mbx-10.mgc.mentorg.com (139.181.222.10) X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, SPF_HELO_PASS, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> Errors-To: gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org Sender: "Gcc-patches" <gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org> |
Series | openmp: loop transformation fixes | |
Message
Frederik Harwath
July 28, 2023, 1:04 p.m. UTC
Hi, the following patches contain some fixes from the devel/omp/gcc-13 branch to the patches that implement the OpenMP 5.1. loop transformation directives which I have posted in March 2023. Frederik Frederik Harwath (4): openmp: Fix loop transformation tests openmp: Fix initialization for 'unroll full' openmp: Fix diagnostic message for "omp unroll" openmp: Fix number of iterations computation for "omp unroll full" gcc/omp-transform-loops.cc | 99 ++++++++++++++----- .../gomp/loop-transforms/unroll-8.c | 76 ++++++++++++++ .../gomp/loop-transforms/unroll-8.f90 | 2 +- .../gomp/loop-transforms/unroll-9.f90 | 2 +- .../matrix-no-directive-unroll-full-1.C | 13 +++ .../loop-transforms/matrix-no-directive-1.c | 2 +- .../matrix-no-directive-unroll-full-1.c | 2 +- .../matrix-omp-distribute-parallel-for-1.c | 2 + .../loop-transforms/matrix-omp-for-1.c | 2 +- .../matrix-omp-parallel-for-1.c | 2 +- .../matrix-omp-parallel-masked-taskloop-1.c | 2 + ...trix-omp-parallel-masked-taskloop-simd-1.c | 2 + .../matrix-omp-target-parallel-for-1.c | 2 +- ...p-target-teams-distribute-parallel-for-1.c | 2 + .../loop-transforms/matrix-omp-taskloop-1.c | 2 + ...trix-omp-teams-distribute-parallel-for-1.c | 2 + .../loop-transforms/matrix-simd-1.c | 2 + .../loop-transforms/unroll-1.c | 8 +- .../loop-transforms/unroll-non-rect-1.c | 2 + .../loop-transforms/tile-2.f90 | 2 +- .../loop-transforms/unroll-1.f90 | 2 + .../loop-transforms/unroll-6.f90 | 4 +- .../loop-transforms/unroll-simd-1.f90 | 3 +- 23 files changed, 197 insertions(+), 40 deletions(-) create mode 100644 gcc/testsuite/c-c++-common/gomp/loop-transforms/unroll-8.c create mode 100644 libgomp/testsuite/libgomp.c++/loop-transforms/matrix-no-directive-unroll-full-1.C -- 2.36.1 ----------------- Siemens Electronic Design Automation GmbH; Anschrift: Arnulfstraße 201, 80634 München; Gesellschaft mit beschränkter Haftung; Geschäftsführer: Thomas Heurung, Frank Thürauf; Sitz der Gesellschaft: München; Registergericht München, HRB 106955