From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-vs1-xe2e.google.com (mail-vs1-xe2e.google.com [IPv6:2607:f8b0:4864:20::e2e]) by sourceware.org (Postfix) with ESMTPS id 6F7153858D1E for ; Wed, 11 Oct 2023 22:51:08 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6F7153858D1E 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-vs1-xe2e.google.com with SMTP id ada2fe7eead31-4525cfe255bso971040137.1 for ; Wed, 11 Oct 2023 15:51:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697064668; x=1697669468; darn=gcc.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=A5WGWGqxzYglleWd9/eoZ3oC+uRfgde0fr2+igeYomc=; b=Vna+Vy8bSDDjXHL6RNzARTTpS+sdbwczwvbwjGZPR1waVU49NRhiwtRqt7YfWmdZfz 55KLzoNOBd9ssuZT9Ik9iJwYTpTBRsA+fisOVL3ggwkU53s4aJDNH0cTxqyetWnhkmVS 06+24CoJCU+xzwaGrgtP7V9H0fAOl3hOKRYgQ6Sj8LmAVWR1PxZeYOv0hX75xt5wG1fn xJ5/Fd42DdxvIkC0ZkuRhVMlFmY6zrq3fgaQPaTCdxcL/c/6QpMzcrXZb14btTH1kdrD vrF/SKVsgEA0V2kROWQhBZWBnaaBlYVavzRdmcb+OD1eMbaXmJqXx5NLw9bhsMJCmEBe JmaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697064668; x=1697669468; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=A5WGWGqxzYglleWd9/eoZ3oC+uRfgde0fr2+igeYomc=; b=tl4Tx40l4hNYCONlGwnpRXAo3NZ2ldxJNoRC+WO/IO1D3v6+cYeN9z6nhVnT3EYtt/ +lUU4orh9zRdmaWqcj5C1bbcYdeZ/46mKQ0RND4m/8dE9e91QFw6CWqMuJGtj70iT55G 4RHkcs6seTmuOpavBABt3qltEfEepjP+c1drtzzY154heYn9FoV56uLilAi5dIp50TW2 HQDRuPK23f2hNRpNR8kXVtHg1J84eEoZvmd6xCCX0ez90v2qxdHqzfcLUbeFE0l72aQD 6PBXTeMmbp1i2G1J4wUyiBydOGWS01jaZOF+qUzpHYaPwG+JIASCVREwEiPVi7pYpMC/ rbGg== X-Gm-Message-State: AOJu0YxGsbTYb7C72JxmZPHc+NeYMQxrkMMa49WlnZQiso+U+msXFVSi as/1VwESYcQK0u8OciZiNxxi0o2QFdcNvmGsKFs= X-Google-Smtp-Source: AGHT+IHfie8yPTJA/fOJJKB5dGBUG3HLiEzYBBItgvdrau0BUhiD5OzlwXRyz9ClLeCiKH9RU3Hs/opDImUlVp0u3mM= X-Received: by 2002:a05:6102:3445:b0:452:6cea:89b7 with SMTP id o5-20020a056102344500b004526cea89b7mr9943772vsj.14.1697064667676; Wed, 11 Oct 2023 15:51:07 -0700 (PDT) MIME-Version: 1.0 References: <20231010041305.9111-1-kito.cheng@sifive.com> <20231010041305.9111-2-kito.cheng@sifive.com> <85d477f4-4e06-47ec-87ba-c2c8ade47e33@gmail.com> In-Reply-To: From: Kito Cheng Date: Wed, 11 Oct 2023 15:50:56 -0700 Message-ID: Subject: Re: Re: [PATCH v2 1/4] options: Define TARGET__P and TARGET__OPTS_P macro for Mask and InverseMask To: =?UTF-8?B?6ZKf5bGF5ZOy?= Cc: Jeff Law , "kito.cheng" , gcc-patches , palmer , rdapp Content-Type: multipart/alternative; boundary="000000000000ad874e060778a873" X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,BODY_8BITS,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE,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: --000000000000ad874e060778a873 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Oh, my bad seem like that was in later patch, let me fix now =E9=92=9F=E5=B1=85=E5=93=B2 =E6=96=BC 2023=E5=B9=B41= 0=E6=9C=8811=E6=97=A5 =E9=80=B1=E4=B8=89 15:49 =E5=AF=AB=E9=81=93=EF=BC=9A > ../../../../gcc/gcc/config/riscv/riscv.cc:8142:18: error: > =E2=80=98TARGET_MIN_VLEN_OPTS=E2=80=99 was not declared in this scope > int min_vlen =3D TARGET_MIN_VLEN_OPTS (opts); > > > > ------------------------------ > juzhe.zhong@rivai.ai > > > *From:* Kito Cheng > *Date:* 2023-10-12 05:20 > *To:* Jeff Law > *CC:* Kito Cheng ; gcc-patches > ; palmer ; rdapp > ; juzhe.zhong > *Subject:* Re: [PATCH v2 1/4] options: Define TARGET__P and > TARGET__OPTS_P macro for Mask and InverseMask > Thanks, committed, and just did one more check with x86 again, it > works as well, hope no more awk portable issue this time :P > > On Tue, Oct 10, 2023 at 6:51=E2=80=AFAM Jeff Law = wrote: > > > > > > > > On 10/9/23 22:13, Kito Cheng wrote: > > > We TARGET__P marcro to test a Mask and InverseMask with user > > > specified target_variable, however we may want to test with specific > > > gcc_options variable rather than target_variable. > > > > > > Like RISC-V has defined lots of Mask with TargetVariable, which is not > > > easy to use, because that means we need to known which Mask are > associate with > > > which TargetVariable, so take a gcc_options variable is a better > interface > > > for such use case. > > > > > > gcc/ChangeLog: > > > > > > * doc/options.texi (Mask): Document TARGET__P and > > > TARGET__OPTS_P. > > > (InverseMask): Ditto. > > > * opth-gen.awk (Mask): Generate TARGET__P and > > > TARGET__OPTS_P macro. > > > (InverseMask): Ditto. > > OK assuming it passes a build cycle on x86 or some other common target. > > > > jeff > > > --000000000000ad874e060778a873--