aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/doc/md.texi2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 7e2025a..f65ed23 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2005-12-06 Adrian Straetling <straetling@de.ibm.com>
+
+ * doc/md.texi: Adapt to implementation.
+
2005-12-06 Andreas Schwab <schwab@suse.de>
* opts.c (decode_options): Fix typo in message.
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