diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2012-05-28 16:04:14 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@gcc.gnu.org> | 2012-05-28 16:04:14 +0000 |
commit | c29c10301dbbd5a17925a8b1ec328d9dac9cffd7 (patch) | |
tree | 52d48c389f380b32ef0315e7a0edfe91d071d361 | |
parent | e9d3ef3b2d5103c49e158923dcfda29d9d8f5110 (diff) | |
download | gcc-c29c10301dbbd5a17925a8b1ec328d9dac9cffd7.zip gcc-c29c10301dbbd5a17925a8b1ec328d9dac9cffd7.tar.gz gcc-c29c10301dbbd5a17925a8b1ec328d9dac9cffd7.tar.bz2 |
* doc/md.texi (Standard Names): Fix typos in documentation for atomic patterns.
From-SVN: r187935
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/doc/md.texi | 6 |
2 files changed, 6 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9c98157..80da94d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,7 +1,8 @@ 2012-05-28 Hans-Peter Nilsson <hp@axis.com> - * doc/md.texi (stack_protect_test): Remove negation of - branch to label. + * doc/md.texi (stack_protect_test): Remove negation of branch to + label. + (Standard Names): Fix typos in documentation for atomic patterns. 2012-05-27 Nathan Sidwell <nathan@acm.org> diff --git a/gcc/doc/md.texi b/gcc/doc/md.texi index be6df9b..f46bc20 100644 --- a/gcc/doc/md.texi +++ b/gcc/doc/md.texi @@ -5885,7 +5885,7 @@ from a compare-and-swap operation, if defined. @itemx @samp{sync_old_ior@var{mode}}, @samp{sync_old_and@var{mode}} @itemx @samp{sync_old_xor@var{mode}}, @samp{sync_old_nand@var{mode}} -These patterns are emit code for an atomic operation on memory, +These patterns emit code for an atomic operation on memory, and return the value that the memory contained before the operation. Operand 0 is the result value, operand 1 is the memory on which the atomic operation is performed, and operand 2 is the second operand @@ -6037,7 +6037,7 @@ performed. Operand 1 is the second operand to the binary operator. Operand 2 is the memory model to be used by the operation. If these patterns are not defined, attempts will be made to use legacy -@code{sync} patterns, or equivilent patterns which return a result. If +@code{sync} patterns, or equivalent patterns which return a result. If none of these are available a compare-and-swap loop will be used. @cindex @code{atomic_fetch_add@var{mode}} instruction pattern @@ -6079,7 +6079,7 @@ performed. Operand 2 is the second operand to the binary operator. Operand 3 is the memory model to be used by the operation. If these patterns are not defined, attempts will be made to use legacy -@code{sync} patterns, or equivilent patterns which return the result before +@code{sync} patterns, or equivalent patterns which return the result before the operation followed by the arithmetic operation required to produce the result. If none of these are available a compare-and-swap loop will be used. |