From owner-freebsd-arch@FreeBSD.ORG Tue Sep 18 19:01:10 2012 Return-Path: Delivered-To: arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 02950106566B for ; Tue, 18 Sep 2012 19:01:10 +0000 (UTC) (envelope-from jroberson@jroberson.net) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id BF38E8FC08 for ; Tue, 18 Sep 2012 19:01:09 +0000 (UTC) Received: by pbbrp2 with SMTP id rp2so724154pbb.13 for ; Tue, 18 Sep 2012 12:01:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=date:from:x-x-sender:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version:content-type:x-gm-message-state; bh=F5wN393QzZRxNruU2aD3SiXFD8dSUFTqKs883tnyPCI=; b=hupf2KN8f6BxydDDRtsZBwMB+JDxxzas7ra/e3xL/pPiAhRKoNhQx/GpYHzMtY84aV A1esC40XYu2yUZSZ3XGBX0iK8FPydz9Hry6Z1kTnFnhdDAN5naJ5hjCsa6CDPEIHnQlj ASAmgU5JfgWKDwglWstK+EDbSOwNmUmcHRAjjtDBbq3FSlv5CXamqh8cY5Q2wMbb7/68 OEWXUBGRosLe2RlQLb8Z/Qokc/gTK2B4Y67eEFjc8Ogw6oF9TkmMP7eK5ysh4UncRa2y OBDP6ttjGRocMcdKsBCXgmegH0vGh0HANM3q+Qw4P23IhSIK9dCW9c0V87G6Ne9zn1vI RnDw== Received: by 10.68.239.135 with SMTP id vs7mr1211429pbc.38.1347994869294; Tue, 18 Sep 2012 12:01:09 -0700 (PDT) Received: from rrcs-66-91-135-210.west.biz.rr.com (rrcs-66-91-135-210.west.biz.rr.com. [66.91.135.210]) by mx.google.com with ESMTPS id py9sm401310pbb.20.2012.09.18.12.01.07 (version=SSLv3 cipher=OTHER); Tue, 18 Sep 2012 12:01:08 -0700 (PDT) Date: Tue, 18 Sep 2012 09:00:38 -1000 (HST) From: Jeff Roberson X-X-Sender: jroberson@desktop To: Poul-Henning Kamp In-Reply-To: <22851.1347992668@critter.freebsd.dk> Message-ID: References: <22851.1347992668@critter.freebsd.dk> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Gm-Message-State: ALoCoQlXweOyInB1TNpZrFa4Bq2dL6GdPZYNjm0uvulzIowYqJKk2IZea8A+1PZX0zw5Nei/38Az Cc: Konstantin Belousov , attilio@freebsd.org, freebsd-arch@freebsd.org, arch@freebsd.org Subject: Re: Aliasing issue with TAILQ on ppc64 ? X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Sep 2012 19:01:10 -0000 On Tue, 18 Sep 2012, Poul-Henning Kamp wrote: > In message <201209181359.37965.jhb@freebsd.org>, John Baldwin writes: >> On Tuesday, September 18, 2012 1:03:21 pm Poul-Henning Kamp wrote: > >> Did you have -fno-strict-aliasing enabled in CFLAGS for your PPC64 build >> (assuming you had built with -O2 or higher)? > > I tried that, but it did not seem to make a difference. If you compile at low optimization levels I assume it goes away? Can you place asm volatile ("" ::: "memory"); between the two tailq macros with the same optimization level? This should prevent gcc from caching anything in registers regardless of the optimization level and would tell us if it's doing something bad. Thanks, Jeff > > -- > Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 > phk@FreeBSD.ORG | TCP/IP since RFC 956 > FreeBSD committer | BSD since 4.3-tahoe > Never attribute to malice what can adequately be explained by incompetence. > _______________________________________________ > freebsd-arch@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arch > To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org" >