From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pj1-x1035.google.com (mail-pj1-x1035.google.com [IPv6:2607:f8b0:4864:20::1035]) by sourceware.org (Postfix) with ESMTPS id 437E93858D29 for ; Fri, 24 Sep 2021 01:42:11 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 437E93858D29 Received: by mail-pj1-x1035.google.com with SMTP id r7so5199121pjo.3 for ; Thu, 23 Sep 2021 18:42:11 -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=X1BNlGH/RoXQ+l6G2rHZgGk2sR4jYUTw4NxZW2qUnTI=; b=p8fG3kFRUqid6Fodd6x64OBNaSggYtrExG9x1JL9+CUyLwI3KWNfZiW0CccAG12zJA RRs1HNPrABEYVtWBWBiFWpPzH/yadzXjRxiJdshfZJ49v4X/sPGQOmw9ddCa0eZIIIEv cj0UsGW3DQKSgWeTyZuorElM0k8LqvjzywWK4bfyCm0yIuqxejvMRb0EJ1Z2Xe4SvGD7 DmEUTaCILEtYAG6hBWMBcWWz1GcudWYEUoCYwTsj2leGE/t5d7Dui9ljeZJdbDxOEMnd X3RI4x6pdK1503qxVuBCqDLTT9cql+CC2CwKf8BAD7QofgJ8vk+U1U9ewSwcl9qlbFoe HkiQ== X-Gm-Message-State: AOAM5310RaetUFmpGtztipZNL6YGDKzpvPLIDiqqrvcdvnSxzFqCF06E HwODD0HIvK8fxDeftlUExfvbRe8jdHg8UstASIM= X-Google-Smtp-Source: ABdhPJz7xj147BxSAjCdWqswKQPuV8GgaSfnv9ToU5/af4JsYn4ISfqiOutSiZPqjw6aqjB1mqKJYX354HbqVLbSV4o= X-Received: by 2002:a17:90b:17c1:: with SMTP id me1mr21543823pjb.28.1632447730094; Thu, 23 Sep 2021 18:42:10 -0700 (PDT) MIME-Version: 1.0 References: <20210924011730.97039-1-hongtao.liu@intel.com> In-Reply-To: From: "H.J. Lu" Date: Thu, 23 Sep 2021 18:41:34 -0700 Message-ID: Subject: Re: [PATCH] [GCC12] Mention Intel AVX512-FP16 and _Float16 support. To: Hongtao Liu Cc: liuhongt , GCC Patches Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-3030.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, 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: Fri, 24 Sep 2021 01:42:12 -0000 On Thu, Sep 23, 2021 at 6:38 PM Hongtao Liu wrote: > > On Fri, Sep 24, 2021 at 9:20 AM H.J. Lu wrote: > > > > On Thu, Sep 23, 2021 at 6:17 PM liuhongt wrote: > > > > > > Updated, mention _Float16 support. > > > > > > --- > > > htdocs/gcc-12/changes.html | 13 ++++++++++++- > > > 1 file changed, 12 insertions(+), 1 deletion(-) > > > > > > diff --git a/htdocs/gcc-12/changes.html b/htdocs/gcc-12/changes.html > > > index 81f62fe3..f19c6718 100644 > > > --- a/htdocs/gcc-12/changes.html > > > +++ b/htdocs/gcc-12/changes.html > > > @@ -165,7 +165,18 @@ a work-in-progress.

> > > > > > > > > > > > - > > > +

IA-32/x86-64

> > > +
    > > > +
  • New ISA extension support for Intel AVX512-FP16 was added to GCC. > > > + AVX512FP16 intrinsics are available via the -mavx512fp16 > > > + compiler switch. > > > +
  • > > > +
  • For both C and C++, The _Float16 type is supported on > > > + x86 systems with SSE2 enabled. Without {-mavx512fp16}, > > > + _Float16 type is storage only, all operations will be > > > > I don't think _Float16 is storage only without AVX512FP16. > > > I guess you're meaning that psABI is available for _Float16 even w/o > AVX512-FP16. > > How about > > +
  • For both C and C++, The _Float16 type is supported on > + x86 systems with SSE2 enabled. Without {-mavx512fp16}, > + no real AVX512-FP16 instructions are generated, all operations will be No need for "no real AVX512-FP16 instructions are generated". > + emulated by software emulation and the float instructions. > +
  • > > > > + emulated by software emulation and the float instructions. > > > + > > > +
> > > > > > > > > > > > -- > > > 2.18.1 > > > > > > > > > -- > > H.J. > > > > -- > BR, > Hongtao -- H.J.