From patchwork Mon Nov 20 10:41:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "juzhe.zhong@rivai.ai" X-Patchwork-Id: 167031 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9910:0:b0:403:3b70:6f57 with SMTP id i16csp2109494vqn; Mon, 20 Nov 2023 02:42:42 -0800 (PST) X-Google-Smtp-Source: AGHT+IGFwyjVQmHPBWOj/7sLJPJGBFa0ZKCASM8Of1vFgwTSTgqZhTuMDO7j1eY0MXC3IoW5ZMDN X-Received: by 2002:a05:6214:2464:b0:66d:12a3:ec8c with SMTP id im4-20020a056214246400b0066d12a3ec8cmr9494180qvb.30.1700476962106; Mon, 20 Nov 2023 02:42:42 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1700476962; cv=pass; d=google.com; s=arc-20160816; b=IBoZvSSHrJMfiuDUZdcUR2LoP394Pd3MBdJWIUhFx/5xSTxPE9f0d/jqDjvj/XeICS NWCxh0xBsquhNHAFvvLY3rS1EIEKCIOx/dgk1Q/5RlNX5CnwCTZea8eBCKtIzUoZVHQn L+iKW0x2D/BmhDYf0JulxXCVa0rE0i4tOok5KH5qbm3Gv9arY9V3i7pNHMupdfy5S38G C//YwbBqckliaeYKeYrAVr2jGSAhU6gl9BxzXbr+EMT6SE1kLNq5pNXIBaxz6NEMbKdQ +b30pcZkwsONEviHxGWidhTmYiYx6z2ukIq4F6ZubwfWc5RWJSyIFzG0efQt1LhwofVu dn/g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:feedback-id :content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:arc-filter:dmarc-filter:delivered-to; bh=1sWuurU725AX+PGGxjjKBmL+ElLfjExQSLAgJ+oooBo=; fh=12MRPJmZ1mgDpHqWoogMKqnaGRGM2b7lcuJroqfjJiw=; b=e5/KbHsGfgYEidiOr6K5m2YuGQF/BSIN5Bls27Rr/ITjNbXqnHTVuZSgqsa1pi8O2j glYgmaqYqE8w/KLbM7U5HS3+KvyAFwHeUT1MkBSNPmbwwBS5s7f57SxaOOahf5TYz9Er GdOmLjy6yGHch+2Ic+PRPTFcIudw9t4cY59bn0Fd/HW0AkEKAcYFSrKmhqjg1hUjJgIp UtW3dd/fcs7ih3OTA3wz/k55KSeNqOz+aHgK0kxQJ5jVVUr2gQj25uMEAL5DltY5mzuc v6XI7KCrD85kOfOwtvOKQ96YaBAyx3GGWql578lC1V+kLOjlhalmsDPwWBkyqxl0Wupj WtBQ== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id dd13-20020ad4580d000000b006558891f406si7055399qvb.559.2023.11.20.02.42.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Nov 2023 02:42:42 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c 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 B3E1C3857BA4 for ; Mon, 20 Nov 2023 10:42:34 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from smtpbgjp3.qq.com (smtpbgjp3.qq.com [54.92.39.34]) by sourceware.org (Postfix) with ESMTPS id 0641F3858D3C for ; Mon, 20 Nov 2023 10:42:06 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 0641F3858D3C Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=rivai.ai Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=rivai.ai ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 0641F3858D3C Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=54.92.39.34 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1700476930; cv=none; b=Q540pcVOYeW6yIxSGeoXr0L4CzFI/Hjg2+ReDJUHeQo6PJxWkE4SiOnlyDe1kzAmLlbcxw4lHXIquocVTWnseywqjaBDpTyK3B6PWy6h0yW4DqxglkXLMf+WQHO6MAGqlI9XrERdlXB5Wgb2B8ZCk4o4O2khMiq5TTdLJewMGxo= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1700476930; c=relaxed/simple; bh=pcxmDVuMUJngdN5rDvOxq8/hkT9oSuaEtLXfcWhV1So=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=xo7KFkr/4jLZVy4IrdJLYOodFqWeK/58NoRbObdOJyrmcpTy+MkbEREnOJW5SQ53xVlpbTjWEYQJc5WzRVZpv0wKeymmfNi9ixPojoRMaGyLHmC0FoKEtcUk35oYRVXfFYAxp54H8v7Ckbw5RlJJ9CL/VPWtvZlnbQlrnrgHACo= ARC-Authentication-Results: i=1; server2.sourceware.org X-QQ-mid: bizesmtp77t1700476922tdp0z3i2 Received: from rios-cad121.hadoop.rioslab.org ( [58.60.1.9]) by bizesmtp.qq.com (ESMTP) with id ; Mon, 20 Nov 2023 18:42:00 +0800 (CST) X-QQ-SSF: 01400000000000G0V000000A0000000 X-QQ-FEAT: W+onFc5Tw4OE3w3LJ6DhJF60uz9IGFq4L0nUYhQZTZHrEZDTQf8CGTHAkhILZ cqPBgEIxN9P7i/LdX2ZLKtV2DvckKrISzY5JkGI9Za8oaWV7JAF7ih3UVZnUhTy1STSs1xD 4QJOF/V+ZbQI11Kp96np+Dx8HgORTHYF1ES6uGkBX7pglcTqj2gFsugKXy30vL4J4TxN4Fz Z4W6Dt3G7nom58aWYst9juxF3WR1HQQre55Obrt0YysC8LdEhFfqMQYCH/YEJJpW3FkdQ7y o5UN6mqNhtDfyTJKAIWB6t7yCNdq0XSn7s0rFio22mXP2EqqblMSrfkO+evZOA8zRwd6ZnN Ofg7safBdW1heq9BN2GNpBgt6dLIBwHYHMgyJsb6Rt6DAK7ld1LOD+XxT60b9+AJrEiPV8y 3QVVFuLnk1A= X-QQ-GoodBg: 2 X-BIZMAIL-ID: 2333281778774002468 From: Juzhe-Zhong To: gcc-patches@gcc.gnu.org Cc: kito.cheng@gmail.com, kito.cheng@sifive.com, jeffreyalaw@gmail.com, rdapp.gcc@gmail.com, Juzhe-Zhong Subject: [PATCH] RISC-V Regression: Remove scalable compile option Date: Mon, 20 Nov 2023 18:41:58 +0800 Message-Id: <20231120104158.4141376-1-juzhe.zhong@rivai.ai> X-Mailer: git-send-email 2.36.3 MIME-Version: 1.0 X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:rivai.ai:qybglogicsvrgz:qybglogicsvrgz7a-one-0 X-Spam-Status: No, score=-12.2 required=5.0 tests=BAYES_00, GIT_PATCH_0, KAM_DMARC_STATUS, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, 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+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1783079331134963164 X-GMAIL-MSGID: 1783079331134963164 Since we already set scalable vectorization by default, this flag is redundant. Also, we are start to full coverage testing with different compile option. E.g --param=riscv-autovec-preference=fixed-vlmax. To avoid compile option confusion. Remove it. gcc/testsuite/ChangeLog: * lib/target-supports.exp: Remove scalable compile option. --- gcc/testsuite/lib/target-supports.exp | 1 - 1 file changed, 1 deletion(-) diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp index 7412ac95623..236df6c2c8e 100644 --- a/gcc/testsuite/lib/target-supports.exp +++ b/gcc/testsuite/lib/target-supports.exp @@ -11564,7 +11564,6 @@ proc check_vect_support_and_set_flags { } { set dg-do-what-default run } elseif [istarget riscv64-*-*] { if [check_effective_target_riscv_vector_hw] { - lappend DEFAULT_VECTCFLAGS "--param" "riscv-autovec-preference=scalable" lappend DEFAULT_VECTCFLAGS "--param" "riscv-vector-abi" set dg-do-what-default run } else {