From patchwork Sun Mar 20 21:31:11 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Jeff Law X-Patchwork-Id: 52154 Return-Path: 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 596623857811 for ; Sun, 20 Mar 2022 21:31:43 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 596623857811 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1647811903; bh=PKEGSNM9t7haKLESY+byorMEmv9o3DsvEtnvoPENm1I=; h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=qxyCe0xz2CXfJq3sZBgRphUro8iGgD98j1BH/RVp5uT5QHLkaABR3xXSROjPL37PV ZqrDK6aVT62VSCTqeNHTK/bzpJhzPNCKhPacwUsPgjTSIiv7B8bbfAGNVuluzClmIY YLZGqE+HuwoW/9qXiQH2+83WKYJt4syxrz07E+So= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-pl1-x636.google.com (mail-pl1-x636.google.com [IPv6:2607:f8b0:4864:20::636]) by sourceware.org (Postfix) with ESMTPS id AF2D43858D37 for ; Sun, 20 Mar 2022 21:31:14 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org AF2D43858D37 Received: by mail-pl1-x636.google.com with SMTP id w8so11160672pll.10 for ; Sun, 20 Mar 2022 14:31:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent :content-language:to:from:subject; bh=PKEGSNM9t7haKLESY+byorMEmv9o3DsvEtnvoPENm1I=; b=uvU4YvbT7tDkfcA3YSmMzD7JTU+lPWNCUfClAYbAZWB/t4asvjANF6AaemTU0lqhft OluveSfTKYuSCxx/eiXgJPsQHVcC8S2fFFB7pUljIvd/jJhhy5EKX3WnPrSgxiWTCNG/ oXyEHdi3h6wH5An14NsLfgnfuopCLvbZuVU7Rgg056KhYp0jxjxsvAWwfi2CtRoGllzX QElL/P2y4eiK+113gunIlwbTfc81FaM8FhhvTW7oMnvttx4Ag87+lnz5OM6elIDF83eL gjvq9T9K26gjZv1sMAFObcSnZuH9ffJm1Url7qfUYdc8F7Ve/meU+SlFQMKlOxrjD5av rbFw== X-Gm-Message-State: AOAM530t9ziczfqoj5r++fuxsPbs/ukeljJxY5YQzeXlQYfjJQXMHh2r IX92MW4MeZg8Qb/ZNqY/cFzeN90Y84i/Fw== X-Google-Smtp-Source: ABdhPJzSq8Sngbn5B64mu/NNRJKvd+mNa82yjl7AOJL2PgUAn+Q9fzd2RBaSJtMQ/YCnVdYDaBUErQ== X-Received: by 2002:a17:902:d202:b0:14e:f6b4:aa0f with SMTP id t2-20020a170902d20200b0014ef6b4aa0fmr9726828ply.104.1647811873039; Sun, 20 Mar 2022 14:31:13 -0700 (PDT) Received: from [172.31.0.204] (c-73-63-24-84.hsd1.ut.comcast.net. [73.63.24.84]) by smtp.gmail.com with ESMTPSA id e19-20020a637453000000b003821bdb8103sm8611120pgn.83.2022.03.20.14.31.12 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 20 Mar 2022 14:31:12 -0700 (PDT) Message-ID: <464f1da4-4694-389c-9b4c-4fee1bfecbcb@gmail.com> Date: Sun, 20 Mar 2022 15:31:11 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Content-Language: en-US To: 'GCC Patches' Subject: [committed] Fix testsuite fallout from pr104960 change X-Spam-Status: No, score=-8.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, KAM_SHORT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Jeff Law via Gcc-patches From: Jeff Law Reply-To: Jeff Law Errors-To: gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org Sender: "Gcc-patches" Recent changes twiddled the output for s390/arch13/sel-1.c causing testsuite failures.  As far as I can tell both sequences are equivalent from a performance standpoint.   This patch changes the test to accept both forms. Installed on the trunk, Jeff commit 6f30c4cd38b8385d62358065d795df590e752d6e Author: Jeff Law Date: Sun Mar 20 17:29:29 2022 -0400 Fix testsuite fallout from pr104960 change Recent changes twiddled the output for s390/arch13/sel-1.c causing testsuite failures. As far as I can tell both sequences are equivalent from a performance standpoint. This patch changes the test to accept both forms. gcc/testsuite * gcc.target/s390/arch13/sel-1.c: Adjust expected output. diff --git a/gcc/testsuite/gcc.target/s390/arch13/sel-1.c b/gcc/testsuite/gcc.target/s390/arch13/sel-1.c index 301a133ea91..52ca078f5ef 100644 --- a/gcc/testsuite/gcc.target/s390/arch13/sel-1.c +++ b/gcc/testsuite/gcc.target/s390/arch13/sel-1.c @@ -10,7 +10,7 @@ sel32 (int a, int then, int els) too expensive. THe reason is that additional load instructions emitted by ifcvt are part of the costs although these should get removed later. */ -/* { dg-final { scan-assembler-times "\tselrh\t" 1 } } */ +/* { dg-final { scan-assembler-times "\tselr(?:h|le)\t" 1 } } */ long long sel64 (int a, long long then, long long els) @@ -18,4 +18,4 @@ sel64 (int a, long long then, long long els) return a > 42 ? then : els; } -/* { dg-final { scan-assembler-times "\tselgrh\t" 1 } } */ +/* { dg-final { scan-assembler-times "\tselgr(?:h|le)\t" 1 } } */