From mboxrd@z Thu Jan 1 00:00:00 1970
Return-Path:
Received: from mail-vs1-xe2f.google.com (mail-vs1-xe2f.google.com
[IPv6:2607:f8b0:4864:20::e2f])
by sourceware.org (Postfix) with ESMTPS id 50E213858D29
for ; Fri, 24 Sep 2021 01:38:14 +0000 (GMT)
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 50E213858D29
Received: by mail-vs1-xe2f.google.com with SMTP id 66so4476464vsd.11
for ; Thu, 23 Sep 2021 18:38:14 -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=dWT/rvhftm5Jz3eIPuAjMHW+R1G0q3gueSaoxvSG89A=;
b=Kv4GSMvObEpstBNGv+UQShkRc5HiHC5dcL1drg/WU5CugViRwJqKYcOJtQfAb7Aw6B
tolpXf804eHOZc+8LU5JupBrj0Fz9e3f3USd7JyZ7Wg9kxO0NONIlrE2qpBwAyiuzIHD
E9csPJyBhgK9eeBKo9XQ7j6SSuyisSQsKL/YvM+qMweDzkBDNGopXqsbuTNaOAGviN45
waJEDvR/VUnqgqTp78u7Ssxx5LrVXgTmP9NgFrNCLoZCyU5V39QcDeS9GNpSot7I5p+O
SidAEBJx30/oGw5tJgEgz4yQm5iPNym41uwmlP89JzwpV1VUm0gPsvJA32XlfxjSY7CO
EdHg==
X-Gm-Message-State: AOAM531/xCUjAz390tid1adqtB4R+XOc6Rk9Df5zK6GFXI4OzLtLdnRC
unBjP7CkGLxQUhww2KuhmDZFgWxjdGfR4oMYlks=
X-Google-Smtp-Source: ABdhPJzCTvz58LCc2eqVgw437V8ecMoZ3IdFNdBCX4/ioeUYktOXt5jZJX9Ev3fSh/2htZRcHq2cbL2639kqsvK2IDE=
X-Received: by 2002:a05:6102:3f12:: with SMTP id
k18mr7577039vsv.14.1632447493691;
Thu, 23 Sep 2021 18:38:13 -0700 (PDT)
MIME-Version: 1.0
References:
<20210924011730.97039-1-hongtao.liu@intel.com>
In-Reply-To:
From: Hongtao Liu
Date: Fri, 24 Sep 2021 09:44:32 +0800
Message-ID:
Subject: Re: [PATCH] [GCC12] Mention Intel AVX512-FP16 and _Float16 support.
To: "H.J. Lu"
Cc: liuhongt , GCC Patches
Content-Type: text/plain; charset="UTF-8"
X-Spam-Status: No, score=-9.1 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:38:15 -0000
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
+ emulated by software emulation and the float
instructions.
+
> > + emulated by software emulation and the float
instructions.
> > +
> > +
> >
> >
> >
> > --
> > 2.18.1
> >
>
>
> --
> H.J.
--
BR,
Hongtao