From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14528 invoked by alias); 16 Mar 2004 17:24:07 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 14508 invoked from network); 16 Mar 2004 17:24:04 -0000 Received: from unknown (HELO mail.codesourcery.com) (65.74.133.6) by sources.redhat.com with SMTP; 16 Mar 2004 17:24:04 -0000 Received: (qmail 24054 invoked from network); 16 Mar 2004 17:24:03 -0000 Received: from taltos.codesourcery.com (zack@66.92.218.83) by mail.codesourcery.com with DES-CBC3-SHA encrypted SMTP; 16 Mar 2004 17:24:03 -0000 Received: by taltos.codesourcery.com (sSMTP sendmail emulation); Tue, 16 Mar 2004 09:24:03 -0800 To: Ian Lance Taylor Cc: Paul Koning , gcc@gcc.gnu.org Subject: Re: GCC Status Report (2004-03-09) References: <200403091809.i29I9P04020607@sirius.codesourcery.com> <200403111030.14616.ebotcazou@act-europe.fr> <40573108.4080602@codesourcery.com> <16471.12911.55000.733792@gargle.gargle.HOWL> From: Zack Weinberg Date: Tue, 16 Mar 2004 17:24:00 -0000 In-Reply-To: (Ian Lance Taylor's message of "16 Mar 2004 12:11:07 -0500") Message-ID: <87oeqw7ljg.fsf@egil.codesourcery.com> User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2004-03/txt/msg00832.txt.bz2 Ian Lance Taylor writes: > Paul Koning writes: >> Perhaps we need asm("":::"barrier")? > > Seconded. For high performance device manipulation, it would be good > to have a way to say "do not schedule instructions across this point" > without also saying "clobber everything". __builtin_fence() (possibly with an argument to request various sorts of memory barriers that various architectures have) seems preferable to me over asm()... zw