From mboxrd@z Thu Jan 1 00:00:00 1970
Return-Path:
Received: from mail-pf1-x436.google.com (mail-pf1-x436.google.com
[IPv6:2607:f8b0:4864:20::436])
by sourceware.org (Postfix) with ESMTPS id DC1553858D29
for ; Fri, 24 Sep 2021 02:13:00 +0000 (GMT)
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org DC1553858D29
Received: by mail-pf1-x436.google.com with SMTP id 203so7466967pfy.13
for ; Thu, 23 Sep 2021 19:13:00 -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=87HpaXiyuCPUghENlvhW6frp4RBebbR8jCeoHN9mr1s=;
b=kbf5b+ZShs8tAW+jRe63Aow9Ef7VJkmPdPc9HCUzhsgTiksJrV+eGq8ays6Sh4Ya60
L+JagONqBHdf1rVZs8UUCEjXJDwjnvZA8W9D5NcaVcQZtYAyrf7zRdcrwAKxP5EA0mnD
dIaXQx5ok/rtLmlq6gDnBF/iDzfk04G2JogTTY2NE/aqHaJ/NnEEdUlO1Li0OXFdrZVk
nJWdalNzAF47daCJzb5xr5G/iwA9iPevxSKyWrh04jVfUNf0aB+MBvqabS+Xlwef1qQ/
ZlwjNlSzBJFS0iifmflC5/ILq6ZZnUv0xM0rLHFuARVrVR2OvY8XCbBSvscDykhgaWhI
CtUw==
X-Gm-Message-State: AOAM532mfv/9TvfyT/ynhvYtYUtVWeo7Rop0O8gky208P3T6dQTVtriQ
Ab2zpO3U1scG06oMpqzew1XfNajRPRiUQ6mHZ0E=
X-Google-Smtp-Source: ABdhPJwTHNuHvQKy2I/l2tCDsn/Jn+6jiIqaKm3ObbCBhZs09Yq8BMQLDAfTjuz3+AIjK/oM1UjWLb+PrsXJDvyWo1I=
X-Received: by 2002:a62:2507:0:b0:447:a583:5a88 with SMTP id
l7-20020a622507000000b00447a5835a88mr7372217pfl.43.1632449579679; Thu, 23 Sep
2021 19:12:59 -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 19:12:23 -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.5 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 02:13:05 -0000
On Thu, Sep 23, 2021 at 6:58 PM Hongtao Liu wrote:
>
> On Fri, Sep 24, 2021 at 9:42 AM H.J. Lu wrote:
> >
> > 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".
> Updated.
>
> -
> +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}
,
> + all operations will be emulated by software emulation and the
> + float
instructions.
> +
> +
LGTM.
Thanks.
> >
> > > + 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.
>
>
>
> --
> BR,
> Hongtao
--
H.J.