aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc/md.texi
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/doc/md.texi')
-rw-r--r--gcc/doc/md.texi2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/doc/md.texi b/gcc/doc/md.texi
index 5bbeaa0..5933cc8 100644
--- a/gcc/doc/md.texi
+++ b/gcc/doc/md.texi
@@ -4200,7 +4200,7 @@ These patterns emit code for an atomic operation on memory.
Operand 0 is the memory on which the atomic operation is performed.
Operand 1 is the second operand to the binary operator.
-The ``nand'' operation is @code{op0 & ~op1}.
+The ``nand'' operation is @code{~op0 & op1}.
This pattern must issue any memory barrier instructions such that all
memory operations before the atomic operation occur before the atomic