public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] wwwdocs: [GCC12] Mention Intel AVX512-FP16.
@ 2021-09-23  5:38 liuhongt
  2021-09-23 20:42 ` Joseph Myers
  0 siblings, 1 reply; 15+ messages in thread
From: liuhongt @ 2021-09-23  5:38 UTC (permalink / raw)
  To: gcc-patches

---
 htdocs/gcc-12/changes.html | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/htdocs/gcc-12/changes.html b/htdocs/gcc-12/changes.html
index 81f62fe3..14149212 100644
--- a/htdocs/gcc-12/changes.html
+++ b/htdocs/gcc-12/changes.html
@@ -165,8 +165,12 @@ 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>
+</ul>
 <!-- <h3 id="mips">MIPS</h3> -->
 
 <!-- <h3 id="mep">MeP</h3> -->
-- 
2.18.1


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH] wwwdocs: [GCC12] Mention Intel AVX512-FP16.
  2021-09-23  5:38 [PATCH] wwwdocs: [GCC12] Mention Intel AVX512-FP16 liuhongt
@ 2021-09-23 20:42 ` Joseph Myers
  2021-09-24  1:17   ` [PATCH] [GCC12] Mention Intel AVX512-FP16 and _Float16 support liuhongt
  0 siblings, 1 reply; 15+ messages in thread
From: Joseph Myers @ 2021-09-23 20:42 UTC (permalink / raw)
  To: liuhongt; +Cc: gcc-patches

On Thu, 23 Sep 2021, liuhongt via Gcc-patches wrote:

> +<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>
> +</ul>

I think the support for _Float16 should be mentioned in the release notes 
as well.

-- 
Joseph S. Myers
joseph@codesourcery.com

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [PATCH] [GCC12] Mention Intel AVX512-FP16 and _Float16 support.
  2021-09-23 20:42 ` Joseph Myers
@ 2021-09-24  1:17   ` liuhongt
  2021-09-24  1:20     ` H.J. Lu
  0 siblings, 1 reply; 15+ messages in thread
From: liuhongt @ 2021-09-24  1:17 UTC (permalink / raw)
  To: gcc-patches

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
+      emulated by software emulation and the <code>float</code> instructions.
+  </li>
+</ul>
 
 <!-- <h3 id="mips">MIPS</h3> -->
 
-- 
2.18.1


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH] [GCC12] Mention Intel AVX512-FP16 and _Float16 support.
  2021-09-24  1:17   ` [PATCH] [GCC12] Mention Intel AVX512-FP16 and _Float16 support liuhongt
@ 2021-09-24  1:20     ` H.J. Lu
  2021-09-24  1:44       ` Hongtao Liu
  0 siblings, 1 reply; 15+ messages in thread
From: H.J. Lu @ 2021-09-24  1:20 UTC (permalink / raw)
  To: liuhongt; +Cc: GCC Patches, Hongtao Liu

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
>


-- 
H.J.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH] [GCC12] Mention Intel AVX512-FP16 and _Float16 support.
  2021-09-24  1:44       ` Hongtao Liu
@ 2021-09-24  1:41         ` H.J. Lu
  2021-09-24  2:04           ` Hongtao Liu
  0 siblings, 1 reply; 15+ messages in thread
From: H.J. Lu @ 2021-09-24  1:41 UTC (permalink / raw)
  To: Hongtao Liu; +Cc: liuhongt, GCC Patches

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



-- 
H.J.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH] [GCC12] Mention Intel AVX512-FP16 and _Float16 support.
  2021-09-24  1:20     ` H.J. Lu
@ 2021-09-24  1:44       ` Hongtao Liu
  2021-09-24  1:41         ` H.J. Lu
  0 siblings, 1 reply; 15+ messages in thread
From: Hongtao Liu @ 2021-09-24  1:44 UTC (permalink / raw)
  To: H.J. Lu; +Cc: liuhongt, GCC Patches

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.



-- 
BR,
Hongtao

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH] [GCC12] Mention Intel AVX512-FP16 and _Float16 support.
  2021-09-24  1:41         ` H.J. Lu
@ 2021-09-24  2:04           ` Hongtao Liu
  2021-09-24  2:12             ` H.J. Lu
  2021-10-01 10:13             ` Gerald Pfeifer
  0 siblings, 2 replies; 15+ messages in thread
From: Hongtao Liu @ 2021-09-24  2:04 UTC (permalink / raw)
  To: H.J. Lu; +Cc: liuhongt, GCC Patches

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.



-- 
BR,
Hongtao

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH] [GCC12] Mention Intel AVX512-FP16 and _Float16 support.
  2021-09-24  2:04           ` Hongtao Liu
@ 2021-09-24  2:12             ` H.J. Lu
  2021-10-01 10:13             ` Gerald Pfeifer
  1 sibling, 0 replies; 15+ messages in thread
From: H.J. Lu @ 2021-09-24  2:12 UTC (permalink / raw)
  To: Hongtao Liu; +Cc: liuhongt, GCC Patches

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



-- 
H.J.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH] [GCC12] Mention Intel AVX512-FP16 and _Float16 support.
  2021-09-24  2:04           ` Hongtao Liu
  2021-09-24  2:12             ` H.J. Lu
@ 2021-10-01 10:13             ` Gerald Pfeifer
  2021-10-08  1:25               ` Hongtao Liu
  1 sibling, 1 reply; 15+ messages in thread
From: Gerald Pfeifer @ 2021-10-01 10:13 UTC (permalink / raw)
  To: Hongtao Liu; +Cc: H.J. Lu, liuhongt, gcc-patches

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

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH] [GCC12] Mention Intel AVX512-FP16 and _Float16 support.
  2021-10-01 10:13             ` Gerald Pfeifer
@ 2021-10-08  1:25               ` Hongtao Liu
  2023-01-28 12:40                 ` Gerald Pfeifer
  0 siblings, 1 reply; 15+ messages in thread
From: Hongtao Liu @ 2021-10-08  1:25 UTC (permalink / raw)
  To: Gerald Pfeifer; +Cc: H.J. Lu, liuhongt, GCC Patches

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



-- 
BR,
Hongtao

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH] [GCC12] Mention Intel AVX512-FP16 and _Float16 support.
  2021-10-08  1:25               ` Hongtao Liu
@ 2023-01-28 12:40                 ` Gerald Pfeifer
  2023-01-29  1:20                   ` [PATCH] Change AVX512FP16 to AVX512-FP16 in the document liuhongt
  2023-01-29  1:23                   ` [PATCH] Change AVX512FP16 to AVX512-FP16 which is official name liuhongt
  0 siblings, 2 replies; 15+ messages in thread
From: Gerald Pfeifer @ 2023-01-28 12:40 UTC (permalink / raw)
  To: Hongtao Liu; +Cc: H.J. Lu, liuhongt, gcc-patches

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

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [PATCH] Change AVX512FP16 to AVX512-FP16 in the document.
  2023-01-28 12:40                 ` Gerald Pfeifer
@ 2023-01-29  1:20                   ` liuhongt
  2023-01-29  9:55                     ` Gerald Pfeifer
  2023-01-29  1:23                   ` [PATCH] Change AVX512FP16 to AVX512-FP16 which is official name liuhongt
  1 sibling, 1 reply; 15+ messages in thread
From: liuhongt @ 2023-01-29  1:20 UTC (permalink / raw)
  To: gcc-patches; +Cc: gerald

The official name is AVX512-FP16.

Ready to push to trunk.

gcc/ChangeLog:

	* config/i386/i386.opt: Change AVX512FP16 to AVX512-FP16.
	* doc/invoke.texi: Ditto.
---
 gcc/config/i386/i386.opt | 2 +-
 gcc/doc/invoke.texi      | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/gcc/config/i386/i386.opt b/gcc/config/i386/i386.opt
index feeb7dee9cc..7d57f617d65 100644
--- a/gcc/config/i386/i386.opt
+++ b/gcc/config/i386/i386.opt
@@ -1209,7 +1209,7 @@ Support MWAIT and MONITOR built-in functions and code generation.
 
 mavx512fp16
 Target Mask(ISA2_AVX512FP16) Var(ix86_isa_flags2) Save
-Support MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, AVX, AVX2, AVX512F and AVX512FP16 built-in functions and code generation.
+Support MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, AVX, AVX2, AVX512F and AVX512-FP16 built-in functions and code generation.
 
 mdirect-extern-access
 Target Var(ix86_direct_extern_access) Init(1)
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index a371cd91ef8..3d059467690 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -32336,7 +32336,7 @@ AES, CLFLUSHOPT, XSAVEC, XSAVES, SGX, AVX512F, AVX512VL, AVX512BW, AVX512DQ,
 AVX512CD, PKU, AVX512VBMI, AVX512IFMA, SHA, AVX512VNNI, GFNI, VAES, AVX512VBMI2,
 VPCLMULQDQ, AVX512BITALG, RDPID, AVX512VPOPCNTDQ, PCONFIG, WBNOINVD, CLWB,
 MOVDIRI, MOVDIR64B, ENQCMD, CLDEMOTE, PTWRITE, WAITPKG, SERIALIZE, TSXLDTRK,
-UINTR, AMX-BF16, AMX-TILE, AMX-INT8, AVX-VNNI, AVX512FP16 and AVX512BF16
+UINTR, AMX-BF16, AMX-TILE, AMX-INT8, AVX-VNNI, AVX512-FP16 and AVX512BF16
 instruction set support.
 
 @item alderlake
@@ -32363,7 +32363,7 @@ AES, CLFLUSHOPT, XSAVEC, XSAVES, SGX, AVX512F, AVX512VL, AVX512BW, AVX512DQ,
 AVX512CD, PKU, AVX512VBMI, AVX512IFMA, SHA, AVX512VNNI, GFNI, VAES, AVX512VBMI2,
 VPCLMULQDQ, AVX512BITALG, RDPID, AVX512VPOPCNTDQ, PCONFIG, WBNOINVD, CLWB,
 MOVDIRI, MOVDIR64B, AVX512VP2INTERSECT, ENQCMD, CLDEMOTE, PTWRITE, WAITPKG,
-SERIALIZE, TSXLDTRK, UINTR, AMX-BF16, AMX-TILE, AMX-INT8, AVX-VNNI, AVX512FP16,
+SERIALIZE, TSXLDTRK, UINTR, AMX-BF16, AMX-TILE, AMX-INT8, AVX-VNNI, AVX512-FP16,
 AVX512BF16, AMX-FP16 and PREFETCHI instruction set support.
 
 @item k6
@@ -33229,7 +33229,7 @@ WBNOINVD, FMA4, PREFETCHW, RDPID, PREFETCHWT1, RDSEED, SGX, XOP, LWP,
 XSAVEOPT, XSAVEC, XSAVES, RTM, HLE, TBM, MWAITX, CLZERO, PKU, AVX512VBMI2,
 GFNI, VAES, WAITPKG, VPCLMULQDQ, AVX512BITALG, MOVDIRI, MOVDIR64B, AVX512BF16,
 ENQCMD, AVX512VPOPCNTDQ, AVX5124FMAPS, AVX512VNNI, AVX5124VNNIW, SERIALIZE,
-UINTR, HRESET, AMXTILE, AMXINT8, AMXBF16, KL, WIDEKL, AVXVNNI, AVX512FP16,
+UINTR, HRESET, AMXTILE, AMXINT8, AMXBF16, KL, WIDEKL, AVXVNNI, AVX512-FP16,
 AVXIFMA, AVXVNNIINT8, AVXNECONVERT, CMPCCXADD, AMX-FP16, PREFETCHI, RAOINT or
 CLDEMOTE extended instruction sets. Each has a corresponding @option{-mno-}
 option to disable use of these instructions.
-- 
2.31.1


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [PATCH] Change AVX512FP16 to AVX512-FP16 which is official name.
  2023-01-28 12:40                 ` Gerald Pfeifer
  2023-01-29  1:20                   ` [PATCH] Change AVX512FP16 to AVX512-FP16 in the document liuhongt
@ 2023-01-29  1:23                   ` liuhongt
  2023-01-29  9:55                     ` Gerald Pfeifer
  1 sibling, 1 reply; 15+ messages in thread
From: liuhongt @ 2023-01-29  1:23 UTC (permalink / raw)
  To: gcc-patches; +Cc: gerald

Ready to push to trunk.

---
 htdocs/gcc-12/changes.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/htdocs/gcc-12/changes.html b/htdocs/gcc-12/changes.html
index 30fa4d6e..49055ffe 100644
--- a/htdocs/gcc-12/changes.html
+++ b/htdocs/gcc-12/changes.html
@@ -754,7 +754,7 @@ function Multiply (S1, S2 : Sign) return Sign is
 <h3 id="x86">IA-32/x86-64</h3>
 <ul>
   <li>New ISA extension support for Intel AVX512-FP16 was added.
-      AVX512FP16 intrinsics are available via the <code>-mavx512fp16</code>
+      AVX512-FP16 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
-- 
2.31.1


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH] Change AVX512FP16 to AVX512-FP16 in the document.
  2023-01-29  1:20                   ` [PATCH] Change AVX512FP16 to AVX512-FP16 in the document liuhongt
@ 2023-01-29  9:55                     ` Gerald Pfeifer
  0 siblings, 0 replies; 15+ messages in thread
From: Gerald Pfeifer @ 2023-01-29  9:55 UTC (permalink / raw)
  To: liuhongt; +Cc: gcc-patches

On Sun, 29 Jan 2023, liuhongt wrote:
> The official name is AVX512-FP16.
> 
> Ready to push to trunk.
> 
> gcc/ChangeLog:
> 
> 	* config/i386/i386.opt: Change AVX512FP16 to AVX512-FP16.
> 	* doc/invoke.texi: Ditto.

Ok, thank you.

(And okay to backport to older branches as/if you want.)

Gerald

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH] Change AVX512FP16 to AVX512-FP16 which is official name.
  2023-01-29  1:23                   ` [PATCH] Change AVX512FP16 to AVX512-FP16 which is official name liuhongt
@ 2023-01-29  9:55                     ` Gerald Pfeifer
  0 siblings, 0 replies; 15+ messages in thread
From: Gerald Pfeifer @ 2023-01-29  9:55 UTC (permalink / raw)
  To: liuhongt; +Cc: gcc-patches

On Sun, 29 Jan 2023, liuhongt wrote:
> Ready to push to trunk.

Yes, thank you.

Gerald

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2023-01-29  9:56 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-23  5:38 [PATCH] wwwdocs: [GCC12] Mention Intel AVX512-FP16 liuhongt
2021-09-23 20:42 ` Joseph Myers
2021-09-24  1:17   ` [PATCH] [GCC12] Mention Intel AVX512-FP16 and _Float16 support liuhongt
2021-09-24  1:20     ` H.J. Lu
2021-09-24  1:44       ` Hongtao Liu
2021-09-24  1:41         ` H.J. Lu
2021-09-24  2:04           ` Hongtao Liu
2021-09-24  2:12             ` H.J. Lu
2021-10-01 10:13             ` Gerald Pfeifer
2021-10-08  1:25               ` Hongtao Liu
2023-01-28 12:40                 ` Gerald Pfeifer
2023-01-29  1:20                   ` [PATCH] Change AVX512FP16 to AVX512-FP16 in the document liuhongt
2023-01-29  9:55                     ` Gerald Pfeifer
2023-01-29  1:23                   ` [PATCH] Change AVX512FP16 to AVX512-FP16 which is official name liuhongt
2023-01-29  9:55                     ` Gerald Pfeifer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).