From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-vs1-xe2d.google.com (mail-vs1-xe2d.google.com [IPv6:2607:f8b0:4864:20::e2d]) by sourceware.org (Postfix) with ESMTPS id DE1833856DF8 for ; Thu, 31 Aug 2023 09:10:23 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org DE1833856DF8 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-xe2d.google.com with SMTP id ada2fe7eead31-44d3e4ad403so331697137.0 for ; Thu, 31 Aug 2023 02:10:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693473023; x=1694077823; darn=gcc.gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=d8Wm6lylCzsB159T+p75qxdYtiIaXVdEj96Sg3oFooA=; b=LCveY6X3PcfcDM4u5KTb4AzyWTCP9htA2aDlrmOGPyvreS42vOnCg7veVp8whYpO3w /GvmgawYJuH7ocwgOzNIZpg8XWPeYxUmHa/lkq2l7nwKWFqTfWdpOaWnHhxnsyarQQ5g /XGR+GbWpnoda1E4ysSfkcuBN029qH2N/vvuNz0I+GKaxBwEgtvK7G2JdHl3W5GaE24o KkrcxQsMtzuw20ROEJHPJmYPddTvPds3FG9NG2Wp6m5mM7f+bzD+rMzCc7SX/uGtff55 ZmPP+oGf9pZjytBLz0EHpqAuWdSdZrqGJxAoD2o7rAwYIlljZzGeBoKLlKmJEa+8iust ArFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693473023; x=1694077823; h=content-transfer-encoding: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=d8Wm6lylCzsB159T+p75qxdYtiIaXVdEj96Sg3oFooA=; b=a4tzpZsb2gPU47Ow4t5/L5wNyctNl373LAo9YZ3G/wQe+6O526T+tJrWpVwkeeGN+n 018iR/X3W0nUuK7ZYTW4QBNjzX6bXVtx8jdHog8c4OPGdVYO/1pfIhfDhXW7cf+1GxzJ sKEhXI/Yh2EjgEOJgdJoYg1wZaIRlh5VYWnuEYoMq0vKyZKM4seZWEBTBxivRr5K2AU6 w/f0fMs0QuTTGyRvJLaudDqZsfflBMmfvYJk5DvW5emHcPokyCTLjz+Ew9DfgvrbN30H kiSsD/bzYNCtWV4Ied6+N7PZRpoJusdF75+W6NC/nS8d+n70CLhWuLJXa2Mm4pyZ69iJ 1bxw== X-Gm-Message-State: AOJu0Yzft2pmO0OC1Zm4ZZ8VLJyObkmWm3G5FvuqiCmFw2BOPjW1zXyG 3ZJs8hfcIE5oKiMAj2tba8vjL6aX6iBC3O64FbI+iVnVpwE= X-Google-Smtp-Source: AGHT+IGslW4bIAHrTmPaE3BMiMftmhuwvGZ5KlRTbM2Lwidk5Y5BHd2ovSDqEiv7usJhJc1f47E6bebrveYGG2LNLao= X-Received: by 2002:a05:6102:2e2:b0:44e:e7d7:6847 with SMTP id j2-20020a05610202e200b0044ee7d76847mr4564650vsj.7.1693473023096; Thu, 31 Aug 2023 02:10:23 -0700 (PDT) MIME-Version: 1.0 References: <1c4f3e947919e720c18e5af9ecc7b6b76e06611a.1693280446.git.research_trasio@irq.a4lg.com> In-Reply-To: From: Kito Cheng Date: Thu, 31 Aug 2023 17:10:11 +0800 Message-ID: Subject: Re: [PATCH 1/1] RISC-V: Imply 'Zicsr' from 'Zcmt' To: Tsukasa OI Cc: gcc-patches@gcc.gnu.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-8.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,GIT_PATCH_0,KAM_SHORT,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: Hi Tsukasa: I guess you might did something wrong during commit this patch and "RISC-V: Add stub support for existing extensions" https://github.com/gcc-mirror/gcc/commit/f30d6a48635b5b180e46c51138d0938d33= abd942 On Tue, Aug 29, 2023 at 4:55=E2=80=AFPM Tsukasa OI via Gcc-patches wrote: > > On 2023/08/29 17:42, Kito Cheng wrote: > > LGTM, did you have commit access for GCC repo? you should obtain it if > > you don't have it yet, I think you are already an important member of > > the RISC-V GNU toolchain community :) > > Not yet (only Binutils/GDB). Jeff is mainly merging my changes to the > trunk so far. > > Thanks for mentioning and sponsoring me for write access to GCC. I > truly appreciate that mentioning me as an important member and write > access to the GCC repository will be also helpful. > > I'll contact GCC overseers later. > > Sincerely, > Tsukasa > > > > > https://gcc.gnu.org/gitwrite.html#authenticated , and you can add me > > to the cc list as your sponsor. > > > > > > > > On Tue, Aug 29, 2023 at 11:42=E2=80=AFAM Tsukasa OI via Gcc-patches > > wrote: > >> > >> From: Tsukasa OI > >> > >> As the specification states, the 'Zcmt' extension depends on the 'Zca'= and > >> 'Zicsr' extensions. This commit reflects this implication. > >> > >> gcc/ChangeLog: > >> > >> * common/config/riscv/riscv-common.cc > >> (riscv_implied_info): Add implication from 'Zcmt' to 'Zicsr'. > >> --- > >> gcc/common/config/riscv/riscv-common.cc | 1 + > >> 1 file changed, 1 insertion(+) > >> > >> diff --git a/gcc/common/config/riscv/riscv-common.cc b/gcc/common/conf= ig/riscv/riscv-common.cc > >> index a5b62cda3a09..1315c8a745ec 100644 > >> --- a/gcc/common/config/riscv/riscv-common.cc > >> +++ b/gcc/common/config/riscv/riscv-common.cc > >> @@ -142,6 +142,7 @@ static const riscv_implied_info_t riscv_implied_in= fo[] =3D > >> {"zcb", "zca"}, > >> {"zcmp", "zca"}, > >> {"zcmt", "zca"}, > >> + {"zcmt", "zicsr"}, > >> > >> {NULL, NULL} > >> }; > >> -- > >> 2.42.0 > >> > >