aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2019-05-02 09:57:38 +0200
committerMartin Liska <marxin@gcc.gnu.org>2019-05-02 07:57:38 +0000
commit786e0e5239529de9a4254fe8411a0e8f843e721a (patch)
tree8b319e19012eea14cba954edfd1ac8b95a7a6ff3 /gcc/doc
parent06ceaa1d78d586eba492699075a8dee31ab3a3e8 (diff)
downloadgcc-786e0e5239529de9a4254fe8411a0e8f843e721a.zip
gcc-786e0e5239529de9a4254fe8411a0e8f843e721a.tar.gz
gcc-786e0e5239529de9a4254fe8411a0e8f843e721a.tar.bz2
Prefer to use strlen call instead of inline expansion (PR target/88809).
2019-05-02 Martin Liska <mliska@suse.cz> PR target/88809 * config/i386/i386.c (ix86_expand_strlen): Use strlen call. With -minline-all-stringops use inline expansion using 4B loop. * doc/invoke.texi: Document the change of -minline-all-stringops. 2019-05-02 Martin Liska <mliska@suse.cz> PR target/88809 * gcc.target/i386/pr88809.c: New test. * gcc.target/i386/pr88809-2.c: New test. From-SVN: r270787
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/invoke.texi5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 516eb24..de7e1aa 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -28506,8 +28506,9 @@ By default GCC inlines string operations only when the destination is
known to be aligned to least a 4-byte boundary.
This enables more inlining and increases code
size, but may improve performance of code that depends on fast
-@code{memcpy}, @code{strlen},
-and @code{memset} for short lengths.
+@code{memcpy} and @code{memset} for short lengths.
+The option enables inline expansion of @code{strlen} for all
+pointer alignments.
@item -minline-stringops-dynamically
@opindex minline-stringops-dynamically