From patchwork Sun Aug 27 18:40:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeff Law X-Patchwork-Id: 136985 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a7d1:0:b0:3f2:4152:657d with SMTP id p17csp2941514vqm; Sun, 27 Aug 2023 11:41:13 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF+AqM5K2LfL46XLZfNe1KL6V2nYgLh9tNazyP+Z/hyk18GzuKJe9hSNB16+ZbQc/UC0NBf X-Received: by 2002:a05:6402:164e:b0:523:ba10:d795 with SMTP id s14-20020a056402164e00b00523ba10d795mr19175835edx.11.1693161672859; Sun, 27 Aug 2023 11:41:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693161672; cv=none; d=google.com; s=arc-20160816; b=s0X8PZcvYb52SlBhTx4aDHfjknycTVI83x2jwyKcg/WAGBAMv2gTZ7+StDR3uusbse TtbrRdbBULgiyq9XXRCI5SWWIwQB8r/LJ+aaYV/8CNfzgHedykIofdz/C5vSZq476VsE jKI0DymeLgK3a3dop6YjV+/ZYX8ZHqlUyevkaINt27ZbQNSk95nacjBx3i9qR6aGzlGN tiDTHhOK8xDOOIHGESJFTlbmHj5SANYpE5f493XCJ/HccUTClpsCxd+usty2ntipuNE5 0zjHVNYr1hsigKTX/Jddc6P9ROJy4tuaj1keCwy+ZIxm8hjb/7Jlj1qEVEJ6kUgoelzk Otjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:from:to :content-language:user-agent:mime-version:date:message-id :dkim-signature:dmarc-filter:delivered-to; bh=+UgYjTGYKf/SDcwgwsvKpCyYC+pUpKEbKzAkPEhIrB0=; fh=XNn3asQvIblazGK92GBt13dVv+YmGV3pBS0JC29ZQco=; b=hGSUqbJSo9utsOS4Z7u29SOhWa3/ATdpLGj+AXsustPsqZC5/0SO/nU4EwbEn/Ao8+ VLPx/nKUq1dtSmYkLrWDJs+Tc0D3Bqmc6THD1/CjuKVltaT+HbIRJbR/hGz7OQBLUWBW CWzlnSMFNnla+IwDvTHyz9OkDq+8XKRfKmHvMDdrByiqMxdjLJ3kYCQkieq6XAWtHQ68 ClE3lZ5ZCWJvuvDNT8FBV3mPSW8VurjgRCtECacHqa3QinJ2pp2TblD2F/yUomloHD8z 8xdo0e6oW8bBhGmKRQWTte4tul1OU6Ry8erFByVbnvLXe7SvDterxy1xHqarsb5wUXYh yf7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=FNG6PZDY; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id l6-20020aa7c3c6000000b00525702062f4si3577345edr.401.2023.08.27.11.41.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 27 Aug 2023 11:41:12 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=FNG6PZDY; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 372A438582BC for ; Sun, 27 Aug 2023 18:41:05 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-oi1-x22e.google.com (mail-oi1-x22e.google.com [IPv6:2607:f8b0:4864:20::22e]) by sourceware.org (Postfix) with ESMTPS id F127A3858D1E for ; Sun, 27 Aug 2023 18:40:39 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org F127A3858D1E Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=ventanamicro.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=ventanamicro.com Received: by mail-oi1-x22e.google.com with SMTP id 5614622812f47-3a85b9c6ccdso2049056b6e.0 for ; Sun, 27 Aug 2023 11:40:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1693161639; x=1693766439; h=subject:from:to:content-language:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=+UgYjTGYKf/SDcwgwsvKpCyYC+pUpKEbKzAkPEhIrB0=; b=FNG6PZDYqNW+VNUQCH6XgN6b9MaVoGpgKM9xldX6PrXQI7sfhmMvTV++fPmZyxsce6 sBoQZxmnx8d4bUb4VH+86RJdLTIXQz8cnl2OVblvuiQ++6tmEkXt+5dZq1q23CbqedRu ek6HobK2GDLXmgI+ZKbd8TM2SQVUD8mbWRJQ1yt+4hXuLcoLE+ZjOuB0k+6I7YcqkHaW jlk+g4gpmhVn3jAuec+XkAOdCLr2te0neJnNjnrlxPzUbCk9VLzeUbxt3CqD+6iKAXo5 jN6Ohkjv2f/QQlqfV5uhLE9hS6IZQdkji54URyiHb1I969vc6sey5/lNDFxh6LEO/hfU VWCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693161639; x=1693766439; 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=+UgYjTGYKf/SDcwgwsvKpCyYC+pUpKEbKzAkPEhIrB0=; b=g4u6iKo27FE1Oj3nbamv4WK5GiMhuAUtOAGeCK+Zb6AHTi0IQBvA9b0AgyO5gKxmUm xUI88GtUDYzCp3wfx3eVHpMoapyj3lSGjD17DdlG6lGKsGxqI94R3LEp+PQtRaBA9+01 X4k1I8BdquJ5x6/q7mGBdmdo9nRE1muFMv5iYqDeN/RH7d2qBASU9ZqTUx0xaz8WULD6 IUmwWTvQF+MUiVAhsZr7Oo2I1CAxfnrnIyLaavs5RygPd9qPcTgYXac3h0bRKfR8P8tM EvZ3USENq/6QgDamGTlhwsO+BwbhXFd3LUaSlSOXf/6O2DT9XU49zqRAnf/gEWEN98Bz h7wg== X-Gm-Message-State: AOJu0YyyXS4u6to+UIbprfQ4lUp7jwia3whe4kyFXA6iJaA1hSJzXamw DlzCb7BPX9CU4g4Tvx2lzROoSKKtiBLUe7v2z5Zjrg== X-Received: by 2002:a05:6358:2608:b0:134:c785:5932 with SMTP id l8-20020a056358260800b00134c7855932mr24384386rwc.32.1693161638776; Sun, 27 Aug 2023 11:40:38 -0700 (PDT) Received: from [172.31.0.109] ([136.36.130.248]) by smtp.gmail.com with ESMTPSA id e17-20020a62ee11000000b006889601aba4sm5059902pfi.210.2023.08.27.11.40.37 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 27 Aug 2023 11:40:38 -0700 (PDT) Message-ID: <0d3fdb2f-9c88-675d-b1dc-efdb1532b354@ventanamicro.com> Date: Sun, 27 Aug 2023 12:40:36 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Content-Language: en-US To: "gcc-patches@gcc.gnu.org" From: Jeff Law Subject: [committed] RISC-V: Fix xtheadcondmov-indirect.c X-Spam-Status: No, score=-10.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_SHORT, LIKELY_SPAM_BODY, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP 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: , Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1775408694522729605 X-GMAIL-MSGID: 1775408694522729605 The pressure sensitive scheduling change perturbs the output ever so slightly for this test. Seemed easiest to just turn that off rather than generalize the expected output enough to work across all the relevant optimization options. Pushed to the trunk. Jeff commit b3b13fb1cbad6e5836dee947e85d2954bcacabed Author: Jeff Law Date: Sun Aug 27 12:38:30 2023 -0600 RISC-V: Fix xtheadcondmov-indirect.c The pressure sensitive scheduling change perturbs the output ever so slightly for this test. Seemed easiest to just turn that off rather than generalize the expected output enough to work across all the relevant optimization options. gcc/testsuite/ * gcc.target/riscv/xtheadcondmov-indirect.c: Turn off pressure sensitive scheduling. diff --git a/gcc/testsuite/gcc.target/riscv/xtheadcondmov-indirect.c b/gcc/testsuite/gcc.target/riscv/xtheadcondmov-indirect.c index 8292999d0c7..c3253ba5239 100644 --- a/gcc/testsuite/gcc.target/riscv/xtheadcondmov-indirect.c +++ b/gcc/testsuite/gcc.target/riscv/xtheadcondmov-indirect.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-options "-march=rv32gc_xtheadcondmov" { target { rv32 } } } */ -/* { dg-options "-march=rv64gc_xtheadcondmov" { target { rv64 } } } */ +/* { dg-options "-march=rv32gc_xtheadcondmov -fno-sched-pressure" { target { rv32 } } } */ +/* { dg-options "-march=rv64gc_xtheadcondmov -fno-sched-pressure" { target { rv64 } } } */ /* { dg-skip-if "" { *-*-* } {"-O0" "-Os" "-Og" "-Oz" "-flto" } } */ /* { dg-final { check-function-bodies "**" "" } } */