diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-02-03 14:10:02 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-02-03 14:10:02 +0000 |
commit | 2196a3bb7c4f2f1fdacb2677f8ff140a563424f4 (patch) | |
tree | e836a7b6ad85ed399075edd002c6b38840018694 /gcc/invoke.texi | |
parent | dc76c049c31bf607fdddc7657b3aac6bf2a702d4 (diff) | |
download | gcc-2196a3bb7c4f2f1fdacb2677f8ff140a563424f4.tar.gz |
* i386.md (movstrsi, clrstrsi): Support variable sized copies, align
destination when needed.
(strmovsi, strsetsi): New expander.
(strmovsi_1, strsetsi_1): New pattern.
* i386.h (MASK_NO_ALIGN_STROP, MASK_INLINE_ALL_STROP,
TARGET_ALIGN_STRINGOPS, TARGET_INLINE_ALL_STRINGOPS): New macros.
(TARGET_SWITCHES) Add align-stringops and inline-all-stringops.
* invoke.texi (align-stringops, inline-all-stringops): Document.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31773 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/invoke.texi')
-rw-r--r-- | gcc/invoke.texi | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/gcc/invoke.texi b/gcc/invoke.texi index 549ece17e24..f09ef557762 100644 --- a/gcc/invoke.texi +++ b/gcc/invoke.texi @@ -360,7 +360,7 @@ in the following sections. -mreg-alloc=@var{list} -mregparm=@var{num} -malign-jumps=@var{num} -malign-loops=@var{num} -malign-functions=@var{num} -mpreferred-stack-boundary=@var{num} --mthreads +-mthreads -mno-align-stringops -minline-all-stringops @emph{HPPA Options} -march=@var{architecture type} @@ -5954,6 +5954,19 @@ on thread-safe exception handling must compile and link all code with the @samp{-mthreads} option. When compiling, @samp{-mthreads} defines @samp{-D_MT}; when linking, it links in a special thread helper library @samp{-lmingwthrd} which cleans up per thread exception handling data. + +@item -mno-align-stringops +@kindex -mno-align-stringops +Do not align destination of inlined string operations. This switch reduces +code size and improves performance in case the destination is already aligned, +but gcc don't know about it. + +@item -minline-all-stringops +@kindex -minline-all-stringops +By default GCC inlines string operations only when destination is known to be +aligned at least to 4 byte boundary. This enables more inlining, increase code +size, but may improve performance of code that depends on fast memcpy, strlen +and memset for short lengths. @end table @node HPPA Options |