From patchwork Thu Nov 3 15:58:44 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aldy Hernandez X-Patchwork-Id: 123465 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 6F0B8B6F69 for ; Fri, 4 Nov 2011 02:59:21 +1100 (EST) Received: (qmail 1521 invoked by alias); 3 Nov 2011 15:59:17 -0000 Received: (qmail 1512 invoked by uid 22791); 3 Nov 2011 15:59:16 -0000 X-SWARE-Spam-Status: No, hits=-7.1 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 03 Nov 2011 15:58:45 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id pA3Fwjcn012798 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 3 Nov 2011 11:58:45 -0400 Received: from houston.quesejoda.com (vpn-236-154.phx2.redhat.com [10.3.236.154]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id pA3Fwike010392; Thu, 3 Nov 2011 11:58:45 -0400 Message-ID: <4EB2BA34.9020907@redhat.com> Date: Thu, 03 Nov 2011 10:58:44 -0500 From: Aldy Hernandez User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0) Gecko/20110927 Thunderbird/7.0 MIME-Version: 1.0 To: Richard Henderson , gcc-patches Subject: [trans-mem] document -fgnu-tm 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 It seems we documented libitm, and forgot to document the main switch :). OK for branch? * doc/invoke.texi (C Dialect Options): Document -fgnu-tm. Index: doc/invoke.texi =================================================================== --- doc/invoke.texi (revision 180772) +++ doc/invoke.texi (working copy) @@ -1715,6 +1715,18 @@ Program Interface v3.0 @w{@uref{http://w implies @option{-pthread}, and thus is only supported on targets that have support for @option{-pthread}. +@item -fgnu-tm +@opindex fgnu-tm +When the option @option{-fgnu-tm} is specified, the compiler will +generate code for the Linux variant of Intel's current Transactional +Memory ABI specification document (Revision 1.1, May 6 2009). This is +an experimental feature whose interface may change in future versions +of GCC, as the official specification changes. Please note that not +all architectures are supported for this feature. + +For more information on GCC's support for transactional memory, see +the accompanying documentation for @file{libitm}. + @item -fms-extensions @opindex fms-extensions Accept some non-standard constructs used in Microsoft header files.