]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
doc: Standardize on "bitwise" and "elementwise"
authorGerald Pfeifer <gerald@pfeifer.com>
Thu, 25 Sep 2025 22:09:32 +0000 (00:09 +0200)
committerGerald Pfeifer <gerald@pfeifer.com>
Thu, 25 Sep 2025 22:09:32 +0000 (00:09 +0200)
...over "bit-wise" and "element-wise".

gcc:
* doc/invoke.texi (Warning Options): Use "bitwise" over
"bit-wise".
* doc/extend.texi (Vector Extensions): Use "elementwise"
over "element-wise".
* doc/md.texi (Standard Names): Ditto.

gcc/doc/extend.texi
gcc/doc/invoke.texi
gcc/doc/md.texi

index d6a2f724cabc837f86de3b1f042d7d9745c72ffd..7f01f2cb7b884577d8ece81893283f1c7f7fa025 100644 (file)
@@ -16529,7 +16529,7 @@ result of the comparison is a vector of the same width and number of
 elements as the comparison operands with a signed integral element
 type.
 
-Vectors are compared element-wise producing 0 when the comparison is false
+Vectors are compared elementwise producing 0 when the comparison is false
 and -1 (a constant of the appropriate type where all bits are set)
 otherwise. Consider the following example:
 
index e1bf45aaf4e55b36709a634d0bebf1cd9f8df03a..cea83f62c5f037da361ec8d841ecb7c9337165f9 100644 (file)
@@ -10136,7 +10136,7 @@ void h (char *s)
 @opindex Wno-date-time
 @item -Wdate-time
 Warn when macros @code{__TIME__}, @code{__DATE__} or @code{__TIMESTAMP__}
-are encountered as they might prevent bit-wise-identical reproducible
+are encountered as they might prevent bitwise-identical reproducible
 compilations.
 
 @opindex Wempty-body
@@ -10376,7 +10376,7 @@ enabled by default.
 @item -Wlogical-op
 Warn about suspicious uses of logical operators in expressions.
 This includes using logical operators in contexts where a
-bit-wise operator is likely to be expected.  Also warns when
+bitwise operator is likely to be expected.  Also warns when
 the operands of a logical operator are the same:
 @smallexample
 extern int a;
index bac22b6338042a5a546db7854988eab628f08eea..44e1149bea89b18903061713e8319d834b76adbf 100644 (file)
@@ -5330,7 +5330,7 @@ The split is possible in this case if:
 @item @samp{vec_cmp@var{m}@var{n}}
 Output a vector comparison.  Operand 0 of mode @var{n} is the destination for
 predicate in operand 1 which is a signed vector comparison with operands of
-mode @var{m} in operands 2 and 3.  Predicate is computed by element-wise
+mode @var{m} in operands 2 and 3.  Predicate is computed by elementwise
 evaluation of the vector comparison with a truth value of all-ones and a false
 value of all-zeros.