diff options
author | Artjoms Sinkarovs <artyom.shinkaroff@gmail.com> | 2011-10-11 16:10:59 +0000 |
---|---|---|
committer | Artjoms Sinkarovs <tema@gcc.gnu.org> | 2011-10-11 16:10:59 +0000 |
commit | cdbb5ba334fc865a1526c78c762ef4f846f575e8 (patch) | |
tree | 5e4c7a723a41eb07f45510f857a8dd2df7d55973 /gcc/doc | |
parent | 945bad22b8b3fd10d1adddafc002223f3ad993b0 (diff) | |
download | gcc-cdbb5ba334fc865a1526c78c762ef4f846f575e8.zip gcc-cdbb5ba334fc865a1526c78c762ef4f846f575e8.tar.gz gcc-cdbb5ba334fc865a1526c78c762ef4f846f575e8.tar.bz2 |
New warning -Wvector-operation-performance.
From-SVN: r179807
Diffstat (limited to 'gcc/doc')
-rw-r--r-- | gcc/doc/invoke.texi | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 6888928..8be5e25 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -271,7 +271,8 @@ Objective-C and Objective-C++ Dialects}. -Wunused-label -Wunused-local-typedefs -Wunused-parameter @gol -Wno-unused-result -Wunused-value @gol -Wunused-variable @gol -Wunused-but-set-parameter -Wunused-but-set-variable @gol --Wvariadic-macros -Wvla -Wvolatile-register-var -Wwrite-strings} +-Wvariadic-macros -Wvector-operation-performance -Wvla +-Wvolatile-register-var -Wwrite-strings} @item C and Objective-C-only Warning Options @gccoptlist{-Wbad-function-cast -Wmissing-declarations @gol @@ -4542,6 +4543,18 @@ Warn if variadic macros are used in pedantic ISO C90 mode, or the GNU alternate syntax when in pedantic ISO C99 mode. This is default. To inhibit the warning messages, use @option{-Wno-variadic-macros}. +@item -Wvector-operation-performance +@opindex Wvector-operation-performance +@opindex Wno-vector-operation-performance +Warn if vector operation is not implemented via SIMD capabilities of the +architecture. Mainly useful for the performance tuning. +Vector operation can be implemented @code{piecewise} which means that the +scalar operation is performed on every vector element; +@code{in parallel} which means that the vector operation is implemented +using scalars of wider type, which normally is more performance efficient; +and @code{as a single scalar} which means that vector fits into a +scalar type. + @item -Wvla @opindex Wvla @opindex Wno-vla |