From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2623 invoked by alias); 15 Jan 2013 21:06:46 -0000 Received: (qmail 2614 invoked by uid 22791); 15 Jan 2013 21:06:45 -0000 X-SWARE-Spam-Status: No, hits=-6.9 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,SPF_HELO_PASS,TW_ZJ 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; Tue, 15 Jan 2013 21:06:00 +0000 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r0FL60UB022498 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 15 Jan 2013 16:06:00 -0500 Received: from anchor.twiddle.home (vpn-225-134.phx2.redhat.com [10.3.225.134]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r0FL5xld016739; Tue, 15 Jan 2013 16:06:00 -0500 Message-ID: <50F5C4B7.6080007@redhat.com> Date: Tue, 15 Jan 2013 21:06:00 -0000 From: Richard Henderson User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Uros Bizjak CC: gcc-patches@gcc.gnu.org Subject: Re: [PATCH, RFA]: Properly mask memory model argument with MEMMODEL_MASK References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 X-SW-Source: 2013-01/txt/msg00805.txt.bz2 On 01/15/2013 12:09 AM, Uros Bizjak wrote: > 2013-01-15 Uros Bizjak > > * emit-rtl.c (need_atomic_barrier_p): Mask memory model argument > with MEMMODEL_MASK before comparing with MEMMODEL_* memory types. > * optabs.c (maybe_emit_sync_lock_test_and_set): Ditto. > (expand_mem_thread_fence): Ditto. > (expand_mem_signal_fence): Ditto. > (expand_atomic_load): Ditto. > (expand_atomic_store): Ditto. Ok. r~