public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] [i386] Remove storage only description for _Float16 w/o avx512fp16.
@ 2021-09-25  2:39 liuhongt
  2021-09-25 16:34 ` Jeff Law
  0 siblings, 1 reply; 2+ messages in thread
From: liuhongt @ 2021-09-25  2:39 UTC (permalink / raw)
  To: gcc-patches

[1] https://gcc.gnu.org/pipermail/gcc-patches/2021-September/580207.html

gcc/ChangeLog:

	* doc/extend.texi (Half-Precision): Remove storage only
	description for _Float16 w/o avx512fp16.
---
 gcc/doc/extend.texi | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index 9501a60f20e..79fa1bd4bf8 100644
--- a/gcc/doc/extend.texi
+++ b/gcc/doc/extend.texi
@@ -1156,12 +1156,11 @@ It is recommended that portable code use the @code{_Float16} type defined
 by ISO/IEC TS 18661-3:2015.  @xref{Floating Types}.
 
 On x86 targets with SSE2 enabled, without @option{-mavx512fp16},
-@code{_Float16} type is storage only, all operations will be emulated by
-software emulation and the @code{float} instructions. The default behavior
-for @code{FLT_EVAL_METHOD} is to keep the intermediate result of the operation
-as 32-bit precision. This may lead to inconsistent behavior between software
-emulation and AVX512-FP16 instructions. Using @option{-fexcess-precision=16}
-will force round back after each operation.
+all operations will be emulated by software emulation and the @code{float}
+instructions. The default behavior for @code{FLT_EVAL_METHOD} is to keep the
+intermediate result of the operation as 32-bit precision. This may lead to
+inconsistent behavior between software emulation and AVX512-FP16 instructions.
+Using @option{-fexcess-precision=16} will force round back after each operation.
 
 Using @option{-mavx512fp16} will generate AVX512-FP16 instructions instead of
 software emulation. The default behavior of @code{FLT_EVAL_METHOD} is to round
-- 
2.27.0


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

* Re: [PATCH] [i386] Remove storage only description for _Float16 w/o avx512fp16.
  2021-09-25  2:39 [PATCH] [i386] Remove storage only description for _Float16 w/o avx512fp16 liuhongt
@ 2021-09-25 16:34 ` Jeff Law
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Law @ 2021-09-25 16:34 UTC (permalink / raw)
  To: liuhongt, gcc-patches



On 9/24/2021 8:39 PM, liuhongt via Gcc-patches wrote:
> [1] https://gcc.gnu.org/pipermail/gcc-patches/2021-September/580207.html
>
> gcc/ChangeLog:
>
> 	* doc/extend.texi (Half-Precision): Remove storage only
> 	description for _Float16 w/o avx512fp16.
OK
jeff


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

end of thread, other threads:[~2021-09-25 16:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-25  2:39 [PATCH] [i386] Remove storage only description for _Float16 w/o avx512fp16 liuhongt
2021-09-25 16:34 ` Jeff Law

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