From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf1-x12b.google.com (mail-lf1-x12b.google.com [IPv6:2a00:1450:4864:20::12b]) by sourceware.org (Postfix) with ESMTPS id 6C5823846033 for ; Fri, 22 Jan 2021 06:49:08 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 6C5823846033 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=sifive.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=kito.cheng@sifive.com Received: by mail-lf1-x12b.google.com with SMTP id v24so6091033lfr.7 for ; Thu, 21 Jan 2021 22:49:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=FWWdsz/EjKShU9nKbqzn0gTx7nMFPbOpQnnkbfO3N00=; b=XDM2qwW0rAvP0X7X19H90MxJZ8HbT5QUnb8bPirM24Wn3eTuSO21f1cIRl6lb/NrUB xWePvp4km2NMlkg5yJ2OemnmcOrbwT67VvOu8k1H23ICkc86z03TxtPMEn9jPerD2edm Ngr0BCHs0PVIXLszTeiILjP2zyjn405hXLDBLsNJjlqOqUxF8Bt+lxAnH/f1jD7ij1oJ vMP86CxAFR22eLJGgzYxhz109JPahy259wXRJf533svfVMX7y8ycMyfeBPUbf6tdA0tc Tsu1FpxRij4BA2HTB3xlw7xKrOKSBeOwB2T0x1KPLC8kjh6EPZuBu8jGPSNCaCNba19f aUMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=FWWdsz/EjKShU9nKbqzn0gTx7nMFPbOpQnnkbfO3N00=; b=BXCE+fEr3H0Uw8iGfVeMsLXyMMOKhmWxrXwP8HvN2KB7TTGPcy4xrVJbsWzYu05zhJ eMI5Yk16e0CyllTv4x40HtdmAk7s0USmJSckTOOnZSXmHVXyj1B9yHqVX8u/aMql+kGc kXmKF/qhJRVco61yyOCY8iCxc0huGSz5CyWH3QP8R6S9qTCuNUZEG4bB0B7b9/nxCurt ekUMTmN1OJ+AgW+hENJO7Z8dNc2Tzj9pm5kbgdrdZsuAIIA/UwKaYNbOXi3DNi0f20ZT MyktiljsM1lhWA5rH868OKOpWuH/CgB8Y3f+ww0aosRvyB5iZyq/UokQMNYl7J4hwVLK FaTA== X-Gm-Message-State: AOAM533wv0dQQpx2oPS4i8a2wbFt0JLEyQ6SmudVmXo9oBJJiOVHd3kG MYttaoBu4F7kqwsbX0UHz4fMb2yZYBgpurwTb33yFg== X-Google-Smtp-Source: ABdhPJzNz4SsAT+HwF1UTUZEBdtFilE6DaBewsxys7SdXiJLP7trqT851z4w8kDJSnfXcJvL7wuwrfbm7I9xRe5N2G4= X-Received: by 2002:ac2:4102:: with SMTP id b2mr273122lfi.406.1611298146938; Thu, 21 Jan 2021 22:49:06 -0800 (PST) MIME-Version: 1.0 References: <82D6E3CF-36C9-4D84-BFC1-A35FCEDED358@gmail.com> In-Reply-To: <82D6E3CF-36C9-4D84-BFC1-A35FCEDED358@gmail.com> From: Kito Cheng Date: Fri, 22 Jan 2021 14:48:55 +0800 Message-ID: Subject: Re: [PATCH] RISC-V: Fix -march option parsing when `p` extension exists. To: Xing GUO , Jim Wilson Cc: Kito Cheng , GCC Patches Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-5.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jan 2021 06:49:10 -0000 Hi Jim: I think this patch is small enough to accept without FSF copyright assignment, and he is also on the way of the process, what do you think? On Fri, Jan 22, 2021 at 2:44 PM Xing GUO wrote: > > Hi Kito, > > I=E2=80=99ve sent my assignments and my school=E2=80=99s disclaimer to as= sign@gnu.org ([gnu.org #1673033] Xing GUO), but I haven=E2=80=99t got respo= nse so far. Not sure if this patch can be accepted as a small bugfix patch= . If not, I=E2=80=99m happy to wait until FSF prove it. > > Best Regards, > Xing > > On Jan 22, 2021, at 2:26 PM, Kito Cheng wrote: > > Hi Xing: > > Thanks for your patch, but I would like to know did you have the > copyright assignment for FSF? or your employee/company has signed > that? > > On Thu, Jan 21, 2021 at 8:48 PM Xing GUO via Gcc-patches > wrote: > > > This patch fixes -march option parsing when `p` extension exists, > e.g., -march=3Drv64imafdcp should produce > > .attribute arch, "rv64i2p0_m2p0_a2p0_f2p0_d2p0_c2p0_p" > > rather than > > .attribute arch, "rv64i2p0_m2p0_a2p0_f2p0_d2p0_c_p" > > --- > gcc/ChangeLog: > > * common/config/riscv/riscv-common.c > (riscv_subset_list::parsing_subset_version): > Fix -march option parsing when `p` extension exists. > > gcc/testsuite/ChangeLog: > > * gcc.target/riscv/attribute-18.c: New test. > -- > > Cheers, > Xing > >