From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ed1-x52d.google.com (mail-ed1-x52d.google.com [IPv6:2a00:1450:4864:20::52d]) by sourceware.org (Postfix) with ESMTPS id 85FDF3858D28 for ; Mon, 18 Oct 2021 03:23:47 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 85FDF3858D28 Received: by mail-ed1-x52d.google.com with SMTP id i20so64243232edj.10 for ; Sun, 17 Oct 2021 20:23:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=qjYvg8i2y5emOTgVR7ebsthiuOgp0EOTqyf9BZvzwyI=; b=s4FztR9jncO8IIndgXS+CAQziGJpI5iW2bsxFk6tcoJ9kjrX//4ZdO9/VcGhThTeiB rsNLP2ZxxwiKrXlt3rbMJ2MBLWx8s4BmZbA33GBlubgm6CUmOJzMOUtOsGPo7bZqu+HK dKKTqN7CAvut/2GJcM5EzC6pbAmFzQ1OE9Bi+pqhkGp6dnc2Fg+rJrJbOLrPvkT5h+e0 N7X8z/B/03Opf8Oj8wrzTNd2SgZXymoRnwFQVReO7OBk6ndLrPbBn0DN9AO8FWYmC6g3 PyQ2F0oMNIuqhkMcFcr64EJHdxFdebftCFx8GFZf9yzWoj+iRtBYk9hrjp6w9k3o4BTB zdfQ== X-Gm-Message-State: AOAM531sSJ7nX6K2Ak7UYrR9j+0ckwR7HG2/Ds5MrbyL2oMsISrg6JCg 1FGU9RW+wrhN2/j996LhrOgGiK21SxXqiqA0t98= X-Google-Smtp-Source: ABdhPJxSA7V2BRoNcaHM2gNbOFee+jh/OWt/FXttrR7uCFEvIZfkihzupADM1ws7NrSK5/fZKxve/GGWW34y8/QJIKQ= X-Received: by 2002:a17:906:35cc:: with SMTP id p12mr26753932ejb.351.1634527426293; Sun, 17 Oct 2021 20:23:46 -0700 (PDT) MIME-Version: 1.0 References: <20210923075731.50125-1-kito.cheng@sifive.com> <95dc1900-febb-9760-c54f-0c24bd2e0b40@rivosinc.com> In-Reply-To: <95dc1900-febb-9760-c54f-0c24bd2e0b40@rivosinc.com> From: Kito Cheng Date: Mon, 18 Oct 2021 11:23:35 +0800 Message-ID: Subject: Re: [RFC PATCH 0/8] RISC-V: Bit-manipulation extension. To: Vineet Gupta Cc: Kito Cheng , GCC Patches , Jim Wilson , jiawei@iscas.ac.cn, Christoph Muellner , Palmer Dabbelt , Andrew Waterman Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) 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: Mon, 18 Oct 2021 03:23:48 -0000 Hi Vineet: I am not familiar with buildroot, so I am not sure which GCC version will work, but I think the patch set should be able to apply both gcc 11.1 and trunk without conflict. Here is a gcc 11.1 + this patch set on my github, hope this could help :) https://github.com/kito-cheng/riscv-gcc/tree/riscv-gcc-11.1.0-zbabcs On Thu, Oct 14, 2021 at 4:22 AM Vineet Gupta wrote: > > Hi Kito, > > On 9/23/21 12:57 AM, Kito Cheng wrote: > > Bit manipulation extension[1] is finishing the public review and waiting for > > the rest of the ratification process, I believe that will become a ratified > > extension soon, so I think it's time to submit to upstream for review now :) > > > > As the title included RFC, it's not a rush to merge to trunk yet, I would > > like to merge that until it is officially ratified. > > > > This patch set is the implementation of bit-manipulation extension, which > > includes zba, zbb, zbc and zbs extension, but only included in instruction/md > > pattern only, no intrinsic function implementation. > > > > Most work is done by Jim Willson and many other contributors > > on https://github.com/riscv-collab/riscv-gcc. > > > > > > [1] https://github.com/riscv/riscv-bitmanip/releases/tag/1.0.0 > > I wanted to give these a try. Is it reasonable to apply these to a gcc > 11.1 baseline and give a spin in buildroot or do these absolutely have > to be bleeding edge gcc. > > Thx, > -Vineet