From patchwork Mon May 28 16:04:30 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hans-Peter Nilsson X-Patchwork-Id: 161628 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id 10AFBB6F13 for ; Tue, 29 May 2012 02:04:57 +1000 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1338825899; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Received: Received:Received:Received:Received:Date:Message-Id:From:To: Subject:MIME-Version:Content-Type:Content-Transfer-Encoding: Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:Sender:Delivered-To; bh=JdXBkS7MsiuyOa3nw7OO HgDH84Y=; b=dLcDZN+TLL94yLq5FMB8pw9cMplcub4XSPrZFg8AalqhRBPbVkFi DaPAzCTMwnbt1PgzndhR7ghEj2CJADgCqxroS0OSwjI5pKqSvBEKJxv2FFZqgde9 A97ELj2PNws/BtnTeteMjuKuNkqR0xCURnpwnPW4B4uoYPhG8+3jpNg= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gcc.gnu.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:Received:Received:Received:Received:Received:Date:Message-Id:From:To:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=YS7O8jvBrJT/q82J7y8G8Hv+/iGzSyDAPH6XbePRECDSoNUpqDfuuBH/eYwscL 2HKbf6RPG4MYUSk8RJFVKAvz/8y5AAdnQvztNLPvKAgWQ3XAAvuP+n71PQEsIAnA DOvN7E978F3XOQ0BBkl5z3fZliR1G56lXW/m/zOjRziuU=; Received: (qmail 30287 invoked by alias); 28 May 2012 16:04:52 -0000 Received: (qmail 30262 invoked by uid 22791); 28 May 2012 16:04:48 -0000 X-SWARE-Spam-Status: No, hits=0.6 required=5.0 tests=AWL, BAYES_00, MEDICAL_SUBJECT, T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from anubis.se.axis.com (HELO anubis.se.axis.com) (195.60.68.12) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 28 May 2012 16:04:33 +0000 Received: from localhost (localhost [127.0.0.1]) by anubis.se.axis.com (Postfix) with ESMTP id 3A93E19D7C for ; Mon, 28 May 2012 18:04:31 +0200 (CEST) Received: from anubis.se.axis.com ([127.0.0.1]) by localhost (anubis.se.axis.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id tOB8HlMgfpea for ; Mon, 28 May 2012 18:04:30 +0200 (CEST) Received: from seth.se.axis.com (seth.se.axis.com [10.0.2.172]) by anubis.se.axis.com (Postfix) with ESMTP id 9C85819D7A for ; Mon, 28 May 2012 18:04:30 +0200 (CEST) Received: from ignucius.se.axis.com (ignucius.se.axis.com [10.88.21.50]) by seth.se.axis.com (Postfix) with ESMTP id 7E2563E092; Mon, 28 May 2012 18:04:30 +0200 (CEST) Received: from ignucius.se.axis.com (localhost [127.0.0.1]) by ignucius.se.axis.com (8.12.8p1/8.12.8/Debian-2woody1) with ESMTP id q4SG4Umt002183; Mon, 28 May 2012 18:04:30 +0200 Received: (from hp@localhost) by ignucius.se.axis.com (8.12.8p1/8.12.8/Debian-2woody1) id q4SG4UXC002179; Mon, 28 May 2012 18:04:30 +0200 Date: Mon, 28 May 2012 18:04:30 +0200 Message-Id: <201205281604.q4SG4UXC002179@ignucius.se.axis.com> From: Hans-Peter Nilsson To: gcc-patches@gcc.gnu.org Subject: Committed: typos in atomic patterns docs, md.texi MIME-Version: 1.0 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Committed as obvious. gcc: * doc/md.texi (Standard Names): Fix typos in documentation of atomic patterns. brgds, H-P Index: doc/md.texi =================================================================== --- doc/md.texi (revision 187934) +++ doc/md.texi (working copy) @@ -5885,7 +5885,7 @@ from a compare-and-swap operation, if de @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 oper 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 oper 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.