diff options
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/doc/invoke.texi | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 23ce209a0bc..360c28237dd 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2016-01-03 Vladimír Čunát <vcunat@gmail.com> + + * doc/invoke.texi (RS/6000 and PowerPC Options): Fix + -finite-math typo. + (x86 Options): Likewise. + 2016-01-01 Sandra Loosemore <sandra@codesourcery.com> PR 1078 diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 642b1287a65..57a39bb692a 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -20374,7 +20374,7 @@ Newton-Raphson steps to increase precision instead of doing a divide or square root and divide for floating-point arguments. You should use the @option{-ffast-math} option when using @option{-mrecip} (or at least @option{-funsafe-math-optimizations}, -@option{-finite-math-only}, @option{-freciprocal-math} and +@option{-ffinite-math-only}, @option{-freciprocal-math} and @option{-fno-trapping-math}). Note that while the throughput of the sequence is generally higher than the throughput of the non-reciprocal instruction, the precision of the sequence can be decreased by up to 2 @@ -23366,7 +23366,7 @@ to increase precision instead of @code{DIVSS} and @code{SQRTSS} (and their vectorized variants) for single-precision floating-point arguments. These instructions are generated only when @option{-funsafe-math-optimizations} is enabled -together with @option{-finite-math-only} and @option{-fno-trapping-math}. +together with @option{-ffinite-math-only} and @option{-fno-trapping-math}. Note that while the throughput of the sequence is higher than the throughput of the non-reciprocal instruction, the precision of the sequence can be decreased by up to 2 ulp (i.e. the inverse of 1.0 equals 0.99999994). |