From patchwork Thu Dec 14 21:32:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Patrick O'Neill X-Patchwork-Id: 1876403 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=rivosinc-com.20230601.gappssmtp.com header.i=@rivosinc-com.20230601.gappssmtp.com header.a=rsa-sha256 header.s=20230601 header.b=k+nSyzme; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=server2.sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Srltg42Prz1ySd for ; Fri, 15 Dec 2023 08:32:27 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 7135C386184E for ; Thu, 14 Dec 2023 21:32:25 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-pg1-x52d.google.com (mail-pg1-x52d.google.com [IPv6:2607:f8b0:4864:20::52d]) by sourceware.org (Postfix) with ESMTPS id 6D1213858D20 for ; Thu, 14 Dec 2023 21:32:12 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6D1213858D20 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=rivosinc.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=rivosinc.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 6D1213858D20 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::52d ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1702589534; cv=none; b=xg7z/nCl12hmLETQk0HmjLI97vA++JDlSV4JvUJGPPUKPVJwH2a2FQ00VtVb7v6bUoGNxJj/DGXcOvaNTehuFM31JAR1WGPFfAOrthKklROXbs1BFgfs7y8s/a3WU/P492FMYdabz+EmxqL3VI0Fz4LHbDIrM1YfVb4rXUP56AQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1702589534; c=relaxed/simple; bh=shRWNwPXblWYaxqCuJ0J1Ble6LcXI5DEGH+rvk0tn/s=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=EXpXzEKx50vWZklCYzMEDza70fLri2z84ki7zLn/r7t4KB13JevKZmfXctZNR1GFRD0RbdD2PKVfZ9kFiwCB0f77uWXlMndN8c4wI3porrEZF1A2L2V4KgEyELxLT+tJwMJZqZWLOQ9bRgyUfF1lEW8iPzAi1dC1Jw+2S4wR1DU= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-pg1-x52d.google.com with SMTP id 41be03b00d2f7-5c701bd9a3cso49467a12.0 for ; Thu, 14 Dec 2023 13:32:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20230601.gappssmtp.com; s=20230601; t=1702589530; x=1703194330; darn=gcc.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=xPEWIn/y1n1Abg9JV6C30CSujiTnduVoTTAhDzGfGvE=; b=k+nSyzme4Te2z49LNIDuCnAdlYcsUYAl1bIsuosgAzSi3ZfF5TmjYoH4AEsVJHM2Nf jTyk1lhvjLuu/3ykR3RNpMVbeVAcE2KEimns9YGoj8XsmeNLjmLhmMgjQ8v/urdla37f pWAAS1EzWiSkbSthNcw99D6ONAe6apXgln65b7inOIG4MHOxYXjJorwD8pO+BBhlihdo PResbveoGuxinNgA5wAAdEqNGRLczC49iBC7vsORSV+cSvMaZDfc3MkuMEx00j/bt/zV XYfAYvWLpuoGuR2j0pViXAIX+ht9G4AIKyomtTEMCo16sABFGzsMWh/nHXDo/MGcGBqV mVjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702589530; x=1703194330; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=xPEWIn/y1n1Abg9JV6C30CSujiTnduVoTTAhDzGfGvE=; b=rpdeY4wDgyNyLBTQ38YW7+h9cnCIDrXHdeCQitgC1xjZDPevTJbuePSCcxkQJaCSw6 iCIOSxiPbfrc0dDGnnl1MkAIvFOdxDu4KRIkbWDMz4aCtwp8nv0GhOW5LAeMbItQ9cgq gUHw7hHW6CTURBwkK/7EFD7RhPsoU5Oc0fj+DevbDma0bPUvo4XX28Rv/sSDFMCQcAWC jf8Mk5vRnxK+TEUIjLrWXyyWF3WvM7I3nGG6ubBXIqCcxCUwS2p4fjpwt1nrmtAHp6fK KuGKpf2/ofo9s7tDjWgKPgtkhMxv99wj7AVV1cssQ0/SX4tNL3sDD8RjG9fxoTNf+P6l uQvg== X-Gm-Message-State: AOJu0YyYCSb+H2gEOcC9pGtRsgXbwyqB6mEnGHd1FUXLyZqJIwM5Wo68 1IvVFHKE7nOTrmOvYgCrg0BL0jhZ8loRanapDnS4/g== X-Google-Smtp-Source: AGHT+IGbOwG+x4RUqskqbeXguqThrsFpe2N7gV0OgBbDlpnnx0+sNS24QVK5Fw0d4ZIiMl/tAuyFHA== X-Received: by 2002:a05:6a20:e113:b0:18c:f9a7:6f66 with SMTP id kr19-20020a056a20e11300b0018cf9a76f66mr5903137pzb.30.1702589530629; Thu, 14 Dec 2023 13:32:10 -0800 (PST) Received: from patrick-ThinkPad-X1-Carbon-Gen-8.hq.rivosinc.com ([12.44.203.122]) by smtp.gmail.com with ESMTPSA id e19-20020a63e013000000b00578b40a4903sm12206132pgh.22.2023.12.14.13.32.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 13:32:09 -0800 (PST) From: Patrick O'Neill To: gcc-patches@gcc.gnu.org Cc: rdapp.gcc@gmail.com, juzhe.zhong@rivai.ai, Patrick O'Neill Subject: [PATCH] RISC-V: Add -fno-vect-cost-model to pr112773 testcase Date: Thu, 14 Dec 2023 13:32:01 -0800 Message-ID: <20231214213201.180346-1-patrick@rivosinc.com> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 X-Spam-Status: No, score=-11.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, 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.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org The testcase for pr112773 started passing after r14-6472-g8501edba91e which was before the actual fix. This patch adds -fno-vect-cost-model which prevents the testcase from passing due to the vls change. gcc/testsuite/ChangeLog: * gcc.target/riscv/rvv/autovec/partial/pr112773.c: Add -fno-vect-cost-model. Signed-off-by: Patrick O'Neill Signed-off-by: Patrick O'Neill --- gcc/testsuite/gcc.target/riscv/rvv/autovec/partial/pr112773.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/partial/pr112773.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/partial/pr112773.c index 5f7374b0040..57104c9ebec 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/partial/pr112773.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/partial/pr112773.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-additional-options "-march=rv32gcv_zvl256b -mabi=ilp32d -O3" } */ +/* { dg-additional-options "-march=rv32gcv_zvl256b -mabi=ilp32d -O3 -fno-vect-cost-model" } */ long long a; int b, c;