From patchwork Wed Jun 7 14:48:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeff Law X-Patchwork-Id: 70738 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 255B13858296 for ; Wed, 7 Jun 2023 14:49:37 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 255B13858296 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1686149377; bh=y7YNQ3WmBfvQZkw7FJAFMGnr9RmbWVWIrPAhdq4eHhs=; h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=WboWs4hPK5tiinkJi8SFeEsW3an3ofNbFyMP5AcSD41ve9vkyc2e/pRthjOU7f3oe VqqInq+QPZyIFs2AN5HzhZr38gC5DtucVKaq3LIszLdEyGlApZRUjoznMC/RxNlkmn GaZvZ0/bKibKDCT7mWTmK9k2C/iZQ4NwDjtpfnCw= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-oi1-x22f.google.com (mail-oi1-x22f.google.com [IPv6:2607:f8b0:4864:20::22f]) by sourceware.org (Postfix) with ESMTPS id F261D3858C54 for ; Wed, 7 Jun 2023 14:49:00 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org F261D3858C54 Received: by mail-oi1-x22f.google.com with SMTP id 5614622812f47-39aa8a055e0so3846371b6e.0 for ; Wed, 07 Jun 2023 07:49:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686149340; x=1688741340; h=subject:from:to:content-language:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=y7YNQ3WmBfvQZkw7FJAFMGnr9RmbWVWIrPAhdq4eHhs=; b=WJAiaZDYgrGfqXY2o+/WJ5bLvDNo1dQgyX75USEW70/ruhuo/QRD0w3JErLvpLHSG0 hmEzU0m7giU8M8p14R8A/GA3monUS9cSJWkvG+Dq+Z7fffMAVj58Gl/7BMh7VwXm//Ye AnCmQIzvNd8GnOJbsjFfWC9gdPr3WSjMw3+gG9dGYFj9or2k7F0t5IDD2UKhnuyGNJgZ T01WkE90Vk00yJg/l7B5LSP3W9V9l2V6czbQMh+TJYVX7Gj6rl8LNiz/4+ZNx6PpMBHv WqT5oXk99qOXHxpFQ10X8gwisKvBWQ103JrPN6+5hZ/EE0d+Ub05Osys+EsJ3Z062a+Z 4bHg== X-Gm-Message-State: AC+VfDzltg0q94uwUDHuicT8Uzs/kmn7hKW52I2iKN3xjRNc8Z2N6Y2s wUcqKtMYfvtT/JnnjVu+qFCDsj7aMjo= X-Google-Smtp-Source: ACHHUZ4nOE8XeTqzcrsCDixa1SLE/K6ti1WqUSEmp+CFg+M2b5qVZVFI/YBTZ7mNRlw0Bxr2AB++kQ== X-Received: by 2002:a05:6808:6d7:b0:39c:4563:d23c with SMTP id m23-20020a05680806d700b0039c4563d23cmr5280204oih.46.1686149339718; Wed, 07 Jun 2023 07:48:59 -0700 (PDT) Received: from [172.31.0.109] ([136.36.130.248]) by smtp.gmail.com with ESMTPSA id bg7-20020a17090b0d8700b0024e49b53c24sm1476200pjb.10.2023.06.07.07.48.58 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 07 Jun 2023 07:48:58 -0700 (PDT) Message-ID: <7415ccdc-7e47-d295-b33b-26dff4091ef3@gmail.com> Date: Wed, 7 Jun 2023 08:48:57 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 Content-Language: en-US To: "gcc-patches@gcc.gnu.org" Subject: [committed] Fix expected test output on hppa X-Spam-Status: No, score=-8.4 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.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 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 in the hoisting code change the optimized gimple for the shadd-3 testcase on the PA. That in turn changes the number of expected shadd instructions. I'm not entirely sure the test is actually testing what we want anymore since I don't see a CSE for postreload to discover. But I did verify that the number of shadd instructions is sane, so I just changed the count in the obvious way. Pushed to the trunk. Jeff commit c0b88e9e8bbe15f0c2167371b49521b748c6da19 Author: Jeff Law Date: Wed Jun 7 07:55:32 2023 -0600 Fix expected test output on hppa Recent changes in the hoisting code change the optimized gimple for the shadd-3 testcase on the PA. That in turn changes the number of expected shadd instructions. I'm not entirely sure the test is actually testing what we want anymore since I don't see a CSE for postreload to discover. But I did verify that the number of shadd instructions is sane, so I just changed the count in the obvious way. gcc/testsuite * gcc.target/hppa/shadd-3.c: Update expected output. diff --git a/gcc/testsuite/gcc.target/hppa/shadd-3.c b/gcc/testsuite/gcc.target/hppa/shadd-3.c index a0c1f663d56..2d0b648f384 100644 --- a/gcc/testsuite/gcc.target/hppa/shadd-3.c +++ b/gcc/testsuite/gcc.target/hppa/shadd-3.c @@ -10,7 +10,7 @@ over time we'll have to revisit the combine and/or postreload dumps. Note we have disabled delay slot filling to improve test stability. */ -/* { dg-final { scan-assembler-times "sh.add" 3 } } */ +/* { dg-final { scan-assembler-times "sh.add" 4 } } */ extern void oof (void); typedef struct simple_bitmap_def *sbitmap;