From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) by sourceware.org (Postfix) with ESMTPS id 018EB3858C66 for ; Tue, 22 Nov 2022 10:03:16 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 018EB3858C66 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-wm1-x332.google.com with SMTP id 5so10331684wmo.1 for ; Tue, 22 Nov 2022 02:03:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:in-reply-to:cc:references:message-id:date:subject:mime-version :from:content-transfer-encoding:from:to:cc:subject:date:message-id :reply-to; bh=wPMC62wBd16t9Eb8gHlz8Hb1epM01yE+a9PdHc7ClSY=; b=gCiKeH98IOZRYRFeAPhQPQKfqagTRm86PwjvtQFF3W784DgLDwbp3MHKTdQ/tKCllf Hy74h8jmvEPE2Zvv/zyHhG8lLr5FOHdBukY8NnqgK1G7ce8L0EEyjvkJ1Hyfjrmjnw9p 6Ic5h34JJUz2z40CMaLnPAfomi8lfxF0n6STOE/JuXp5qBqwg2DRTS46XCB3GGsGm0iF YynE5ffq8ALT0lWLw6GriNjml0IkE9lF4/t0FeWFEaVEkWopobeyeME3kA527gcQNTGI TtCBTqBoU1re5u4arAPsPy/52GUakzCr+sahtPNTTqaVFpB1bhCbQvcSW9lAbZ+dGoIW 3OKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:in-reply-to:cc:references:message-id:date:subject:mime-version :from:content-transfer-encoding:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=wPMC62wBd16t9Eb8gHlz8Hb1epM01yE+a9PdHc7ClSY=; b=8R8jVPq5mS3ox7aTjczSJYub4HbcXAiqZtApz5qNC4+bfZyEcojYxNkQr0XwLXwdaB CdXoNoSMfbrs7fO+DqluwQ5fsUbFBbrLquSEUzlS2oIpLg5e4QTD3+EQ/wj1MNDQEUzq OwzGV5/j5LaguLEStkoPuCUVKM+EPTbeF1fnmdw1/0X0eSLnGL7lCdntvhlQg22oM2fb AT8fwVz0ZJ9k4WP8f/QM0zf2Bjh9vg3/jM+yXsyV3dw6z5zP1vseOa+50APUhorN3szQ ZLfREGem4AzRy1iMFMhQS0CeOoQ8qeEs152supwx5pQLk8Tajr71pkq/joDt6YREKrbH mGsg== X-Gm-Message-State: ANoB5plE+DFIr8AUYMA1XWeh1om7L/1WwDiH0WiFLnfbCc++vNHWZhkR Ik2Mcl54nx6tfC97wIwKmVM= X-Google-Smtp-Source: AA0mqf59d+ZQy/1njc3zapQHToGqnEkd4tax/Ii5H3cV/jQEJs2HQwO9yjO3Zx2PUsrxszPKuMeKJw== X-Received: by 2002:a1c:f401:0:b0:3c7:84d:72d with SMTP id z1-20020a1cf401000000b003c7084d072dmr1977379wma.181.1669111394593; Tue, 22 Nov 2022 02:03:14 -0800 (PST) Received: from smtpclient.apple ([2a02:3033:416:43ca:80a5:5381:4fc9:3ae]) by smtp.gmail.com with ESMTPSA id t16-20020a05600c199000b003b4868eb71bsm22808754wmq.25.2022.11.22.02.03.13 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 22 Nov 2022 02:03:13 -0800 (PST) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: Richard Biener Mime-Version: 1.0 (1.0) Subject: Re: [PATCH] Ver2: Riscv don't support "-fprefetch-loop-arrays" option, add "-w" option. Date: Tue, 22 Nov 2022 11:03:02 +0100 Message-Id: <077836FD-E58C-4A27-A470-AE46E53239DD@gmail.com> References: <20221122094842.2629693-1-chenyixuan@iscas.ac.cn> Cc: gcc-patches@gcc.gnu.org, kito.cheng@gmail.com, andrew@sifive.com, oriachiuan@gmail.com, jiawei@iscas.ac.cn In-Reply-To: <20221122094842.2629693-1-chenyixuan@iscas.ac.cn> To: Yixuan Chen X-Mailer: iPhone Mail (20B101) X-Spam-Status: No, score=-10.5 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,GIT_PATCH_0,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 List-Id: > Am 22.11.2022 um 10:49 schrieb Yixuan Chen : >=20 > =EF=BB=BFgcc/testsuite/ChangeLog: >=20 > Riscv don't support "-fprefetch-loop-arrays" option, add "-w" option. Ok. Richard=20 > 2022-11-22 Yixuan Chen >=20 > * gcc.dg/pr106397.c: Riscv don't support "-fprefetch-loop-arrays" o= ption, add "-w" option. > --- > gcc/testsuite/gcc.dg/pr106397.c | 1 + > 1 file changed, 1 insertion(+) >=20 > diff --git a/gcc/testsuite/gcc.dg/pr106397.c b/gcc/testsuite/gcc.dg/pr1063= 97.c > index 2bc17f8cf80..b0983b61dfc 100644 > --- a/gcc/testsuite/gcc.dg/pr106397.c > +++ b/gcc/testsuite/gcc.dg/pr106397.c > @@ -1,6 +1,7 @@ > /* { dg-do compile } */ > /* { dg-options "-O3 -fprefetch-loop-arrays --param l2-cache-size=3D0 --pa= ram prefetch-latency=3D3 -fprefetch-loop-arrays" } */ > /* { dg-additional-options "-march=3Di686 -msse" { target { { i?86-*-* x86= _64-*-* } && ia32 } } } */ > +/* { dg-additional-options "-w" { target riscv*-*-* } } */ >=20 > int > bar (void) > --=20 > 2.37.2 >=20