From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) by sourceware.org (Postfix) with ESMTPS id 1F8E6385840D for ; Thu, 1 Jun 2023 16:59:35 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 1F8E6385840D Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=vrull.eu Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=vrull.eu Received: by mail-ed1-x52a.google.com with SMTP id 4fb4d7f45d1cf-514859f3ffbso1668143a12.1 for ; Thu, 01 Jun 2023 09:59:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vrull.eu; s=google; t=1685638774; x=1688230774; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=q/mieaQfPepwzzcoZXZb0/gwka4OMFJfKJVDakb2fV0=; b=k2exHmFuqGKhBpWKCsyz0cXPdKO3WAB8BcGp4cCkJkAedzM5ubLWvpo6IALTbaAgA1 o5Sk9huOA7eAuFD16tIZbn2LqXJrLn39L8JkbNOQXa778Ff8pTAB1weOkK+AWjbOmxxH kcE47bzpUu91LBHqNIcsQQ6umhvV/ztejC5uNY500Fr3qZWi3pg06rV7Qkc8zSFEUK2o bi9yo7ta1BMNF+KiXZJt6MQmBIYTun/J3z0UpfmI2OEoNUnRlruru+J/G4DUrtZogoxI +e74a9UaLlnnDf6yiiSYgbaLfPPAW/T7QL4WWRcy3pgb+9q/RjdaK8RJmvnpUWdPUwej 6pdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685638774; x=1688230774; 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=q/mieaQfPepwzzcoZXZb0/gwka4OMFJfKJVDakb2fV0=; b=D3UqOMeJ081LQnO3Sf6lKy6ie3T8lBKrZT7RrAAU8NzzBAAzwOaVQWkRaELxQUxJUc ORRvURF5g4zqUtFKmdEDQJvMYMPwoqPDlq6ucumpKnZCl53Vc0aBwUrqzQ5MtbF5QbJb 5vJTJ/Qs0UIQQT9yLtIVPfZ1F+lHrg2WXlT3O6d6VWRkU8fVTPWXWiG9bzSwZS+RPH2B 2e2dtsFnAYudIRBa+jHiHrqOMZ2KW59qeHoXbfs0cvo3RL49U6xv6rQ/rARXPp69gtX6 cnXa59geFkm3bHNXNfJDkM/3et/DTptEm7Z9CfWG7Nbxa4H0ySdVPyStmUzRP+mgsbG9 nagA== X-Gm-Message-State: AC+VfDxzdbvN4ia4DjZdJRE1Oz+QgMoQqiH/CotBTBQkhvX5RmV0yn8B YAKGBZdWymkHqARc3+FD2+L8ZVsziN3eiudCTbJRYxOov/l+lInLDgo= X-Google-Smtp-Source: ACHHUZ72ZRUEyrERHUeRYb2UwoMHcRjSgm6AYcaq6tjhVr9O9R4kNdU6FbnIkbKeip5kO00+p+ynPcMOCBCLDp2EJpc= X-Received: by 2002:aa7:d8ce:0:b0:514:7edc:4420 with SMTP id k14-20020aa7d8ce000000b005147edc4420mr366264eds.16.1685638773756; Thu, 01 Jun 2023 09:59:33 -0700 (PDT) MIME-Version: 1.0 References: <20230307091204.1498-1-shihua@iscas.ac.cn> <20230601065110.1308-1-jinma@linux.alibaba.com> <2eebb749-c837-1cb4-e3ca-c0d24dfae4a1@gmail.com> In-Reply-To: <2eebb749-c837-1cb4-e3ca-c0d24dfae4a1@gmail.com> From: Philipp Tomsich Date: Thu, 1 Jun 2023 18:59:22 +0200 Message-ID: Subject: Re: FW: [RFC] RISC-V: Support risc-v bfloat16 This patch support bfloat16 in riscv like x86_64 and arm. To: Jeff Law Cc: "juzhe.zhong@rivai.ai" , gcc-patches , jinma , "Kito.cheng" , palmer Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-3.6 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,JMQ_SPF_NEUTRAL,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Thu, 1 Jun 2023 at 18:49, Jeff Law via Gcc-patches wrote: > > > > On 6/1/23 01:01, juzhe.zhong@rivai.ai wrote: > > I plan to implement BF16 vector in GCC but still waiting for ISA > > ratified since GCC policy doesn't allow un-ratified ISA. > Right. So those specs need to move along further before we can start > integrating code. Doesn't our policy require specs to only pass the FREEZE milestone (i.e., the requirement for public review) before we can start integrating them? This should give us at least a 6 week (minimum 30 days public-review plus 2 weeks for the TSC vote to send this up for ratification) headstart on ratification (with the small risk of minor changes required due to review comments) to start integrating support for new extensions. Best, Philipp. p.s.: Just for reference, the RISC-V Lifecycle Guide (defining these milestones in specification development) is linked from https://wiki.riscv.org/ for details. > > > > Currently, we are working on INT8,INT16,INT32,INT64,FP16,FP32,FP64 > > auto-vectorizaiton. > > It should very simple BF16 in current vector framework in GCC. > In prior architectures I've worked on the bulk of BF16 work was just > adding additional entries to existing iterators. So I agree, it should > be very simple :-) > > Jeff >