public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [wwwdocs] [GCC13] Mention Intel __bf16 support in AVX512BF16 intrinsics.
       [not found] <20221101011756.3818109-1-lingling.kong@intel.com>
@ 2022-11-01  1:20 ` Kong, Lingling
  2022-11-01  1:28   ` Hongtao Liu
  0 siblings, 1 reply; 5+ messages in thread
From: Kong, Lingling @ 2022-11-01  1:20 UTC (permalink / raw)
  To: gcc-patches; +Cc: Liu, Hongtao

Hi

The patch is for mention Intel __bf16 support in AVX512BF16 intrinsics.
Ok for master ?

Thanks,
Lingling

---
 htdocs/gcc-13/changes.html | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/htdocs/gcc-13/changes.html b/htdocs/gcc-13/changes.html index 7c6bfa6e..cd0282f1 100644
--- a/htdocs/gcc-13/changes.html
+++ b/htdocs/gcc-13/changes.html
@@ -230,6 +230,8 @@ a work-in-progress.</p>
   <li>For both C and C++ the <code>__bf16</code> type is supported on
       x86 systems with SSE2 and above enabled.
   </li>
+  <li>Use <code>__bf16</code> type for AVX512BF16 intrinsics.
+  </li>
 </ul>
 
 <!-- <h3 id="mips">MIPS</h3> -->
--
2.18.2


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

* Re: [wwwdocs] [GCC13] Mention Intel __bf16 support in AVX512BF16 intrinsics.
  2022-11-01  1:20 ` [wwwdocs] [GCC13] Mention Intel __bf16 support in AVX512BF16 intrinsics Kong, Lingling
@ 2022-11-01  1:28   ` Hongtao Liu
  2022-11-02  2:15     ` Kong, Lingling
  0 siblings, 1 reply; 5+ messages in thread
From: Hongtao Liu @ 2022-11-01  1:28 UTC (permalink / raw)
  To: Kong, Lingling; +Cc: gcc-patches, Liu, Hongtao

On Tue, Nov 1, 2022 at 9:21 AM Kong, Lingling via Gcc-patches
<gcc-patches@gcc.gnu.org> wrote:
>
> Hi
>
> The patch is for mention Intel __bf16 support in AVX512BF16 intrinsics.
> Ok for master ?
>
> Thanks,
> Lingling
>
> ---
>  htdocs/gcc-13/changes.html | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/htdocs/gcc-13/changes.html b/htdocs/gcc-13/changes.html index 7c6bfa6e..cd0282f1 100644
> --- a/htdocs/gcc-13/changes.html
> +++ b/htdocs/gcc-13/changes.html
> @@ -230,6 +230,8 @@ a work-in-progress.</p>
>    <li>For both C and C++ the <code>__bf16</code> type is supported on
>        x86 systems with SSE2 and above enabled.
>    </li>
> +  <li>Use <code>__bf16</code> type for AVX512BF16 intrinsics.
Could you add more explanations. Like originally it's ..., now it's
..., and what's the difference when users compile the same source
code(which contains avx512bf16 intrinsics) with gcc12(and before) and
GCC13.
> +  </li>
>  </ul>
>
>  <!-- <h3 id="mips">MIPS</h3> -->
> --
> 2.18.2
>


-- 
BR,
Hongtao

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

* RE: [wwwdocs] [GCC13] Mention Intel __bf16 support in AVX512BF16 intrinsics.
  2022-11-01  1:28   ` Hongtao Liu
@ 2022-11-02  2:15     ` Kong, Lingling
  2022-11-03  6:52       ` Kong, Lingling
  0 siblings, 1 reply; 5+ messages in thread
From: Kong, Lingling @ 2022-11-02  2:15 UTC (permalink / raw)
  To: Hongtao Liu; +Cc: gcc-patches, Liu, Hongtao

> > diff --git a/htdocs/gcc-13/changes.html b/htdocs/gcc-13/changes.html
> > index 7c6bfa6e..cd0282f1 100644
> > --- a/htdocs/gcc-13/changes.html
> > +++ b/htdocs/gcc-13/changes.html
> > @@ -230,6 +230,8 @@ a work-in-progress.</p>
> >    <li>For both C and C++ the <code>__bf16</code> type is supported on
> >        x86 systems with SSE2 and above enabled.
> >    </li>
> > +  <li>Use <code>__bf16</code> type for AVX512BF16 intrinsics.
> Could you add more explanations. Like originally it's ..., now it's ..., and what's
> the difference when users compile the same source code(which contains
> avx512bf16 intrinsics) with gcc12(and before) and GCC13.
> > +  </li>
> >  </ul>
> >
> >  <!-- <h3 id="mips">MIPS</h3> -->
> > --
> > 2.18.2
> >
Yes,  changed it. Thanks a lot!

Subject: [PATCH] Mention Intel __bf16 support in AVX512BF16 intrinsics.

---
 htdocs/gcc-13/changes.html | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/htdocs/gcc-13/changes.html b/htdocs/gcc-13/changes.html
index 7c6bfa6e..a35f4fab 100644
--- a/htdocs/gcc-13/changes.html
+++ b/htdocs/gcc-13/changes.html
@@ -230,6 +230,12 @@ a work-in-progress.</p>
   <li>For both C and C++ the <code>__bf16</code> type is supported on
       x86 systems with SSE2 and above enabled.
   </li>
+  <li>Use <code>__bf16</code> type for AVX512BF16 intrinsics. Previously we use
+  short to represent bf16. Now we introduced <code>__bf16</code> to x86 psABI.
+  So we switch intrinsics in AVX512BF16 to the new type <code>__bf16</code>.
+  When users compile the same source code contains AVX512BF16 intrinsics with
+  GCC13 need to support SSE2, which is different to GCC12 (and before).
+  </li>
 </ul>

 <!-- <h3 id="mips">MIPS</h3> -->
--
2.18.2

BRs,
Lingling

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

* RE: [wwwdocs] [GCC13] Mention Intel __bf16 support in AVX512BF16 intrinsics.
  2022-11-02  2:15     ` Kong, Lingling
@ 2022-11-03  6:52       ` Kong, Lingling
  2022-11-03  7:57         ` Hongtao Liu
  0 siblings, 1 reply; 5+ messages in thread
From: Kong, Lingling @ 2022-11-03  6:52 UTC (permalink / raw)
  To: Kong, Lingling, Hongtao Liu; +Cc: Liu, Hongtao, gcc-patches

> > > diff --git a/htdocs/gcc-13/changes.html b/htdocs/gcc-13/changes.html
> > > index 7c6bfa6e..cd0282f1 100644
> > > --- a/htdocs/gcc-13/changes.html
> > > +++ b/htdocs/gcc-13/changes.html
> > > @@ -230,6 +230,8 @@ a work-in-progress.</p>
> > >    <li>For both C and C++ the <code>__bf16</code> type is supported on
> > >        x86 systems with SSE2 and above enabled.
> > >    </li>
> > > +  <li>Use <code>__bf16</code> type for AVX512BF16 intrinsics.
> > Could you add more explanations. Like originally it's ..., now it's
> > ..., and what's the difference when users compile the same source
> > code(which contains
> > avx512bf16 intrinsics) with gcc12(and before) and GCC13.
> > > +  </li>
> > >  </ul>
> > >
> > >  <!-- <h3 id="mips">MIPS</h3> -->
> > > --
> > > 2.18.2
> > >
> Yes,  changed it. Thanks a lot!
> 
> Subject: [PATCH] Mention Intel __bf16 support in AVX512BF16 intrinsics.
> 
> ---
>  htdocs/gcc-13/changes.html | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/htdocs/gcc-13/changes.html b/htdocs/gcc-13/changes.html index
> 7c6bfa6e..a35f4fab 100644
> --- a/htdocs/gcc-13/changes.html
> +++ b/htdocs/gcc-13/changes.html
> @@ -230,6 +230,12 @@ a work-in-progress.</p>
>    <li>For both C and C++ the <code>__bf16</code> type is supported on
>        x86 systems with SSE2 and above enabled.
>    </li>
> +  <li>Use <code>__bf16</code> type for AVX512BF16 intrinsics.
> + Previously we use  short to represent bf16. Now we introduced
> <code>__bf16</code> to x86 psABI.
> +  So we switch intrinsics in AVX512BF16 to the new type <code>__bf16</code>.
> +  When users compile the same source code contains AVX512BF16
> + intrinsics with
> +  GCC13 need to support SSE2, which is different to GCC12 (and before).
> +  </li>
>  </ul>
> 
>  <!-- <h3 id="mips">MIPS</h3> -->
> --
> 2.18.2
> 
> BRs,
> Lingling

Sorry, modified again. New patch is as below.

htdocs/gcc-13/changes.html | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/htdocs/gcc-13/changes.html b/htdocs/gcc-13/changes.html index 7c6bfa6e..7a5d2ab6 100644
--- a/htdocs/gcc-13/changes.html
+++ b/htdocs/gcc-13/changes.html
@@ -230,6 +230,11 @@ a work-in-progress.</p>
   <li>For both C and C++ the <code>__bf16</code> type is supported on
       x86 systems with SSE2 and above enabled.
   </li>
+  <li>Use real <code>__bf16</code> type for AVX512BF16 intrinsics. 
+ Previously  we use __bfloat16 which is typedef of short. Now we 
+ introduced real  <code>__bf16</code> type to x86 psABI. Users need to 
+ adjust their  AVX512BF16-related source code when upgrading GCC12 to GCC13.
+  </li>
 </ul>
 
 <!-- <h3 id="mips">MIPS</h3> -->
--
2.18.2

BRs,
Lingling

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

* Re: [wwwdocs] [GCC13] Mention Intel __bf16 support in AVX512BF16 intrinsics.
  2022-11-03  6:52       ` Kong, Lingling
@ 2022-11-03  7:57         ` Hongtao Liu
  0 siblings, 0 replies; 5+ messages in thread
From: Hongtao Liu @ 2022-11-03  7:57 UTC (permalink / raw)
  To: Kong, Lingling; +Cc: Liu, Hongtao, gcc-patches

On Thu, Nov 3, 2022 at 2:53 PM Kong, Lingling <lingling.kong@intel.com> wrote:
>
> > > > diff --git a/htdocs/gcc-13/changes.html b/htdocs/gcc-13/changes.html
> > > > index 7c6bfa6e..cd0282f1 100644
> > > > --- a/htdocs/gcc-13/changes.html
> > > > +++ b/htdocs/gcc-13/changes.html
> > > > @@ -230,6 +230,8 @@ a work-in-progress.</p>
> > > >    <li>For both C and C++ the <code>__bf16</code> type is supported on
> > > >        x86 systems with SSE2 and above enabled.
> > > >    </li>
> > > > +  <li>Use <code>__bf16</code> type for AVX512BF16 intrinsics.
> > > Could you add more explanations. Like originally it's ..., now it's
> > > ..., and what's the difference when users compile the same source
> > > code(which contains
> > > avx512bf16 intrinsics) with gcc12(and before) and GCC13.
> > > > +  </li>
> > > >  </ul>
> > > >
> > > >  <!-- <h3 id="mips">MIPS</h3> -->
> > > > --
> > > > 2.18.2
> > > >
> > Yes,  changed it. Thanks a lot!
> >
> > Subject: [PATCH] Mention Intel __bf16 support in AVX512BF16 intrinsics.
> >
> > ---
> >  htdocs/gcc-13/changes.html | 6 ++++++
> >  1 file changed, 6 insertions(+)
> >
> > diff --git a/htdocs/gcc-13/changes.html b/htdocs/gcc-13/changes.html index
> > 7c6bfa6e..a35f4fab 100644
> > --- a/htdocs/gcc-13/changes.html
> > +++ b/htdocs/gcc-13/changes.html
> > @@ -230,6 +230,12 @@ a work-in-progress.</p>
> >    <li>For both C and C++ the <code>__bf16</code> type is supported on
> >        x86 systems with SSE2 and above enabled.
> >    </li>
> > +  <li>Use <code>__bf16</code> type for AVX512BF16 intrinsics.
> > + Previously we use  short to represent bf16. Now we introduced
> > <code>__bf16</code> to x86 psABI.
> > +  So we switch intrinsics in AVX512BF16 to the new type <code>__bf16</code>.
> > +  When users compile the same source code contains AVX512BF16
> > + intrinsics with
> > +  GCC13 need to support SSE2, which is different to GCC12 (and before).
> > +  </li>
> >  </ul>
> >
> >  <!-- <h3 id="mips">MIPS</h3> -->
> > --
> > 2.18.2
> >
> > BRs,
> > Lingling
>
> Sorry, modified again. New patch is as below.
Ok, thanks.
>
> htdocs/gcc-13/changes.html | 5 +++++
>  1 file changed, 5 insertions(+)
>
> diff --git a/htdocs/gcc-13/changes.html b/htdocs/gcc-13/changes.html index 7c6bfa6e..7a5d2ab6 100644
> --- a/htdocs/gcc-13/changes.html
> +++ b/htdocs/gcc-13/changes.html
> @@ -230,6 +230,11 @@ a work-in-progress.</p>
>    <li>For both C and C++ the <code>__bf16</code> type is supported on
>        x86 systems with SSE2 and above enabled.
>    </li>
> +  <li>Use real <code>__bf16</code> type for AVX512BF16 intrinsics.
> + Previously  we use __bfloat16 which is typedef of short. Now we
> + introduced real  <code>__bf16</code> type to x86 psABI. Users need to
> + adjust their  AVX512BF16-related source code when upgrading GCC12 to GCC13.
> +  </li>
>  </ul>
>
>  <!-- <h3 id="mips">MIPS</h3> -->
> --
> 2.18.2
>
> BRs,
> Lingling



-- 
BR,
Hongtao

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

end of thread, other threads:[~2022-11-03  7:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20221101011756.3818109-1-lingling.kong@intel.com>
2022-11-01  1:20 ` [wwwdocs] [GCC13] Mention Intel __bf16 support in AVX512BF16 intrinsics Kong, Lingling
2022-11-01  1:28   ` Hongtao Liu
2022-11-02  2:15     ` Kong, Lingling
2022-11-03  6:52       ` Kong, Lingling
2022-11-03  7:57         ` Hongtao Liu

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).