From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5816 invoked by alias); 6 Dec 2001 21:29:51 -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 5762 invoked from network); 6 Dec 2001 21:29:48 -0000 Received: from unknown (HELO web11401.mail.yahoo.com) (216.136.131.231) by sources.redhat.com with SMTP; 6 Dec 2001 21:29:48 -0000 Message-ID: <20011206212947.86162.qmail@web11401.mail.yahoo.com> Received: from [199.246.40.54] by web11401.mail.yahoo.com via HTTP; Thu, 06 Dec 2001 13:29:47 PST Date: Thu, 06 Dec 2001 14:05:00 -0000 From: Rayson Ho Subject: instruction sync -- need to preserve order To: gcc@gcc.gnu.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2001-12/txt/msg00311.txt.bz2 Hi, How can I make sure that gcc does not schedule instructions across a memory barrier?? I am porting a threads library from AIX to PPC Linux, and on AIX, the compiler has a build-in instruction that allows me to do that. Thanks, Rayson __________________________________________________ Do You Yahoo!? Send your FREE holiday greetings online! http://greetings.yahoo.com