aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorliuhongt <hongtao.liu@intel.com>2021-09-24 10:03:20 +0800
committerliuhongt <hongtao.liu@intel.com>2021-09-26 09:04:41 +0800
commite98e12c40bf3b2d37c3d9acb914fef495c704da5 (patch)
treed0ab639cae2974574020d82fa5fc4594baebafa6 /gcc
parentf5ef07a32280ac2adaf4d9b73982fc16a5bb5218 (diff)
downloadgcc-e98e12c40bf3b2d37c3d9acb914fef495c704da5.zip
gcc-e98e12c40bf3b2d37c3d9acb914fef495c704da5.tar.gz
gcc-e98e12c40bf3b2d37c3d9acb914fef495c704da5.tar.bz2
Remove storage only description for _Float16 w/o avx512fp16.
gcc/ChangeLog: * doc/extend.texi (Half-Precision): Remove storage only description for _Float16 w/o avx512fp16.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/doc/extend.texi11
1 files changed, 5 insertions, 6 deletions
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index 63be63f..b4c5376 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