From c29c10301dbbd5a17925a8b1ec328d9dac9cffd7 Mon Sep 17 00:00:00 2001 From: Hans-Peter Nilsson Date: Mon, 28 May 2012 16:04:14 +0000 Subject: [PATCH] * doc/md.texi (Standard Names): Fix typos in documentation for atomic patterns. From-SVN: r187935 --- gcc/ChangeLog | 5 +++-- gcc/doc/md.texi | 6 +++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9c98157b9cc..80da94d7253 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,7 +1,8 @@ 2012-05-28 Hans-Peter Nilsson - * 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 diff --git a/gcc/doc/md.texi b/gcc/doc/md.texi index be6df9b4a82..f46bc2023ed 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.