From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 65133 invoked by alias); 1 Feb 2017 17:26:09 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 65123 invoked by uid 89); 1 Feb 2017 17:26:08 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=H*f:sk:1485802, H*i:sk:1485802, H*MI:sk:1485802 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 01 Feb 2017 17:26:08 +0000 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id CD5D9C04BD26; Wed, 1 Feb 2017 17:26:07 +0000 (UTC) Received: from ovpn-117-112.ams2.redhat.com (ovpn-117-112.ams2.redhat.com [10.36.117.112]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id v11HQ40H031606 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 1 Feb 2017 12:26:06 -0500 Message-ID: <1485969964.3261.70.camel@redhat.com> Subject: Re: [PATCH] Fix __atomic to not implement atomic loads with CAS. From: Torvald Riegel To: GCC Patches Cc: Richard Henderson , Jakub Jelinek , Szabolcs Nagy Date: Wed, 01 Feb 2017 17:26:00 -0000 In-Reply-To: <1485802440.16721.118.camel@redhat.com> References: <1485802440.16721.118.camel@redhat.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2017-02/txt/msg00078.txt.bz2 On Mon, 2017-01-30 at 19:54 +0100, Torvald Riegel wrote: > This patch fixes the __atomic builtins to not implement supposedly > lock-free atomic loads based on just a compare-and-swap operation. After an off-list OK by Jakub, I have committed this as r245098. Jakub will take care of the OpenMP side in a follow-up patch.