Message ID | 20210924011730.97039-1-hongtao.liu@intel.com |
---|---|
State | New |
Headers |
Return-Path: <gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org> X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 7B933385841E for <patchwork@sourceware.org>; Fri, 24 Sep 2021 01:18:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7B933385841E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1632446283; bh=Q6lUPUrIs9ufLoMzMLnJInff6Kn+8WWXn8MMYejT17Y=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=cDxxkRUxSgsX/7FhnFS8KX4EZUwveOJ1dCDqD5LKth8NfKKEkQVtmpuB/oc+4uAJK y2Xv/xS3o4Ou034Ptey8rwJFKGfCq2erzXWgfqL8gAaMFMv9Zp6H5F04Ns0bWUDQ4l NN0Ohe3R420+8R2TVmPJmTuNRtVGnvVX5z3SO228= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by sourceware.org (Postfix) with ESMTPS id 0850A3858D29 for <gcc-patches@gcc.gnu.org>; Fri, 24 Sep 2021 01:17:33 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 0850A3858D29 X-IronPort-AV: E=McAfee;i="6200,9189,10116"; a="309534545" X-IronPort-AV: E=Sophos;i="5.85,318,1624345200"; d="scan'208";a="309534545" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Sep 2021 18:17:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,318,1624345200"; d="scan'208";a="702977539" Received: from scymds01.sc.intel.com ([10.148.94.138]) by fmsmga006.fm.intel.com with ESMTP; 23 Sep 2021 18:17:32 -0700 Received: from shliclel320.sh.intel.com (shliclel320.sh.intel.com [10.239.236.50]) by scymds01.sc.intel.com with ESMTP id 18O1HV8a012746; Thu, 23 Sep 2021 18:17:31 -0700 To: gcc-patches@gcc.gnu.org Subject: [PATCH] [GCC12] Mention Intel AVX512-FP16 and _Float16 support. Date: Fri, 24 Sep 2021 09:17:30 +0800 Message-Id: <20210924011730.97039-1-hongtao.liu@intel.com> X-Mailer: git-send-email 2.18.1 In-Reply-To: <alpine.DEB.2.22.394.2109232041400.786440@digraph.polyomino.org.uk> References: <alpine.DEB.2.22.394.2109232041400.786440@digraph.polyomino.org.uk> X-Spam-Status: No, score=-11.5 required=5.0 tests=BAYES_00, GIT_PATCH_0, KAM_DMARC_NONE, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, SPF_HELO_NONE, SPF_NONE, 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 <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> From: liuhongt via Gcc-patches <gcc-patches@gcc.gnu.org> Reply-To: liuhongt <hongtao.liu@intel.com> Errors-To: gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org Sender: "Gcc-patches" <gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org> |
Series |
[GCC12] Mention Intel AVX512-FP16 and _Float16 support.
|
|
Commit Message
liuhongt
Sept. 24, 2021, 1:17 a.m. UTC
Updated, mention _Float16 support. --- htdocs/gcc-12/changes.html | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-)
Comments
On Thu, Sep 23, 2021 at 6:17 PM liuhongt <hongtao.liu@intel.com> 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.</p> > </li> > </ul> > > -<!-- <h3 id="x86">IA-32/x86-64</h3> --> > +<h3 id="x86">IA-32/x86-64</h3> > +<ul> > + <li>New ISA extension support for Intel AVX512-FP16 was added to GCC. > + AVX512FP16 intrinsics are available via the <code>-mavx512fp16</code> > + compiler switch. > + </li> > + <li>For both C and C++, The <code>_Float16</code> type is supported on > + x86 systems with SSE2 enabled. Without <code>{-mavx512fp16}</code>, > + <code>_Float16</code> type is storage only, all operations will be I don't think _Float16 is storage only without AVX512FP16. > + emulated by software emulation and the <code>float</code> instructions. > + </li> > +</ul> > > <!-- <h3 id="mips">MIPS</h3> --> > > -- > 2.18.1 >
On Thu, Sep 23, 2021 at 6:38 PM Hongtao Liu <crazylht@gmail.com> wrote: > > On Fri, Sep 24, 2021 at 9:20 AM H.J. Lu <hjl.tools@gmail.com> wrote: > > > > On Thu, Sep 23, 2021 at 6:17 PM liuhongt <hongtao.liu@intel.com> 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.</p> > > > </li> > > > </ul> > > > > > > -<!-- <h3 id="x86">IA-32/x86-64</h3> --> > > > +<h3 id="x86">IA-32/x86-64</h3> > > > +<ul> > > > + <li>New ISA extension support for Intel AVX512-FP16 was added to GCC. > > > + AVX512FP16 intrinsics are available via the <code>-mavx512fp16</code> > > > + compiler switch. > > > + </li> > > > + <li>For both C and C++, The <code>_Float16</code> type is supported on > > > + x86 systems with SSE2 enabled. Without <code>{-mavx512fp16}</code>, > > > + <code>_Float16</code> 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 > > + <li>For both C and C++, The <code>_Float16</code> type is supported on > + x86 systems with SSE2 enabled. Without <code>{-mavx512fp16}</code>, > + 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 <code>float</code> instructions. > + </li> > > > > + emulated by software emulation and the <code>float</code> instructions. > > > + </li> > > > +</ul> > > > > > > <!-- <h3 id="mips">MIPS</h3> --> > > > > > > -- > > > 2.18.1 > > > > > > > > > -- > > H.J. > > > > -- > BR, > Hongtao
On Fri, Sep 24, 2021 at 9:20 AM H.J. Lu <hjl.tools@gmail.com> wrote: > > On Thu, Sep 23, 2021 at 6:17 PM liuhongt <hongtao.liu@intel.com> 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.</p> > > </li> > > </ul> > > > > -<!-- <h3 id="x86">IA-32/x86-64</h3> --> > > +<h3 id="x86">IA-32/x86-64</h3> > > +<ul> > > + <li>New ISA extension support for Intel AVX512-FP16 was added to GCC. > > + AVX512FP16 intrinsics are available via the <code>-mavx512fp16</code> > > + compiler switch. > > + </li> > > + <li>For both C and C++, The <code>_Float16</code> type is supported on > > + x86 systems with SSE2 enabled. Without <code>{-mavx512fp16}</code>, > > + <code>_Float16</code> 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 + <li>For both C and C++, The <code>_Float16</code> type is supported on + x86 systems with SSE2 enabled. Without <code>{-mavx512fp16}</code>, + no real AVX512-FP16 instructions are generated, all operations will be + emulated by software emulation and the <code>float</code> instructions. + </li> > > + emulated by software emulation and the <code>float</code> instructions. > > + </li> > > +</ul> > > > > <!-- <h3 id="mips">MIPS</h3> --> > > > > -- > > 2.18.1 > > > > > -- > H.J.
On Fri, Sep 24, 2021 at 9:42 AM H.J. Lu <hjl.tools@gmail.com> wrote: > > On Thu, Sep 23, 2021 at 6:38 PM Hongtao Liu <crazylht@gmail.com> wrote: > > > > On Fri, Sep 24, 2021 at 9:20 AM H.J. Lu <hjl.tools@gmail.com> wrote: > > > > > > On Thu, Sep 23, 2021 at 6:17 PM liuhongt <hongtao.liu@intel.com> 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.</p> > > > > </li> > > > > </ul> > > > > > > > > -<!-- <h3 id="x86">IA-32/x86-64</h3> --> > > > > +<h3 id="x86">IA-32/x86-64</h3> > > > > +<ul> > > > > + <li>New ISA extension support for Intel AVX512-FP16 was added to GCC. > > > > + AVX512FP16 intrinsics are available via the <code>-mavx512fp16</code> > > > > + compiler switch. > > > > + </li> > > > > + <li>For both C and C++, The <code>_Float16</code> type is supported on > > > > + x86 systems with SSE2 enabled. Without <code>{-mavx512fp16}</code>, > > > > + <code>_Float16</code> 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 > > > > + <li>For both C and C++, The <code>_Float16</code> type is supported on > > + x86 systems with SSE2 enabled. Without <code>{-mavx512fp16}</code>, > > + no real AVX512-FP16 instructions are generated, all operations will be > > No need for "no real AVX512-FP16 instructions are generated". Updated. -<!-- <h3 id="x86">IA-32/x86-64</h3> --> +<h3 id="x86">IA-32/x86-64</h3> +<ul> + <li>New ISA extension support for Intel AVX512-FP16 was added to GCC. + AVX512FP16 intrinsics are available via the <code>-mavx512fp16</code> + compiler switch. + </li> + <li>For both C and C++, The <code>_Float16</code> type is supported on + x86 systems with SSE2 enabled. Without <code>{-mavx512fp16}</code>, + all operations will be emulated by software emulation and the + <code>float</code> instructions. + </li> +</ul> > > > + emulated by software emulation and the <code>float</code> instructions. > > + </li> > > > > > > + emulated by software emulation and the <code>float</code> instructions. > > > > + </li> > > > > +</ul> > > > > > > > > <!-- <h3 id="mips">MIPS</h3> --> > > > > > > > > -- > > > > 2.18.1 > > > > > > > > > > > > > -- > > > H.J. > > > > > > > > -- > > BR, > > Hongtao > > > > -- > H.J.
On Thu, Sep 23, 2021 at 6:58 PM Hongtao Liu <crazylht@gmail.com> wrote: > > On Fri, Sep 24, 2021 at 9:42 AM H.J. Lu <hjl.tools@gmail.com> wrote: > > > > On Thu, Sep 23, 2021 at 6:38 PM Hongtao Liu <crazylht@gmail.com> wrote: > > > > > > On Fri, Sep 24, 2021 at 9:20 AM H.J. Lu <hjl.tools@gmail.com> wrote: > > > > > > > > On Thu, Sep 23, 2021 at 6:17 PM liuhongt <hongtao.liu@intel.com> 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.</p> > > > > > </li> > > > > > </ul> > > > > > > > > > > -<!-- <h3 id="x86">IA-32/x86-64</h3> --> > > > > > +<h3 id="x86">IA-32/x86-64</h3> > > > > > +<ul> > > > > > + <li>New ISA extension support for Intel AVX512-FP16 was added to GCC. > > > > > + AVX512FP16 intrinsics are available via the <code>-mavx512fp16</code> > > > > > + compiler switch. > > > > > + </li> > > > > > + <li>For both C and C++, The <code>_Float16</code> type is supported on > > > > > + x86 systems with SSE2 enabled. Without <code>{-mavx512fp16}</code>, > > > > > + <code>_Float16</code> 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 > > > > > > + <li>For both C and C++, The <code>_Float16</code> type is supported on > > > + x86 systems with SSE2 enabled. Without <code>{-mavx512fp16}</code>, > > > + no real AVX512-FP16 instructions are generated, all operations will be > > > > No need for "no real AVX512-FP16 instructions are generated". > Updated. > > -<!-- <h3 id="x86">IA-32/x86-64</h3> --> > +<h3 id="x86">IA-32/x86-64</h3> > +<ul> > + <li>New ISA extension support for Intel AVX512-FP16 was added to GCC. > + AVX512FP16 intrinsics are available via the <code>-mavx512fp16</code> > + compiler switch. > + </li> > + <li>For both C and C++, The <code>_Float16</code> type is supported on > + x86 systems with SSE2 enabled. Without <code>{-mavx512fp16}</code>, > + all operations will be emulated by software emulation and the > + <code>float</code> instructions. > + </li> > +</ul> LGTM. Thanks. > > > > > + emulated by software emulation and the <code>float</code> instructions. > > > + </li> > > > > > > > > + emulated by software emulation and the <code>float</code> instructions. > > > > > + </li> > > > > > +</ul> > > > > > > > > > > <!-- <h3 id="mips">MIPS</h3> --> > > > > > > > > > > -- > > > > > 2.18.1 > > > > > > > > > > > > > > > > > -- > > > > H.J. > > > > > > > > > > > > -- > > > BR, > > > Hongtao > > > > > > > > -- > > H.J. > > > > -- > BR, > Hongtao
On Fri, 24 Sep 2021, Hongtao Liu via Gcc-patches wrote: > + <li>New ISA extension support for Intel AVX512-FP16 was added to GCC. > + AVX512FP16 intrinsics are available [...] So, is it AVX512-FP16 or AVX512FP16? Gerald
On Fri, Oct 1, 2021 at 6:13 PM Gerald Pfeifer <gerald@pfeifer.com> wrote: > > On Fri, 24 Sep 2021, Hongtao Liu via Gcc-patches wrote: > > + <li>New ISA extension support for Intel AVX512-FP16 was added to GCC. > > + AVX512FP16 intrinsics are available [...] > > So, is it AVX512-FP16 or AVX512FP16? Sorry for the confusion, the official name is AVX512-FP16[1], and for simplicity, AVX512FP16 is used in the mail thread. [1] https://software.intel.com/content/www/us/en/develop/download/intel-avx512-fp16-architecture-specification.html > > Gerald
On Fri, 8 Oct 2021, Hongtao Liu wrote: > > On Fri, 24 Sep 2021, Hongtao Liu via Gcc-patches wrote: >>> + <li>New ISA extension support for Intel AVX512-FP16 was added to GCC. >>> + AVX512FP16 intrinsics are available [...] >> So, is it AVX512-FP16 or AVX512FP16? > Sorry for the confusion, the official name is AVX512-FP16[1], and for > simplicity, AVX512FP16 is used in the mail thread. Shouldn't we then consistently use AVX512-FP16 here (gcc-12/changes.html) and in gcc/doc/invoke.texi where there are three instances of AVX512FP16 (without the dash)? Gerald
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.</p> </li> </ul> -<!-- <h3 id="x86">IA-32/x86-64</h3> --> +<h3 id="x86">IA-32/x86-64</h3> +<ul> + <li>New ISA extension support for Intel AVX512-FP16 was added to GCC. + AVX512FP16 intrinsics are available via the <code>-mavx512fp16</code> + compiler switch. + </li> + <li>For both C and C++, The <code>_Float16</code> type is supported on + x86 systems with SSE2 enabled. Without <code>{-mavx512fp16}</code>, + <code>_Float16</code> type is storage only, all operations will be + emulated by software emulation and the <code>float</code> instructions. + </li> +</ul> <!-- <h3 id="mips">MIPS</h3> -->