Message ID | 20230531162534.119952-3-vineetg@rivosinc.com |
---|---|
State | Dropped |
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 59FAF3856636 for <patchwork@sourceware.org>; Wed, 31 May 2023 16:27:10 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-pl1-x631.google.com (mail-pl1-x631.google.com [IPv6:2607:f8b0:4864:20::631]) by sourceware.org (Postfix) with ESMTPS id 07EFA3858C60 for <gcc-patches@gcc.gnu.org>; Wed, 31 May 2023 16:25:57 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 07EFA3858C60 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=rivosinc.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=rivosinc.com Received: by mail-pl1-x631.google.com with SMTP id d9443c01a7336-1b1806264e9so3674745ad.0 for <gcc-patches@gcc.gnu.org>; Wed, 31 May 2023 09:25:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20221208.gappssmtp.com; s=20221208; t=1685550356; x=1688142356; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=alzsAFU+4yHaZjC1mvShHqn/pHXncDAC5YXxFm2voAg=; b=oJAmbbvo7PLatoqtnig9H9/BV153O1bkaVp5jfcQBelc0jPHm/0BgKW74aWKAJDtVA +WbMvfM9tIh9lXENmfnt0usLfMg/f6rsQdpV2yiwxgF21Mf6/2YQmBtuOqIEijaBbhSw o+vbWFc7pkD8HtInZqqx192kVtIx+E2q8MfpNNFOlF540Ye7qOucwzD/fXJVCobYQKGH C7qF90uy3uuOHxPG+M2vXGtSGeAzYhmMn0np/Co3Ee5679VfDvg2TpxNcaHszE1h9kbk r2HjvvaJDexLI+ofiwo9Wf2rsLxhWJEyN+N7rKdSG3EN6A80ugAfgYFC2Ec+2clWTLBn WlCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685550356; x=1688142356; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=alzsAFU+4yHaZjC1mvShHqn/pHXncDAC5YXxFm2voAg=; b=aCd7YO34csN7HGqUG26qTWUJHB0TaLvM2Qzdu5287hTUvJXruMTZfGY38LQkSsshMV /l9AC6WmGHJay5bIgGtpwSHXlkidfKCdyPGQX33FRR8SdjAmCTq5kaiD38Iyw3UG8Zr2 p3KtDS4nTBhru0tucNZpRWcuLGkmXtkxhMZUUCAgBM9/P4SQF8h8OCWWxQu5n1FNC3+w LCioUd+awXlHzpkgvuvTa27LiyfowO1cUlG2Sfwh6xmZjzzFEsC5buKN8nDGYeQoD6V+ tkJSzwfNoRoB2iQeuqSGcasRejgjK867cHMO7CJY3j0BFjTvU+3nOLJTp/2MvZtx0/jN OhfA== X-Gm-Message-State: AC+VfDwOUZAh8fjeh+roxuO6RWa4apgHbejIyN6o2GfFnuvazqwwwF3f TqCXn5YwB3wNiNP3gn6fB5Hjws2MpRex4N0zDKY= X-Google-Smtp-Source: ACHHUZ59/O8g9c6e6WUPVpRhHJojm8XhUNe6F7vOAGZvFSMe7LNZiGiwxCrp2zG+k9xC/3/m0vt44Q== X-Received: by 2002:a17:903:1110:b0:1ac:528c:e71 with SMTP id n16-20020a170903111000b001ac528c0e71mr5612726plh.18.1685550355825; Wed, 31 May 2023 09:25:55 -0700 (PDT) Received: from vineet-framework.ba.rivosinc.com ([71.202.114.183]) by smtp.gmail.com with ESMTPSA id q9-20020a170902788900b001a6f7744a27sm1604443pll.87.2023.05.31.09.25.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 May 2023 09:25:55 -0700 (PDT) From: Vineet Gupta <vineetg@rivosinc.com> To: gcc-patches@gcc.gnu.org Cc: kito.cheng@gmail.com, Jeff Law <jeffreyalaw@gmail.com>, Palmer Dabbelt <palmer@rivosinc.com>, Philipp Tomsich <philipp.tomsich@vrull.eu>, Christoph Mullner <christoph.muellner@vrull.eu>, gnu-toolchain@rivosinc.com, Kito Cheng <kito.cheng@sifive.com>, Vineet Gupta <vineetg@rivosinc.com> Subject: [PATCH 2/3] RISC-V: Add missing torture-init and torture-finish for rvv.exp Date: Wed, 31 May 2023 09:25:33 -0700 Message-Id: <20230531162534.119952-3-vineetg@rivosinc.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230531162534.119952-1-vineetg@rivosinc.com> References: <20230531162534.119952-1-vineetg@rivosinc.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-10.9 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.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 |
Unbork testsuite for multlib setups
|
|
Commit Message
Vineet Gupta
May 31, 2023, 4:25 p.m. UTC
From: Kito Cheng <kito.cheng@sifive.com> This is in line with recent test harness expectations and is a preventive change as it doesn't actually fix any errors. gcc/testsuite/ChangeLog: * gcc.target/riscv/rvv/rvv.exp: Add torture-init and torture-finish. Signed-off-by: Vineet Gupta <vineetg@rivosinc.com> --- gcc/testsuite/gcc.target/riscv/rvv/rvv.exp | 3 +++ 1 file changed, 3 insertions(+)
Comments
Hi! On 2023-05-31T09:25:33-0700, Vineet Gupta <vineetg@rivosinc.com> wrote: > From: Kito Cheng <kito.cheng@sifive.com> > > This is in line with recent test harness expectations and is a > preventive change as it doesn't actually fix any errors. > > gcc/testsuite/ChangeLog: > > * gcc.target/riscv/rvv/rvv.exp: Add torture-init and > torture-finish. > > Signed-off-by: Vineet Gupta <vineetg@rivosinc.com> > --- > gcc/testsuite/gcc.target/riscv/rvv/rvv.exp | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/gcc/testsuite/gcc.target/riscv/rvv/rvv.exp b/gcc/testsuite/gcc.target/riscv/rvv/rvv.exp > index 5e69235a268c..7ab7456d1d15 100644 > --- a/gcc/testsuite/gcc.target/riscv/rvv/rvv.exp > +++ b/gcc/testsuite/gcc.target/riscv/rvv/rvv.exp > @@ -39,6 +39,7 @@ if [istarget riscv32-*-*] then { > > # Initialize `dg'. > dg-init > +torture-init > > # Main loop. > set CFLAGS "$DEFAULT_CFLAGS -march=$gcc_march -mabi=$gcc_mabi -O3" > @@ -90,5 +91,7 @@ foreach op $AUTOVEC_TEST_OPTS { > dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/autovec/vls-vlmax/*.\[cS\]]] \ > "-std=c99 -O3 -ftree-vectorize --param riscv-autovec-preference=fixed-vlmax" $CFLAGS > > +torture-finish > + > # All done. > dg-finish I suggest to drop this patch: 'gcc.target/riscv/rvv/rvv.exp' isn't doing anything with torture testing flags etc., but (in addition to 'dg-runtest') just calls 'gcc-dg-runtest', which internally does 'torture-init', 'torture-finish' -- like in a number of other '*.exp' files. As you say, this patch "doesn't actually fix any errors". Grüße Thomas ----------------- 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
On 5/31/23 10:25, Vineet Gupta wrote: > From: Kito Cheng <kito.cheng@sifive.com> > > This is in line with recent test harness expectations and is a > preventive change as it doesn't actually fix any errors. > > gcc/testsuite/ChangeLog: > > * gcc.target/riscv/rvv/rvv.exp: Add torture-init and > torture-finish. Thomas's recommendation was to drop this as it doesn't change any observed behavior. Do you agree with that recommendation? jeff
On 6/1/23 07:54, Jeff Law wrote: > > > On 5/31/23 10:25, Vineet Gupta wrote: >> From: Kito Cheng <kito.cheng@sifive.com> >> >> This is in line with recent test harness expectations and is a >> preventive change as it doesn't actually fix any errors. >> >> gcc/testsuite/ChangeLog: >> >> * gcc.target/riscv/rvv/rvv.exp: Add torture-init and >> torture-finish. > Thomas's recommendation was to drop this as it doesn't change any > observed behavior. Do you agree with that recommendation? Yep dropped now. Thx, -Vineet
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/rvv.exp b/gcc/testsuite/gcc.target/riscv/rvv/rvv.exp index 5e69235a268c..7ab7456d1d15 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/rvv.exp +++ b/gcc/testsuite/gcc.target/riscv/rvv/rvv.exp @@ -39,6 +39,7 @@ if [istarget riscv32-*-*] then { # Initialize `dg'. dg-init +torture-init # Main loop. set CFLAGS "$DEFAULT_CFLAGS -march=$gcc_march -mabi=$gcc_mabi -O3" @@ -90,5 +91,7 @@ foreach op $AUTOVEC_TEST_OPTS { dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/autovec/vls-vlmax/*.\[cS\]]] \ "-std=c99 -O3 -ftree-vectorize --param riscv-autovec-preference=fixed-vlmax" $CFLAGS +torture-finish + # All done. dg-finish